public class DepGraphNode extends SpaceEffGraphNode
SpaceEffGraphNode.GraphEdgeEnumeration<T extends GraphEdge>, SpaceEffGraphNode.OutEdgeEnumeration
Modifier and Type | Field and Description |
---|---|
Instruction |
_instr
Instruction that this node represents.
|
_inEdgeEnd, _inEdgeStart, _outEdgeEnd, _outEdgeStart, info, next, nextSorted, prev
Constructor and Description |
---|
DepGraphNode(Instruction instr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
insertOutEdge(DepGraphNode node,
int type)
Add an out edge from this node to the given node.
|
void |
insertRegTrueOutEdge(DepGraphNode node,
RegisterOperand op)
Add an out edge this node to the given node
because of a register true dependence of a given operand.
|
Instruction |
instruction()
Get the instruction this node represents.
|
String |
toString()
Returns the string representation of this node.
|
_sortDFS, _sortRevTop, _sortTop, append, appendInEdge, appendOutEdge, clearDfsVisited, clearFlags, clearInFlags, clearLoopHeader, clearOnStack, clearOutFlags, clearTopVisited, deleteIn, deleteOut, deleteOut, deleteOut, dfsVisited, findOutEdgeTo, firstInEdge, firstInNode, firstOutEdge, firstOutNode, flagsOn, getIndex, getNext, getNumber, getNumberOfIn, getNumberOfOut, getPrev, hasIn, hasOneIn, hasOneIn, hasOneOut, hasOneOut, hasOut, hasZeroIn, hasZeroOut, inEdges, inNodes, insertOut, insertOut, isLoopHeader, onStack, outEdges, outNodes, pointsIn, pointsOut, printExtended, printInEdges, printInNodes, printOutEdges, printOutNodes, remove, removeIn, removeIn, removeOut, removeOut, replaceInEdge, replaceOut, setDfsVisited, setDfsVisitedOnStack, setIndex, setLoopHeader, setNumber, setOnStack, setTopVisited, sortDFS, sortRevTop, sortTop, topVisited
public final Instruction _instr
public DepGraphNode(Instruction instr)
instr
- the instruction this node representspublic Instruction instruction()
public void insertOutEdge(DepGraphNode node, int type)
node
- destination node for the edgetype
- the type of the edge to addpublic void insertRegTrueOutEdge(DepGraphNode node, RegisterOperand op)
node
- destination node for the edgeop
- the operand of node that is defined by this edge