public final class org.graalvm.compiler.phases.util.GraphOrder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.phases.util.GraphOrder
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/phases/util/GraphOrder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.phases.util.GraphOrder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/util/GraphOrder;
public static boolean assertNonCyclicGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.phases.util.GraphOrder.createOrder:(Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljava/util/List;
astore 1
start local 1 1: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.clearAll:()V
3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.util.List org.graalvm.compiler.graph.NodeBitMap top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 5: aload 3
instanceof org.graalvm.compiler.nodes.PhiNode
ifeq 7
aload 3
checkcast org.graalvm.compiler.nodes.PhiNode
invokevirtual org.graalvm.compiler.nodes.PhiNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
instanceof org.graalvm.compiler.nodes.LoopBeginNode
ifeq 7
6: getstatic org.graalvm.compiler.phases.util.GraphOrder.$assertionsDisabled:Z
ifne 13
aload 2
aload 3
checkcast org.graalvm.compiler.nodes.PhiNode
iconst_0
invokevirtual org.graalvm.compiler.nodes.PhiNode.valueAt:(I)Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 13
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.util.List org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.graph.Node.inputs:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.util.List org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node java.util.Iterator top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 5
start local 5 9: aload 2
aload 5
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 12
10: aload 5
instanceof org.graalvm.compiler.nodes.FrameState
ifne 12
11: getstatic org.graalvm.compiler.phases.util.GraphOrder.$assertionsDisabled:Z
ifne 12
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "unexpected cycle detected at input "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.util.List org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 2
aload 3
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
end local 3 14: StackMap locals: org.graalvm.compiler.nodes.StructuredGraph java.util.List org.graalvm.compiler.graph.NodeBitMap top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
15: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 16 1 order Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;
2 16 2 visited Lorg/graalvm/compiler/graph/NodeBitMap;
5 14 3 node Lorg/graalvm/compiler/graph/Node;
9 12 5 input Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
graph
private static java.util.List<org.graalvm.compiler.graph.Node> createOrder(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
astore 2
start local 2 2: new org.graalvm.compiler.phases.util.GraphOrder$1
dup
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.start:()Lorg/graalvm/compiler/nodes/StartNode;
aload 1
aload 2
invokespecial org.graalvm.compiler.phases.util.GraphOrder$1.<init>:(Lorg/graalvm/compiler/nodes/FixedNode;Ljava/util/ArrayList;Lorg/graalvm/compiler/graph/NodeBitMap;)V
3: invokevirtual org.graalvm.compiler.phases.util.GraphOrder$1.apply:()V
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 5 1 nodes Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
2 5 2 visited Lorg/graalvm/compiler/graph/NodeBitMap;
Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;
MethodParameters:
Name Flags
graph
private static void visitForward(java.util.ArrayList<org.graalvm.compiler.graph.Node>, org.graalvm.compiler.graph.NodeBitMap, org.graalvm.compiler.graph.Node, );
descriptor: (Ljava/util/ArrayList;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/Node;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.phases.util.GraphOrder.$assertionsDisabled:Z
ifne 1
aload 2
ifnull 1
aload 2
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifne 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not alive"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 2
ifnull 31
aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 31
2: iload 3
ifeq 4
aload 2
instanceof org.graalvm.compiler.nodes.FixedNode
ifeq 4
3: new org.graalvm.compiler.debug.GraalError
dup
ldc "unexpected reference to fixed node: %s (this indicates an unexpected cycle)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
5: aconst_null
astore 4
start local 4 6: aload 2
instanceof org.graalvm.compiler.nodes.StateSplit
ifeq 8
7: aload 2
checkcast org.graalvm.compiler.nodes.StateSplit
invokeinterface org.graalvm.compiler.nodes.StateSplit.stateAfter:()Lorg/graalvm/compiler/nodes/FrameState;
astore 4
8: StackMap locals: org.graalvm.compiler.nodes.FrameState
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.graph.Node.inputs:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: java.util.ArrayList org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node int org.graalvm.compiler.nodes.FrameState top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 5
start local 5 10: aload 5
aload 4
if_acmpeq 12
11: aload 0
aload 1
aload 5
iconst_1
invokestatic org.graalvm.compiler.phases.util.GraphOrder.visitForward:(Ljava/util/ArrayList;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/Node;Z)V
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: aload 2
instanceof org.graalvm.compiler.nodes.EndNode
ifeq 19
14: aload 2
checkcast org.graalvm.compiler.nodes.EndNode
astore 5
start local 5 15: aload 5
invokevirtual org.graalvm.compiler.nodes.EndNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 7
goto 18
StackMap locals: java.util.ArrayList org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node int org.graalvm.compiler.nodes.FrameState org.graalvm.compiler.nodes.EndNode top java.util.Iterator
StackMap stack:
16: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.PhiNode
astore 6
start local 6 17: aload 0
aload 1
aload 6
aload 5
invokevirtual org.graalvm.compiler.nodes.PhiNode.valueAt:(Lorg/graalvm/compiler/nodes/AbstractEndNode;)Lorg/graalvm/compiler/nodes/ValueNode;
iconst_1
invokestatic org.graalvm.compiler.phases.util.GraphOrder.visitForward:(Ljava/util/ArrayList;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/Node;Z)V
end local 6 18: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 5 19: StackMap locals: java.util.ArrayList org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node int org.graalvm.compiler.nodes.FrameState
StackMap stack:
aload 0
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
20: aload 2
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifeq 26
21: aload 2
checkcast org.graalvm.compiler.nodes.AbstractMergeNode
invokevirtual org.graalvm.compiler.nodes.AbstractMergeNode.phis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 6
goto 25
StackMap locals: java.util.ArrayList org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node int org.graalvm.compiler.nodes.FrameState top java.util.Iterator
StackMap stack:
22: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.PhiNode
astore 5
start local 5 23: aload 1
aload 5
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
24: aload 0
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 25: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
26: StackMap locals: java.util.ArrayList org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node int org.graalvm.compiler.nodes.FrameState
StackMap stack:
aload 4
ifnull 31
27: aload 0
aload 1
aload 4
iconst_1
invokestatic org.graalvm.compiler.phases.util.GraphOrder.visitForward:(Ljava/util/ArrayList;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/Node;Z)V
end local 4 28: goto 31
StackMap locals: java.util.ArrayList org.graalvm.compiler.graph.NodeBitMap org.graalvm.compiler.graph.Node int
StackMap stack: org.graalvm.compiler.debug.GraalError
29: astore 4
start local 4 30: aload 4
aload 2
invokestatic org.graalvm.compiler.graph.GraalGraphError.transformAndAddContext:(Lorg/graalvm/compiler/debug/GraalError;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/GraalGraphError;
athrow
end local 4 31: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 nodes Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
0 32 1 visited Lorg/graalvm/compiler/graph/NodeBitMap;
0 32 2 node Lorg/graalvm/compiler/graph/Node;
0 32 3 floatingOnly Z
6 28 4 stateAfter Lorg/graalvm/compiler/nodes/FrameState;
10 12 5 input Lorg/graalvm/compiler/graph/Node;
15 19 5 end Lorg/graalvm/compiler/nodes/EndNode;
17 18 6 phi Lorg/graalvm/compiler/nodes/PhiNode;
23 25 5 phi Lorg/graalvm/compiler/nodes/PhiNode;
30 31 4 e Lorg/graalvm/compiler/debug/GraalError;
Exception table:
from to target type
0 28 29 Class org.graalvm.compiler.debug.GraalError
Signature: (Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;Lorg/graalvm/compiler/graph/NodeBitMap;Lorg/graalvm/compiler/graph/Node;Z)V
MethodParameters:
Name Flags
nodes
visited
node
floatingOnly
public static boolean assertSchedulableGraph(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic org.graalvm.compiler.phases.util.GraphOrder.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
getstatic org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.AFTER_FSA:Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
if_acmpne 1
new java.lang.AssertionError
dup
ldc "Cannot use the BlockIteratorClosure after FrameState Assignment, HIR Loop Data Structures are no longer valid."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.phases.schedule.SchedulePhase
dup
getstatic org.graalvm.compiler.phases.schedule.SchedulePhase$SchedulingStrategy.LATEST_OUT_OF_LOOPS:Lorg/graalvm/compiler/phases/schedule/SchedulePhase$SchedulingStrategy;
iconst_1
invokespecial org.graalvm.compiler.phases.schedule.SchedulePhase.<init>:(Lorg/graalvm/compiler/phases/schedule/SchedulePhase$SchedulingStrategy;Z)V
astore 1
start local 1 2: getstatic org.graalvm.util.Equivalence.IDENTITY:Lorg/graalvm/util/Equivalence;
invokestatic org.graalvm.util.EconomicMap.create:(Lorg/graalvm/util/Equivalence;)Lorg/graalvm/util/EconomicMap;
astore 2
start local 2 3: aload 1
aload 0
iconst_0
invokevirtual org.graalvm.compiler.phases.schedule.SchedulePhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Z)V
4: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getLastSchedule:()Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
astore 3
start local 3 5: new org.graalvm.compiler.phases.util.GraphOrder$2
dup
aload 0
aload 2
invokespecial org.graalvm.compiler.phases.util.GraphOrder$2.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/util/EconomicMap;)V
astore 4
start local 4 6: aload 4
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getCFG:()Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getStartBlock:()Lorg/graalvm/compiler/nodes/cfg/Block;
invokestatic org.graalvm.compiler.phases.graph.ReentrantBlockIterator.apply:(Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$BlockIteratorClosure;Lorg/graalvm/compiler/nodes/cfg/Block;)V
end local 4 end local 3 end local 2 end local 1 7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 1
start local 1 9: aload 0
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
pop
end local 1 10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 7 1 schedulePhase Lorg/graalvm/compiler/phases/schedule/SchedulePhase;
3 7 2 loopEntryStates Lorg/graalvm/util/EconomicMap<Lorg/graalvm/compiler/nodes/LoopBeginNode;Lorg/graalvm/compiler/graph/NodeBitMap;>;
5 7 3 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
6 7 4 closure Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$BlockIteratorClosure<Lorg/graalvm/compiler/graph/NodeBitMap;>;
9 10 1 t Ljava/lang/Throwable;
Exception table:
from to target type
1 7 8 Class java.lang.Throwable
MethodParameters:
Name Flags
graph final
}
SourceFile: "GraphOrder.java"
NestMembers:
org.graalvm.compiler.phases.util.GraphOrder$1 org.graalvm.compiler.phases.util.GraphOrder$2 org.graalvm.compiler.phases.util.GraphOrder$2$1 org.graalvm.compiler.phases.util.GraphOrder$2$2 org.graalvm.compiler.phases.util.GraphOrder$2$3
InnerClasses:
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph
public abstract BlockIteratorClosure = org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure of org.graalvm.compiler.phases.graph.ReentrantBlockIterator
public final SchedulingStrategy = org.graalvm.compiler.phases.schedule.SchedulePhase$SchedulingStrategy of org.graalvm.compiler.phases.schedule.SchedulePhase
org.graalvm.compiler.phases.util.GraphOrder$1
org.graalvm.compiler.phases.util.GraphOrder$2