|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ssa.DivideExpression
Divide expressions into 3 address expression.
| Field Summary | |
static java.lang.String |
DIVEX
The name of the symbol which the optimzer uses to make the temporary variables |
static int |
THR
The threshold of the debug print |
| Constructor Summary | |
DivideExpression(SsaEnvironment e,
SsaSymTab symtab)
Constructor |
|
| Method Summary | |
(package private) LirNode |
divide(LirNode node,
BiLink link,
boolean setSrc,
boolean setDst)
Divide the expression into 3 address expression recursively. |
boolean |
doIt(Data data,
ImList args)
Transform the DATA component. |
boolean |
doIt(Function f,
ImList args)
Divide the expressions into 3 address expression. |
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 java.lang.String DIVEX
| Constructor Detail |
public DivideExpression(SsaEnvironment e,
SsaSymTab symtab)
e - The environment of the SSA modulesymtab - The current symbol table| 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 f,
ImList args)
doIt in interface LocalTransformerf - The current functionargs - The list of options
LirNode divide(LirNode node,
BiLink link,
boolean setSrc,
boolean setDst)
node - The current LIR nodelink - The place where the new expression attachs tosetSrc - Whether the current LIR node is from the source operands
of the SET operatorsetDst - Whether the current LIR node is from the destination
operands of the SET operator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||