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.DebugCounter FULLY_UNROLLED_LOOPS;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
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.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.FULLY_UNROLLED_LOOPS:Lorg/graalvm/compiler/debug/DebugCounter;
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=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.hasLoops:()Z
ifeq 16
1: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 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: aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.detectedCountedLoops:()V
4: aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.countedLoops:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.graalvm.compiler.loop.phases.LoopFullUnrollPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext int org.graalvm.compiler.loop.LoopsData top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.loop.LoopEx
astore 5
start local 5 6: aload 0
invokevirtual org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.getPolicies:()Lorg/graalvm/compiler/loop/LoopPolicies;
aload 5
invokeinterface org.graalvm.compiler.loop.LoopPolicies.shouldFullUnroll:(Lorg/graalvm/compiler/loop/LoopEx;)Z
ifeq 13
7: ldc "FullUnroll %s"
aload 5
invokestatic org.graalvm.compiler.debug.Debug.log:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 5
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
9: getstatic org.graalvm.compiler.loop.phases.LoopFullUnrollPhase.FULLY_UNROLLED_LOOPS:Lorg/graalvm/compiler/debug/DebugCounter;
invokeinterface org.graalvm.compiler.debug.DebugCounter.increment:()V
10: iconst_2
aload 1
ldc "FullUnroll %s"
aload 5
invokestatic org.graalvm.compiler.debug.Debug.dump:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
11: iconst_1
istore 3
12: goto 14
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
14: StackMap locals: org.graalvm.compiler.loop.phases.LoopFullUnrollPhase org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.PhaseContext int org.graalvm.compiler.loop.LoopsData
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.loop.LoopsData.deleteUnusedNodes:()V
end local 4 15: iload 3
ifne 1
end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/loop/phases/LoopFullUnrollPhase;
0 17 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 17 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
2 16 3 peeled Z
3 15 4 dataCounted Lorg/graalvm/compiler/loop/LoopsData;
6 13 5 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"