public class org.graalvm.compiler.loop.phases.LoopPeelingPhase extends org.graalvm.compiler.loop.phases.LoopPhase<org.graalvm.compiler.loop.LoopPolicies>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.loop.phases.LoopPeelingPhase
super_class: org.graalvm.compiler.loop.phases.LoopPhase
{
public static final org.graalvm.compiler.debug.CounterKey PEELED;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "Peeled"
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/CounterKey;
putstatic org.graalvm.compiler.loop.phases.LoopPeelingPhase.PEELED:Lorg/graalvm/compiler/debug/CounterKey;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.loop.LoopPolicies);
descriptor: (Lorg/graalvm/compiler/loop/LoopPolicies;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.graalvm.compiler.loop.phases.LoopPhase.<init>:(Lorg/graalvm/compiler/loop/LoopPolicies;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/loop/phases/LoopPeelingPhase;
0 2 1 policies Lorg/graalvm/compiler/loop/LoopPolicies;
MethodParameters:
Name Flags
policies
protected void run(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.spi.CoreProviders);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 1: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.hasLoops:()Z
ifeq 23
2: new org.graalvm.compiler.loop.LoopsData
dup
aload 1
invokespecial org.graalvm.compiler.loop.LoopsData.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 4
start local 4 3: aconst_null
astore 5
aconst_null
astore 6
4: aload 3
ldc "peeling"
aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.getCFG:()Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 7
start local 7 5: aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.outerFirst:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 13
StackMap locals: org.graalvm.compiler.loop.phases.LoopPeelingPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.loop.LoopsData java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope top java.util.Iterator
StackMap stack:
6: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.loop.LoopEx
astore 8
start local 8 7: aload 8
invokevirtual org.graalvm.compiler.loop.LoopEx.canDuplicateLoop:()Z
ifeq 13
aload 8
invokevirtual org.graalvm.compiler.loop.LoopEx.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokevirtual org.graalvm.compiler.nodes.LoopBeginNode.getLoopEndCount:()I
ifle 13
8: getstatic org.graalvm.compiler.loop.LoopPolicies$Options.PeelALot:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 9
aload 0
invokevirtual org.graalvm.compiler.loop.phases.LoopPeelingPhase.getPolicies:()Lorg/graalvm/compiler/loop/LoopPolicies;
aload 8
aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.getCFG:()Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.CoreProviders.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
invokeinterface org.graalvm.compiler.loop.LoopPolicies.shouldPeel:(Lorg/graalvm/compiler/loop/LoopEx;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;Ljdk/vm/ci/meta/MetaAccessProvider;)Z
ifeq 13
9: StackMap locals: org.graalvm.compiler.loop.phases.LoopPeelingPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.loop.LoopsData java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.loop.LoopEx java.util.Iterator
StackMap stack:
aload 3
ldc "Peeling %s"
aload 8
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
10: getstatic org.graalvm.compiler.loop.phases.LoopPeelingPhase.PEELED:Lorg/graalvm/compiler/debug/CounterKey;
aload 3
lconst_1
invokeinterface org.graalvm.compiler.debug.CounterKey.add:(Lorg/graalvm/compiler/debug/DebugContext;J)V
11: aload 8
invokestatic org.graalvm.compiler.loop.phases.LoopTransformations.peel:(Lorg/graalvm/compiler/loop/LoopEx;)V
12: aload 3
iconst_4
aload 1
ldc "Peeling %s"
aload 8
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
end local 8 13: StackMap locals: org.graalvm.compiler.loop.phases.LoopPeelingPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.loop.LoopsData java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.deleteUnusedNodes:()V
15: aload 7
ifnull 23
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 23
StackMap locals: org.graalvm.compiler.loop.phases.LoopPeelingPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.loop.LoopsData java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
16: astore 5
aload 7
ifnull 17
aload 7
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 7 StackMap locals:
StackMap stack:
17: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 6
aload 5
ifnonnull 19
aload 6
astore 5
goto 20
StackMap locals:
StackMap stack:
19: aload 5
aload 6
if_acmpeq 20
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 5
athrow
StackMap locals: org.graalvm.compiler.loop.phases.LoopPeelingPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.spi.CoreProviders org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.loop.LoopsData
StackMap stack: java.lang.Throwable
21: astore 5
start local 5 22: aload 3
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 end local 4 23: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/loop/phases/LoopPeelingPhase;
0 24 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 24 2 context Lorg/graalvm/compiler/nodes/spi/CoreProviders;
1 24 3 debug Lorg/graalvm/compiler/debug/DebugContext;
3 23 4 data Lorg/graalvm/compiler/loop/LoopsData;
5 17 7 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
7 13 8 loop Lorg/graalvm/compiler/loop/LoopEx;
22 23 5 t Ljava/lang/Throwable;
Exception table:
from to target type
5 15 16 any
4 18 18 any
3 21 21 Class java.lang.Throwable
MethodParameters:
Name Flags
graph
context
public float codeSizeIncrease();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc 5.0
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/phases/LoopPeelingPhase;
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.nodes.spi.CoreProviders
invokevirtual org.graalvm.compiler.loop.phases.LoopPeelingPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/spi/CoreProviders;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/loop/phases/LoopPhase<Lorg/graalvm/compiler/loop/LoopPolicies;>;
SourceFile: "LoopPeelingPhase.java"
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public Options = org.graalvm.compiler.loop.LoopPolicies$Options of org.graalvm.compiler.loop.LoopPolicies