|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--harpoon.Analysis.Quads.QuadInterferenceGraph
QuadInterferenceGraph
constructs a variable-liveness
interference graph from a Quad.Code
. There is an
edge between Temp
t1
and
Temp
t2
if t1
and
t2
are ever live at the same point.
QuadInterferenceGraph
is a Grapher
for Temp
s.
Constructor Summary | |
QuadInterferenceGraph(Code code)
Creates a QuadInterferenceGraph . |
|
QuadInterferenceGraph(Code code,
Liveness live)
|
Method Summary | |
boolean |
isEdge(Object from,
Object to)
|
List |
moves()
unimplemented. |
Set |
predSet(Object node)
|
int |
spillCost(Temp t)
unimplemented. |
Set |
succSet(Object node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuadInterferenceGraph(Code code)
QuadInterferenceGraph
.
public QuadInterferenceGraph(Code code, Liveness live)
Method Detail |
public int spillCost(Temp t)
spillCost
in interface InterferenceGraph
public List moves()
moves
in interface InterferenceGraph
public boolean isEdge(Object from, Object to)
isEdge
in interface Grapher
public Set succSet(Object node)
succSet
in interface Grapher
public Set predSet(Object node)
predSet
in interface Grapher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |