|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object | +--coins.ssa.CommonSubexpressionElimination
SSA based common subexpression elimination.
If the common subexpression is valid where in the other expressions,
this optimizer replace subexpressions which is used in the other expressions
into the temporary variable.
Also, the optimizer have Efficient Question Propagation (EQP). So, the
subexpression is not valid clearly, the optimizer propagates the question,
"Is it valid subexpression?," to the predecessors.
| フィールドの概要 | |
static int |
THR
The threshold of debug print |
| コンストラクタの概要 | |
CommonSubexpressionElimination(SsaEnvironment e)
Constructor. |
|
| メソッドの概要 | |
boolean |
doIt(Data data,
ImList args)
Transform the DATA component. |
boolean |
doIt(Function function,
ImList args)
Do SSA based common subexpression elimination to the current function. |
java.lang.String |
name()
Return the name of the transforming engine. |
java.lang.String |
subject()
Return brief description of the tranformation. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
public static final int THR
| コンストラクタの詳細 |
public CommonSubexpressionElimination(SsaEnvironment e)
e - The environment of the SSA module| メソッドの詳細 |
public boolean doIt(Data data,
ImList args)
LocalTransformer の記述:
LocalTransformer 内の doItdata - DATA to be transformed.args - list of optional arguments.
public java.lang.String name()
Transformer の記述:
Transformer 内の namepublic java.lang.String subject()
Transformer の記述:
Transformer 内の subject
public boolean doIt(Function function,
ImList args)
LocalTransformer 内の doItfunction - The current functionargs - The list of options
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||