final class org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator extends org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase<org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator
super_class: org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase
{
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/lir/alloc/trace/TrivialTraceAllocator;
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.lir.alloc.trace.TrivialTraceAllocator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/TrivialTraceAllocator;
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.core.common.alloc.Trace, org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/core/common/alloc/Trace;Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 5
start local 5 1: aload 4
getfield org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.resultTraces:Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
astore 6
start local 6 2: getstatic org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator.$assertionsDisabled:Z
ifne 3
aload 5
aload 3
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.isTrivialTrace:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/alloc/Trace;)Z
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Not a trivial trace! "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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
3: StackMap locals: org.graalvm.compiler.lir.LIR org.graalvm.compiler.core.common.alloc.TraceBuilderResult
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.core.common.alloc.Trace.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
iconst_0
aaload
astore 7
start local 7 4: aload 6
aload 7
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.getBestTraceInterPredecessor:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 8
start local 8 5: aload 5
invokevirtual org.graalvm.compiler.lir.LIR.numVariables:()I
anewarray jdk.vm.ci.meta.Value
astore 9
start local 9 6: aload 4
getfield org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.livenessInfo:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
astore 10
start local 10 7: aload 7
aload 8
aload 10
aload 9
invokestatic org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator.collectMapping:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;[Ljdk/vm/ci/meta/Value;)V
8: aload 5
aload 7
aload 10
aload 9
invokestatic org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator.assignLocations:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;[Ljdk/vm/ci/meta/Value;)V
9: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/lir/alloc/trace/TrivialTraceAllocator;
0 10 1 target Ljdk/vm/ci/code/TargetDescription;
0 10 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 10 3 trace Lorg/graalvm/compiler/core/common/alloc/Trace;
0 10 4 context Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;
1 10 5 lir Lorg/graalvm/compiler/lir/LIR;
2 10 6 resultTraces Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
4 10 7 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
5 10 8 pred Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
6 10 9 variableMap [Ljdk/vm/ci/meta/Value;
7 10 10 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
MethodParameters:
Name Flags
target
lirGenRes
trace
context
private static void collectMapping(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo, jdk.vm.ci.meta.Value[]);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;[Ljdk/vm/ci/meta/Value;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 0
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.getBlockIn:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)[I
astore 4
start local 4 1: aload 2
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.getOutLocation:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)[Ljdk/vm/ci/meta/Value;
astore 5
start local 5 2: aload 4
arraylength
anewarray jdk.vm.ci.meta.Value
astore 6
start local 6 3: iconst_0
istore 7
start local 7 4: goto 13
5: StackMap locals: org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo jdk.vm.ci.meta.Value[] int[] jdk.vm.ci.meta.Value[] jdk.vm.ci.meta.Value[] int
StackMap stack:
aload 4
iload 7
iaload
istore 8
start local 8 6: iload 8
iflt 11
7: aload 5
iload 7
aaload
astore 9
start local 9 8: aload 3
iload 8
aload 9
aastore
9: aload 6
iload 7
aload 9
aastore
end local 9 10: goto 12
11: StackMap locals: int
StackMap stack:
aload 6
iload 7
getstatic jdk.vm.ci.meta.Value.ILLEGAL:Ljdk/vm/ci/meta/AllocatableValue;
aastore
end local 8 12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
aload 4
arraylength
if_icmplt 5
end local 7 14: aload 2
aload 0
aload 6
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.setInLocations:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Ljdk/vm/ci/meta/Value;)V
15: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 16 1 pred Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 16 2 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
0 16 3 variableMap [Ljdk/vm/ci/meta/Value;
1 16 4 blockIn [I
2 16 5 predLocOut [Ljdk/vm/ci/meta/Value;
3 16 6 locationIn [Ljdk/vm/ci/meta/Value;
4 14 7 i I
6 12 8 varNum I
8 10 9 location Ljdk/vm/ci/meta/Value;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;[Ljdk/vm/ci/meta/Value;)V
MethodParameters:
Name Flags
block
pred
livenessInfo
variableMap
private static void assignLocations(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo, jdk.vm.ci.meta.Value[]);
descriptor: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;[Ljdk/vm/ci/meta/Value;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.getBlockOut:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)[I
astore 4
start local 4 1: aload 4
arraylength
anewarray jdk.vm.ci.meta.Value
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 7
4: StackMap locals: int[] jdk.vm.ci.meta.Value[] int
StackMap stack:
aload 4
iload 6
iaload
istore 7
start local 7 5: aload 5
iload 6
aload 3
iload 7
aaload
aastore
end local 7 6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
aload 4
arraylength
if_icmplt 4
end local 6 8: aload 2
aload 1
aload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.setOutLocations:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;[Ljdk/vm/ci/meta/Value;)V
9: new org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator$1
dup
aload 3
invokespecial org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator$1.<init>:([Ljdk/vm/ci/meta/Value;)V
astore 6
start local 6 10: aload 0
aload 1
invokestatic org.graalvm.compiler.lir.ssa.SSAUtil.phiOut:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/lir/StandardOp$JumpOp;
astore 7
start local 7 11: aload 7
aload 6
invokevirtual org.graalvm.compiler.lir.StandardOp$JumpOp.forEachAlive:(Lorg/graalvm/compiler/lir/ValueProcedure;)V
12: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 lir Lorg/graalvm/compiler/lir/LIR;
0 13 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 13 2 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
0 13 3 variableMap [Ljdk/vm/ci/meta/Value;
1 13 4 blockOut [I
2 13 5 locationOut [Ljdk/vm/ci/meta/Value;
3 8 6 i I
5 6 7 varNum I
10 13 6 outputConsumer Lorg/graalvm/compiler/lir/ValueProcedure;
11 13 7 jump Lorg/graalvm/compiler/lir/StandardOp$JumpOp;
Signature: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;[Ljdk/vm/ci/meta/Value;)V
MethodParameters:
Name Flags
lir
block
livenessInfo
variableMap
}
Signature: Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase<Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;>;
SourceFile: "TrivialTraceAllocator.java"
NestMembers:
org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator$1
InnerClasses:
public JumpOp = org.graalvm.compiler.lir.StandardOp$JumpOp of org.graalvm.compiler.lir.StandardOp
public TraceAllocationContext = org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext of org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase
org.graalvm.compiler.lir.alloc.trace.TrivialTraceAllocator$1