|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGraph.Graph
FlowGraph.FlowGraph
FlowGraph.AssemFlowGraph
Constructor Summary | |
---|---|
AssemFlowGraph(Frame frame,
java.util.LinkedList<Instr> insns)
My implementation builds a flowgraph node for every instruction. |
Method Summary | |
---|---|
Temp[] |
def(AssemNode node)
The set of temporaries defined by this instruction or block |
Instr |
instr(AssemNode node)
|
boolean |
isMove(AssemNode node)
True if this node represents a move instruction, i.e. |
Temp[] |
use(AssemNode node)
The set of temporaries used by this instruction or block |
Methods inherited from class FlowGraph.FlowGraph |
---|
def, isMove, show, use |
Methods inherited from class Graph.Graph |
---|
addEdge, get, nodes, rmEdge, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssemFlowGraph(Frame frame, java.util.LinkedList<Instr> insns)
Method Detail |
---|
public Instr instr(AssemNode node)
public Temp[] def(AssemNode node)
FlowGraph
def
in class FlowGraph
public Temp[] use(AssemNode node)
FlowGraph
use
in class FlowGraph
public boolean isMove(AssemNode node)
FlowGraph
isMove
in class FlowGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |