class StaticAnalysis.TypeFlowBuilder extends StatelessPostOrderNodeIterator
StatelessPostOrderNodeIterator
.Modifier and Type | Field and Description |
---|---|
private StructuredGraph |
graph |
private StaticAnalysis.MethodState |
methodState |
private NodeMap<StaticAnalysis.TypeFlow> |
typeFlows
Mapping from Graal nodes to type flows.
|
Modifier | Constructor and Description |
---|---|
protected |
TypeFlowBuilder(StructuredGraph graph) |
Modifier and Type | Method and Description |
---|---|
private void |
allocation(ValueNode node,
ResolvedJavaType type) |
void |
apply() |
private boolean |
isObject(ValueNode node) |
private StaticAnalysis.TypeFlow |
lookupFlow(ValueNode node)
Lookup the type flow node for a Graal node.
|
protected void |
node(FixedNode n) |
private void |
registerFlow(ValueNode node,
StaticAnalysis.TypeFlow flow)
Register the type flow node for a Graal node.
|
controlSplit, end, finished, loopBegin, loopEnd, merge
private final StructuredGraph graph
private final StaticAnalysis.MethodState methodState
private final NodeMap<StaticAnalysis.TypeFlow> typeFlows
collection class
.protected TypeFlowBuilder(StructuredGraph graph)
private void registerFlow(ValueNode node, StaticAnalysis.TypeFlow flow)
private StaticAnalysis.TypeFlow lookupFlow(ValueNode node)
public void apply()
apply
in class StatelessPostOrderNodeIterator
private void allocation(ValueNode node, ResolvedJavaType type)
protected void node(FixedNode n)
node
in class StatelessPostOrderNodeIterator