All Packages Class Hierarchy This Package Previous Next Index
Class FlowGraph.AssemFlowGraph
java.lang.Object
|
+----Graph.Graph
|
+----FlowGraph.FlowGraph
|
+----FlowGraph.AssemFlowGraph
- public class AssemFlowGraph
- extends FlowGraph
AssemFlowGraph is an implementation of FlowGraph that constructs
a control flow graph based on a sequence of Assem instructions.
- See Also:
- Instr, FlowGraph
-
AssemFlowGraph(InstrList)
- Construct a FlowGraph from a list of Assem instructions.
-
def(Node)
- The set of temporaries defined by this instruction.
-
instr(Node)
- Get the instruction associated with this node of the graph.
-
isMove(Node)
- True if the instruction is a MOVE.
-
nodes()
- A special version of the nodes() method that always returns the
nodes ordered the same way as the list of instructions passed
to the AssemFlowGraph constructor function.
-
use(Node)
- The set of temporaries used by this instruction.
AssemFlowGraph
public AssemFlowGraph(InstrList instrs)
- Construct a FlowGraph from a list of Assem instructions.
instr
public Instr instr(Node n)
- Get the instruction associated with this node of the graph.
isMove
public boolean isMove(Node n)
- True if the instruction is a MOVE.
- Overrides:
- isMove in class FlowGraph
- See Also:
- MOVE
def
public TempList def(Node n)
- The set of temporaries defined by this instruction.
- Overrides:
- def in class FlowGraph
use
public TempList use(Node n)
- The set of temporaries used by this instruction.
- Overrides:
- use in class FlowGraph
nodes
public NodeList nodes()
- A special version of the nodes() method that always returns the
nodes ordered the same way as the list of instructions passed
to the AssemFlowGraph constructor function.
- Overrides:
- nodes in class Graph
All Packages Class Hierarchy This Package Previous Next Index