|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object | +--coins.ssa.DeadCodeElimination
Dead code elimination:
If the expressions which are never used or reached, then these expressions
are dead. This optimizer eliminate all dead expressions from the program.
| フィールドの概要 | |
static int |
THR
The threshold of the debug print |
| コンストラクタの概要 | |
DeadCodeElimination(SsaEnvironment e)
Constructor |
|
| メソッドの概要 | |
boolean |
doIt(Data data,
ImList args)
Transform the DATA component. |
boolean |
doIt(Function function,
ImList args)
Do dead code elimination. |
java.lang.String |
name()
Return the name of the transforming engine. |
(パッケージプライベート) boolean |
reachToAvailBlk(BasicBlk blk,
BiList visited)
If the basic block can be reached from the entrance of the current CFG, then return true. |
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 DeadCodeElimination(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
boolean reachToAvailBlk(BasicBlk blk,
BiList visited)
blk - The current basic blockvisited - The list of the basic blocks which are already visited
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||