public class LivenessAnalyzer
extends java.lang.Object
reg.v = regV
s = insn
M = visitedBlocks
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static InterferenceGraph constructInterferenceGraph(SsaMethod ssaMeth)
SsaBasicBlock instances and
returning an interference graph.ssaMeth - non-null; method to processnon-null; interference graph indexed by SSA
registers in both directionspublic void run()
Copyright © 2020. All Rights Reserved.