public class AssemFlowGraph extends FlowGraph
Constructor and Description |
---|
AssemFlowGraph(java.util.List<Instr> instrs)
This implementation builds a flowgraph node for every instruction.
|
Modifier and Type | Method and Description |
---|---|
Temp[] |
def(Node node)
The set of temporaries defined by this instruction or block
|
Instr |
instr(Node n) |
boolean |
isMove(Node node)
True if this node represents a move instruction,
i.e.
|
AssemNode |
newNode(Instr s) |
void |
show(java.io.PrintWriter out)
Print a human-readable dump for debugging.
|
Temp[] |
use(Node node)
The set of temporaries used by this instruction or block
|
public AssemFlowGraph(java.util.List<Instr> instrs)
public Temp[] def(Node node)
FlowGraph
public Temp[] use(Node node)
FlowGraph
public boolean isMove(Node node)
FlowGraph