All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class FlowGraph.FlowGraph

java.lang.Object
   |
   +----Graph.Graph
           |
           +----FlowGraph.FlowGraph

public abstract class FlowGraph
extends Graph
A control flow graph is a directed graph in which each edge indicates a possible flow of control. Also, each node in the graph defines a set of temporaries; each node uses a set of temporaries; and each node is, or is not, a move instruction.

See Also:
AssemFlowGraph

Constructor Index

 o FlowGraph()

Method Index

 o def(Node)
The set of temporaries defined by this instruction or block
 o isMove(Node)
True if this node represents a move instruction, i.e.
 o show(PrintStream)
Print a human-readable dump for debugging.
 o use(Node)
The set of temporaries used by this instruction or block

Constructors

 o FlowGraph
 public FlowGraph()

Methods

 o def
 public abstract TempList def(Node node)
The set of temporaries defined by this instruction or block

 o use
 public abstract TempList use(Node node)
The set of temporaries used by this instruction or block

 o isMove
 public abstract boolean isMove(Node node)
True if this node represents a move instruction, i.e. one that can be deleted if def=use.

 o show
 public void show(PrintStream out)
Print a human-readable dump for debugging.

Overrides:
show in class Graph

All Packages  Class Hierarchy  This Package  Previous  Next  Index