|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ssa.OperatorStrengthReduction
Operator Strength Reduction.
This optimizer do the operator strength reduction. Operator strength
reduction is a technique that improves compiler-generated code by
reformulating certain costly computations in terms of less expensive ones.
This optimizer use the SSA graph.
Refer:
Keith D. Cooper, L. Taylor Simpson, Christopher A. Vick,
"Operator Strength Reduction,"
ACM TOPLAS, Vol. 23, No. 5, pp. 603-625, September 2001.
フィールドの概要 | |
static int |
THR
The threshold of the debug print |
コンストラクタの概要 | |
OperatorStrengthReduction(SsaEnvironment e,
SsaSymTab symtab,
SsaGraph graph)
Constructor |
メソッドの概要 | |
boolean |
doIt(Data data,
ImList args)
Transform the DATA component. |
boolean |
doIt(Function function,
ImList args)
Do Operator Strength Reduction |
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 OperatorStrengthReduction(SsaEnvironment e, SsaSymTab symtab, SsaGraph graph)
e
- The environment of the SSA modulesymtab
- The current symbol table of the SSA modulegraph
- The current SSA graphメソッドの詳細 |
public boolean doIt(Data data, ImList args)
LocalTransformer
の記述:
LocalTransformer
内の doIt
data
- DATA to be transformed.args
- list of optional arguments.
public java.lang.String name()
Transformer
の記述:
Transformer
内の name
public java.lang.String subject()
Transformer
の記述:
Transformer
内の subject
public boolean doIt(Function function, ImList args)
LocalTransformer
内の doIt
function
- The current functionargs
- The list of options
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |