|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ssa.BackTranslateFromSsa
The back translation from SSA form into normal form.
This class has three methods for the back translation.
Sreedhar's method I, II and III.
This class also has the SSA based coalescing module.
Reference:
Vugranam C. Sreedhar, Roy Dz-Ching Ju, David M. Gillies, Vatsa Santhanam,
"Translating Out of Static Single Assignment Form,"
SAS'99, LNCS 1694, pp.194-210, 1999.
| Field Summary | |
static java.lang.String |
BACK_TMP
The name of the symbol which the optimzer uses to make the temporary variables |
static int |
METHOD_I
Represent Sreedhar's Method I |
static int |
METHOD_II
Represent Sreedhar's Method II |
static int |
METHOD_III
Represent Sreedhar's Method III |
static int |
THR
The threshold of debug print |
static int |
THR2
The threshold of debug print |
static int |
THR3
The threshold of debug print |
| Constructor Summary | |
(package private) |
BackTranslateFromSsa(SsaEnvironment e,
SsaSymTab stab,
int howToTranslate,
boolean withCoalesce,
boolean aggr)
Constructor. |
| Method Summary | |
boolean |
doIt(Data data,
ImList args)
Transform the DATA component. |
boolean |
doIt(Function function,
ImList args)
Do Back translation from the SSA form. |
java.lang.String |
name()
Return the name of the transforming engine. |
java.lang.String |
subject()
Return brief description of the tranformation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int THR
public static final int THR2
public static final int THR3
public static final java.lang.String BACK_TMP
public static final int METHOD_I
public static final int METHOD_II
public static final int METHOD_III
| Constructor Detail |
BackTranslateFromSsa(SsaEnvironment e,
SsaSymTab stab,
int howToTranslate,
boolean withCoalesce,
boolean aggr)
e - The environment of the SSA modulestab - The current symbol table on SSA formhowToTranslate - Specify the translate methodwithCoalesce - Whether coalesce or not| Method Detail |
public boolean doIt(Data data,
ImList args)
LocalTransformer
doIt in interface LocalTransformerdata - DATA to be transformed.args - list of optional arguments.
public java.lang.String name()
Transformer
name in interface Transformerpublic java.lang.String subject()
Transformer
subject in interface Transformer
public boolean doIt(Function function,
ImList args)
doIt in interface LocalTransformerfunction - The current functionargs - The list of options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||