public class org.graalvm.compiler.loop.phases.LoopFullUnrollPhase 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.LoopFullUnrollPhase
super_class: org.graalvm.compiler.loop.phases.LoopPhase
{
private static final org.graalvm.compiler.debug.CounterKey FULLY_UNROLLED_LOOPS;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.graalvm.compiler.phases.common.CanonicalizerPhase canonicalizer;
descriptor: Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "FullUnrolls"
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/CounterKey;
putstatic org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.FULLY_UNROLLED_LOOPS:Lorg/graalvm/compiler/debug/CounterKey;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.phases.common.CanonicalizerPhase, org.graalvm.compiler.loop.LoopPolicies);
descriptor: (Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/loop/LoopPolicies;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial org.graalvm.compiler.loop.phases.LoopPhase.<init>:(Lorg/graalvm/compiler/loop/LoopPolicies;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.canonicalizer:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/loop/phases/LoopFullUnrollPhase;
0 3 1 canonicalizer Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
0 3 2 policies Lorg/graalvm/compiler/loop/LoopPolicies;
MethodParameters:
Name Flags
canonicalizer
policies
protected void run(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.phases.tiers.PhaseContext);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, 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 17
2: StackMap locals: org.graalvm.compiler.debug.DebugContext
StackMap stack:
iconst_0
istore 4
start local 4 3: new org.graalvm.compiler.loop.LoopsData
dup
aload 1
invokespecial org.graalvm.compiler.loop.LoopsData.<init>:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
astore 5
start local 5 4: aload 5
invokevirtual org.graalvm.compiler.loop.LoopsData.detectedCountedLoops:()V
5: aload 5
invokevirtual org.graalvm.compiler.loop.LoopsData.countedLoops:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.graalvm.compiler.loop.phases.LoopFullUnrollPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.loop.LoopEx
astore 6
start local 6 7: aload 0
invokevirtual org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.getPolicies:()Lorg/graalvm/compiler/loop/LoopPolicies;
aload 6
invokeinterface org.graalvm.compiler.loop.LoopPolicies.shouldFullUnroll:(Lorg/graalvm/compiler/loop/LoopEx;)Z
ifeq 14
8: aload 3
ldc "FullUnroll %s"
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
9: aload 6
aload 2
aload 0
getfield org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.canonicalizer:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
invokestatic org.graalvm.compiler.loop.phases.LoopTransformations.fullUnroll:(Lorg/graalvm/compiler/loop/LoopEx;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)V
10: getstatic org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.FULLY_UNROLLED_LOOPS:Lorg/graalvm/compiler/debug/CounterKey;
aload 3
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
11: aload 3
iconst_4
aload 1
ldc "FullUnroll %s"
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
12: iconst_1
istore 4
13: goto 15
end local 6 14: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
15: StackMap locals: org.graalvm.compiler.loop.phases.LoopFullUnrollPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext org.graalvm.compiler.debug.DebugContext int org.graalvm.compiler.loop.LoopsData
StackMap stack:
aload 5
invokevirtual org.graalvm.compiler.loop.LoopsData.deleteUnusedNodes:()V
end local 5 16: iload 4
ifne 2
end local 4 17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/loop/phases/LoopFullUnrollPhase;
0 18 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 18 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
1 18 3 debug Lorg/graalvm/compiler/debug/DebugContext;
3 17 4 peeled Z
4 16 5 dataCounted Lorg/graalvm/compiler/loop/LoopsData;
7 14 6 loop Lorg/graalvm/compiler/loop/LoopEx;
MethodParameters:
Name Flags
graph
context
public boolean checkContract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/phases/LoopFullUnrollPhase;
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.PhaseContext
invokevirtual org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.run:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/loop/phases/LoopPhase<Lorg/graalvm/compiler/loop/LoopPolicies;>;
SourceFile: "LoopFullUnrollPhase.java"