public class ValueGraph
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ValueGraph.Node |
protected static class |
ValueGraph.TypeValueWrapper |
Modifier and Type | Field and Description |
---|---|
protected int |
currentNodeNumber |
protected java.util.Map<Value,ValueGraph.Node> |
localToNode |
protected java.util.List<ValueGraph.Node> |
nodeList |
protected java.util.Map<ValueGraph.Node,Value> |
nodeToLocal |
Constructor and Description |
---|
ValueGraph(BlockGraph cfg) |
Modifier and Type | Method and Description |
---|---|
protected ValueGraph.Node |
fetchGraph(Value value) |
protected ValueGraph.Node |
fetchNode(Value value) |
Local |
getLocal(ValueGraph.Node node) |
ValueGraph.Node |
getNode(Value local) |
java.util.Collection<ValueGraph.Node> |
getTopNodes() |
protected void |
handleStmt(Stmt stmt) |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
protected java.util.Map<Value,ValueGraph.Node> localToNode
protected java.util.Map<ValueGraph.Node,Value> nodeToLocal
protected java.util.List<ValueGraph.Node> nodeList
protected int currentNodeNumber
public ValueGraph(BlockGraph cfg)
protected void handleStmt(Stmt stmt)
protected ValueGraph.Node fetchNode(Value value)
protected ValueGraph.Node fetchGraph(Value value)
public ValueGraph.Node getNode(Value local)
public java.util.Collection<ValueGraph.Node> getTopNodes()
public Local getLocal(ValueGraph.Node node)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)