coins.opt
クラス ConstPropagationAndFolding

java.lang.Object
  |
  +--coins.opt.ConstPropagationAndFolding
直系の既知のサブクラス:
ConstPropagationAndFoldingHir

public class ConstPropagationAndFolding
extends java.lang.Object

Constant propagation and folding basic logic class. Excluded cases: Use point has multiple definition points Not included in DefIn (may be undefined) Node to which value is to be set Operand of address expression Node having no symbol Vector or structure variable Address taken variable Type of expression differs with the type of constant float/double variable Direct child of SwitchStmt (switch selector) Node generated by previous optimization (before finishHir()) Node already replaced ExpId is not allocated (not an expression)


フィールドの概要
protected  DataFlow fDataFlow
           
protected  int fDbgLevel
           
 FlowRoot flowRoot
           
(パッケージプライベート)  FlowResults fResults
           
 SubpFlow fSubpFlow
           
protected  UseDefList fUDList
           
(パッケージプライベート) static int JAVA_BYTE_SIZE
           
(パッケージプライベート) static int JAVA_CHAR_SIZE
           
(パッケージプライベート) static int JAVA_INT_SIZE
           
(パッケージプライベート) static int JAVA_LONG_SIZE
           
(パッケージプライベート) static int JAVA_SHORT_SIZE
           
 Opt opt
           
 Sym sym
           
 SymRoot symRoot
           
 
コンストラクタの概要
ConstPropagationAndFolding(FlowResults pResults)
          ConstPropagationAndFolding
 
メソッドの概要
protected  boolean doBBlock(BBlock pBBlock, java.util.Set pReplacedNodes)
          doBBlock
 boolean doSubp(SubpFlow pSubpFlow)
          doSubp
(パッケージプライベート)  HIR SkipConv(HIR exp)
          ex) expression :p = (int) a; exp := (int) [node] return ; a [node] ;
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

JAVA_BYTE_SIZE

static final int JAVA_BYTE_SIZE
関連項目:
定数フィールド値

JAVA_CHAR_SIZE

static final int JAVA_CHAR_SIZE
関連項目:
定数フィールド値

JAVA_SHORT_SIZE

static final int JAVA_SHORT_SIZE
関連項目:
定数フィールド値

JAVA_INT_SIZE

static final int JAVA_INT_SIZE
関連項目:
定数フィールド値

JAVA_LONG_SIZE

static final int JAVA_LONG_SIZE
関連項目:
定数フィールド値

flowRoot

public final FlowRoot flowRoot

symRoot

public final SymRoot symRoot

sym

public final Sym sym

fResults

FlowResults fResults

opt

public final Opt opt

fSubpFlow

public final SubpFlow fSubpFlow

fUDList

protected UseDefList fUDList

fDataFlow

protected DataFlow fDataFlow

fDbgLevel

protected final int fDbgLevel
コンストラクタの詳細

ConstPropagationAndFolding

public ConstPropagationAndFolding(FlowResults pResults)
ConstPropagationAndFolding

メソッドの詳細

SkipConv

HIR SkipConv(HIR exp)
ex) expression :p = (int) a; exp := (int) [node] return ; a [node] ;


doSubp

public boolean doSubp(SubpFlow pSubpFlow)
doSubp


doBBlock

protected boolean doBBlock(BBlock pBBlock,
                           java.util.Set pReplacedNodes)
doBBlock