|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.ssa.back.LivenessAnalyzer
public class LivenessAnalyzer
From Appel "Modern Compiler Implementation in Java" algorithm 19.17
Calculate the live ranges for register reg.
v = regV
s = insn
M = visitedBlocks
| Method Summary | |
|---|---|
static InterferenceGraph |
constructInterferenceGraph(SsaMethod ssaMeth)
Runs register liveness algorithm for a method, updating the live in/out information in SsaBasicBlock instances and
returning an interference graph. |
void |
run()
From Appel algorithm 19.17. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static InterferenceGraph constructInterferenceGraph(SsaMethod ssaMeth)
SsaBasicBlock instances and
returning an interference graph.
ssaMeth - non-null; method to process
non-null; interference graph indexed by SSA
registers in both directionspublic void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||