coins.opt
クラス ConstFolding
java.lang.Object
|
+--coins.opt.ConstFolding
- 直系の既知のサブクラス:
- ConstFoldingHir
- public class ConstFolding
- extends java.lang.Object
Constant folding basic logic class.
メソッドの概要 |
boolean |
doBBlock(BBlock pBBlock)
Performs constant folding for the given BBlock |
boolean |
doSubp(SubpFlow pSubpFlow)
Performs constant folding for the subprogram that corresponds to the given SubpFlow. |
クラス 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
fResults
FlowResults fResults
fSubpFlow
protected SubpFlow fSubpFlow
ConstFolding
public ConstFolding(FlowResults pResults)
- ConstFolding
Creates new ConstFolding
doSubp
public boolean doSubp(SubpFlow pSubpFlow)
- Performs constant folding for the subprogram that corresponds to the given SubpFlow.
- 戻り値:
- true if the subprogram changed (optimized).
doBBlock
public boolean doBBlock(BBlock pBBlock)
- Performs constant folding for the given BBlock
- 戻り値:
- true if the underlying IR changed (optimized).