public class org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase extends org.graalvm.compiler.phases.BasePhase<org.graalvm.compiler.phases.tiers.MidTierContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase
super_class: org.graalvm.compiler.phases.BasePhase
{
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/loop/phases/LoopSafepointEliminationPhase;
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.loop.phases.LoopSafepointEliminationPhase.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.BasePhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/phases/LoopSafepointEliminationPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.MidTierContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/MidTierContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.loop.LoopsData
dup
aload 1
invokespecial org.graalvm.compiler.loop.LoopsData.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 3
start local 3 1: aload 2
invokevirtual org.graalvm.compiler.phases.tiers.MidTierContext.getOptimisticOptimizations:()Lorg/graalvm/compiler/phases/OptimisticOptimizations;
invokevirtual org.graalvm.compiler.phases.OptimisticOptimizations.useLoopLimitChecks:()Z
ifeq 15
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getGuardsStage:()Lorg/graalvm/compiler/nodes/StructuredGraph$GuardsStage;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$GuardsStage.allowsFloatingGuards:()Z
ifeq 15
2: aload 3
invokevirtual org.graalvm.compiler.loop.LoopsData.detectedCountedLoops:()V
3: aload 3
invokevirtual org.graalvm.compiler.loop.LoopsData.countedLoops:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.loop.LoopEx
astore 4
start local 4 5: aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.loop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getChildren:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 14
aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.counted:()Lorg/graalvm/compiler/loop/CountedLoopInfo;
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.getStamp:()Lorg/graalvm/compiler/core/common/type/IntegerStamp;
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
bipush 32
if_icmpgt 14
6: iconst_0
istore 6
start local 6 7: aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.loopEnds:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 8
goto 10
StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator int top java.util.Iterator
StackMap stack:
8: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.LoopEndNode
astore 7
start local 7 9: iload 6
aload 7
invokevirtual org.graalvm.compiler.nodes.LoopEndNode.canSafepoint:()Z
ior
istore 6
end local 7 10: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: iload 6
ifeq 14
12: aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.counted:()Lorg/graalvm/compiler/loop/CountedLoopInfo;
invokevirtual org.graalvm.compiler.loop.CountedLoopInfo.createOverFlowGuard:()Lorg/graalvm/compiler/nodes/extended/GuardingNode;
pop
13: aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.disableSafepoint:()V
end local 6 end local 4 14: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
15: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.loop.LoopsData.loops:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 31
StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
16: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.loop.LoopEx
astore 4
start local 4 17: aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.loopEnds:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 7
goto 30
StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator top java.util.Iterator
StackMap stack:
18: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.LoopEndNode
astore 6
start local 6 19: aload 3
invokevirtual org.graalvm.compiler.loop.LoopsData.getCFG:()Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
aload 6
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.blockFor:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/nodes/cfg/Block;
astore 8
start local 8 20: goto 29
21: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator org.graalvm.compiler.nodes.LoopEndNode java.util.Iterator org.graalvm.compiler.nodes.cfg.Block
StackMap stack:
getstatic org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase.$assertionsDisabled:Z
ifne 22
aload 8
ifnonnull 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 8
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getNodes:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 27
StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator org.graalvm.compiler.nodes.LoopEndNode java.util.Iterator org.graalvm.compiler.nodes.cfg.Block top java.util.Iterator
StackMap stack:
23: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.FixedNode
astore 9
start local 9 24: aload 9
instanceof org.graalvm.compiler.nodes.Invoke
ifne 25
aload 9
instanceof org.graalvm.compiler.nodes.extended.ForeignCallNode
ifeq 27
aload 9
checkcast org.graalvm.compiler.nodes.extended.ForeignCallNode
invokevirtual org.graalvm.compiler.nodes.extended.ForeignCallNode.isGuaranteedSafepoint:()Z
ifeq 27
25: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator org.graalvm.compiler.nodes.LoopEndNode java.util.Iterator org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.FixedNode java.util.Iterator
StackMap stack:
aload 6
invokevirtual org.graalvm.compiler.nodes.LoopEndNode.disableSafepoint:()V
26: goto 30
end local 9 27: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator org.graalvm.compiler.nodes.LoopEndNode java.util.Iterator org.graalvm.compiler.nodes.cfg.Block top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
28: aload 8
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getDominator:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 8
29: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator org.graalvm.compiler.nodes.LoopEndNode java.util.Iterator org.graalvm.compiler.nodes.cfg.Block
StackMap stack:
aload 8
aload 4
invokevirtual org.graalvm.compiler.loop.LoopEx.loop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
if_acmpne 21
end local 8 end local 6 30: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData org.graalvm.compiler.loop.LoopEx java.util.Iterator top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
end local 4 31: StackMap locals: org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.MidTierContext org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
32: aload 3
invokevirtual org.graalvm.compiler.loop.LoopsData.deleteUnusedNodes:()V
33: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/graalvm/compiler/loop/phases/LoopSafepointEliminationPhase;
0 34 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 34 2 context Lorg/graalvm/compiler/phases/tiers/MidTierContext;
1 34 3 loops Lorg/graalvm/compiler/loop/LoopsData;
5 14 4 loop Lorg/graalvm/compiler/loop/LoopEx;
7 14 6 hasSafepoint Z
9 10 7 loopEnd Lorg/graalvm/compiler/nodes/LoopEndNode;
17 31 4 loop Lorg/graalvm/compiler/loop/LoopEx;
19 30 6 loopEnd Lorg/graalvm/compiler/nodes/LoopEndNode;
20 30 8 b Lorg/graalvm/compiler/nodes/cfg/Block;
24 27 9 node Lorg/graalvm/compiler/nodes/FixedNode;
MethodParameters:
Name Flags
graph
context
protected void run(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.phases.tiers.MidTierContext
invokevirtual org.graalvm.compiler.loop.phases.LoopSafepointEliminationPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/MidTierContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/phases/BasePhase<Lorg/graalvm/compiler/phases/tiers/MidTierContext;>;
SourceFile: "LoopSafepointEliminationPhase.java"
InnerClasses:
public final GuardsStage = org.graalvm.compiler.nodes.StructuredGraph$GuardsStage of org.graalvm.compiler.nodes.StructuredGraph