|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Analysis.Quads.QuadInterferenceGraph
public class 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<Quad> live)
|
Method Summary | |
---|---|
boolean |
isEdge(Temp from,
Temp to)
|
List<HCodeElement> |
moves()
unimplemented. |
Set<Temp> |
predSet(Temp node)
|
int |
spillCost(Temp t)
unimplemented. |
Set<Temp> |
succSet(Temp 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<Quad> live)
Method Detail |
---|
public int spillCost(Temp t)
spillCost
in interface InterferenceGraph
public List<HCodeElement> moves()
moves
in interface InterferenceGraph
public boolean isEdge(Temp from, Temp to)
isEdge
in interface Grapher<Temp>
public Set<Temp> succSet(Temp node)
succSet
in interface Grapher<Temp>
public Set<Temp> predSet(Temp node)
predSet
in interface Grapher<Temp>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |