|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ssa.Util
Utilities for the SSA module
| Constructor Summary | |
(package private) |
Util(SsaEnvironment e,
Function function)
Constructor |
| Method Summary | |
(package private) void |
changeLabelRef(boolean isTranslate)
Change the LabelRef node into the SSA specified ones. |
(package private) BiList |
findTargetLir(LirNode root,
int opCode,
BiList l)
Search and find the LIR nodes which has the specified operation code. |
(package private) LirNode |
makeNewJump(BasicBlk blk,
LirLabelRef labelRef)
Make a new JUMP node to the specified label. |
(package private) LirNode |
makePhiInst(Symbol s,
BasicBlk blk)
Make a new Phi instruction. |
(package private) BiList |
predEdges(BasicBlk blk,
boolean getPredBlk)
Collect the edges from the predecessors or predecessors themselves. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Util(SsaEnvironment e,
Function function)
e - The environment of the SSA modulefunction - The current function| Method Detail |
LirNode makeNewJump(BasicBlk blk,
LirLabelRef labelRef)
blk - The basic block which the new JUMP node put inlabelRef - The label which the new JUMP node go to
BiList findTargetLir(LirNode root,
int opCode,
BiList l)
root - The root node of the searchopCode - The specified operation codel - The list which is stored in the found LIR node
void changeLabelRef(boolean isTranslate)
isTranslate - True if the translation is for the specified ones
BiList predEdges(BasicBlk blk,
boolean getPredBlk)
blk - The current basic blkgetPredBlk - True means to collect predecessors
LirNode makePhiInst(Symbol s,
BasicBlk blk)
s - The specified symbolblk - The basic block which the new phi instruction is inserted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||