|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.ssa.MemoryAliasAnalyze
Analyze the aliases of memory object.
The SSA module have a preliminary alias analysis.
This alias analyze regard the whole memory place as a single object.
Therefore, any stores to the memory make it dirty.
The SSA module translate the single memory object to SSA form.
The way to translate is the same as for abstract registers. But the phi
functions are not inserted. On the marge point of the control flow,
the compiler make a new name for the single memory object.
| Field Summary | |
boolean[] |
offset
Number of the count about assignment to the memory object |
static int |
THR
The threshold of the debug print |
| Constructor Summary | |
(package private) |
MemoryAliasAnalyze(SsaEnvironment e,
Function function)
Constructor |
| Method Summary | |
(package private) void |
annul()
Annuling the information about the alias analysis from all the memory object. |
(package private) long |
blkRank(BasicBlk blk)
Return the rank of the specified basic block. |
(package private) long |
callThreshold(LirNode call)
Return the threshold of the CALL node. |
| 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 boolean[] offset
| Constructor Detail |
MemoryAliasAnalyze(SsaEnvironment e,
Function function)
e - The environment of the SSA modulefunction - The current function| Method Detail |
long blkRank(BasicBlk blk)
blk - The specified basic block
long callThreshold(LirNode call)
call - The current CALL node
void annul()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||