|
Stanse
-1
|


Classes | |
| class | EdgeLabel |
| class | Operand |
| enum | OperandType |
Public Member Functions | |
| CFGNode () | |
| CFGNode (Element e, String code) | |
| CFGNode (Element e) | |
| int | getNumber () |
| String | getCode () |
| Element | getElement () |
| void | setLocation (File file, int line, int column) |
| boolean | hasLocation () |
| File | getFile () |
| final int | getColumn () |
| final int | getLine () |
| boolean | isVisible () |
| void | setVisible (boolean value) |
| Set< String > | getDependentVars () |
| List< CFGNode > | getPredecessors () |
| List< CFGNode > | getSuccessors () |
| List< CFGNode > | getOptPredecessors () |
| List< CFGNode > | getOptSuccessors () |
| List< Operand > | getOperands () |
| void | setOperands (List< Operand > operands) |
| void | addOperand (OperandType type, Object id) |
| String | getNodeType () |
| void | setNodeType (String nodeType) |
| void | addEdge (CFGNode to) |
| void | addEdge (CFGNode to, Object label) |
| void | addEdge (CFGNode to, int edgeIndex, Object label) |
| Object | getEdgeLabel (int edge) |
| void | addOptEdge (CFGNode to) |
| void | replaceEdge (CFGNode oldTo, CFGNode newTo) |
| void | replaceOptEdge (CFGNode oldTo, CFGNode newTo) |
| void | drop () |
| boolean | equals (Object obj) |
| int | hashCode () |
| String | toString () |
Static Public Member Functions | |
| static Set< String > | getDependentVars (Operand op) |
Protected Member Functions | |
| void | addPred (CFGNode pred) |
| void | removeSucc (int index) |
Represents a node in control-flow graph (class ControlFlowGraph in this package)
|
inline |
Creates a new instance of CFGNode
|
inline |
Creates a new instance of CFGNode
| e | element to assign to this node |
| code | corresponding (original) code |
|
inline |
Creates a new instance of CFGNode
| e | element to assign to this node |
|
inline |
Adds an edge between two nodes
| to | which node to add the edge to |
|
inline |
Adds an edge between two nodes
| to | which node to add the edge to |
|
inline |
Adds an edge between two nodes
| to | which node to add the edge to |
|
inline |
|
inline |
Adds an optimized edge between two nodes (is in code, not in CFG)
| to | which node to add the edge to |
|
inlineprotected |
Adds the node to the predecessors
| pred | new predecessor |
|
inline |
|
inline |
|
inline |
Get element corresponding to this node
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Get label of a branch edge indexed from 0
| edge | edge index |
|
inline |
Get element corresponding to this node
|
inline |
|
inline |
|
inline |
|
inline |
Get unique node number
|
inline |
|
inline |
Get all predecessors of the node
|
inline |
Get all successors of the node
|
inline |
Get all predecessors of the node
|
inline |
Get all successors of the node
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Removes the node from the successors
| index | the index of the element to be removed |
Replaces an edge between two nodes with a new edge
| oldTo | which node to replace |
| newTo | which node use as a replacement |
Replaces an edge between two nodes with a new edge
| oldTo | which node to replace |
| newTo | which node use as a replacement |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.6