|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.backend.sched.DependNode
LirNode with several information for dependency and scheduling.
| Field Summary | |
(package private) BiList |
beDepended
|
(package private) static int |
counter
|
(package private) boolean |
dependMark
|
(package private) BiList |
dependOn
|
(package private) BiList |
falseDependOn
|
(package private) boolean |
hasDelaySlot
Flag indicates that this node has delayed-operation slot. |
(package private) BiList |
input
|
(package private) LirNode |
instr
|
(package private) static int |
LAST_TIME
|
(package private) int |
latency
|
(package private) LirNodeInf |
lirInf
|
(package private) int |
machineCodeSize
|
(package private) int |
number
|
(package private) BiList |
output
|
(package private) int |
pathLength
|
(package private) int |
scheduleTime
|
(package private) BiList |
trueDependOn
|
(package private) boolean |
visited
|
| Constructor Summary | |
DependNode(LirNode ln,
Schedule schedule)
|
|
| Method Summary | |
int |
compareTo(java.lang.Object dn)
|
(package private) boolean |
contains(BiList bl,
LirNode ln)
return true if bl contains ln. |
boolean |
deleteDepend(DependNode dn)
Delete dependent information from true/false-DependOn and set schedule time. |
(package private) BiList |
dependOn(BiList list)
Return the list of DependNodes on which this node depends directly or indirectly |
(package private) boolean |
dependOn(DependNode dn)
Return true if this DependNode depends on dn, and add this to dn.beDepended. |
(package private) LirNode |
getCalleeReg()
Return callee register. |
boolean |
hasDelaySlot()
|
boolean |
isCall()
|
void |
letHaveDelaySlot()
|
(package private) void |
mark()
Mark the DependNodes on which this node depends directly or indirectly |
(package private) int |
pathLength()
Returns the maximum path length from this node. |
(package private) int |
scheduleTimeDcr()
return scheduleTime and post-devrement it |
(package private) void |
setLatency(int cost)
|
(package private) void |
setMachineCodeSize(int size)
|
(package private) DependNode |
setScheduleTime(int n)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final int LAST_TIME
static int counter
int number
BiList trueDependOn
BiList falseDependOn
BiList dependOn
BiList beDepended
LirNode instr
LirNodeInf lirInf
BiList input
BiList output
int latency
int scheduleTime
boolean visited
boolean dependMark
int pathLength
int machineCodeSize
boolean hasDelaySlot
| Constructor Detail |
public DependNode(LirNode ln,
Schedule schedule)
| Method Detail |
public int compareTo(java.lang.Object dn)
compareTo in interface java.lang.Comparablevoid setMachineCodeSize(int size)
void setLatency(int cost)
public void letHaveDelaySlot()
public boolean hasDelaySlot()
DependNode setScheduleTime(int n)
int scheduleTimeDcr()
boolean dependOn(DependNode dn)
dn -
BiList dependOn(BiList list)
void mark()
public boolean deleteDepend(DependNode dn)
dn -
public boolean isCall()
LirNode getCalleeReg()
boolean contains(BiList bl,
LirNode ln)
bl - list of LirNodeln - LirNode (register node or MEM)
int pathLength()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||