public final class org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy
super_class: java.lang.Object
{
private final jdk.vm.ci.code.TargetDescription target;
descriptor: Ljdk/vm/ci/code/TargetDescription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.gen.LIRGenerationResult lirGenRes;
descriptor: Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory spillMoveFactory;
descriptor: Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig registerAllocationConfig;
descriptor: Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.meta.AllocatableValue[] cachedStackSlots;
descriptor: [Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.alloc.TraceBuilderResult resultTraces;
descriptor: Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean neverSpillConstants;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.ArrayList<org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy> strategies;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy$AllocationStrategy;>;
public void <init>(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory, org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig, jdk.vm.ci.meta.AllocatableValue[], org.graalvm.compiler.core.common.alloc.TraceBuilderResult, boolean);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;[Ljdk/vm/ci/meta/AllocatableValue;Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.target:Ljdk/vm/ci/code/TargetDescription;
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.lirGenRes:Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.spillMoveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.registerAllocationConfig:Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.cachedStackSlots:[Ljdk/vm/ci/meta/AllocatableValue;
6: aload 0
aload 6
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.resultTraces:Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
7: aload 0
iload 7
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.neverSpillConstants:Z
8: aload 0
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.strategies:Ljava/util/ArrayList;
9: 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 10 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy;
0 10 1 target Ljdk/vm/ci/code/TargetDescription;
0 10 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 10 3 spillMoveFactory Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
0 10 4 registerAllocationConfig Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
0 10 5 cachedStackSlots [Ljdk/vm/ci/meta/AllocatableValue;
0 10 6 resultTraces Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
0 10 7 neverSpillConstant Z
MethodParameters:
Name Flags
target
lirGenRes
spillMoveFactory
registerAllocationConfig
cachedStackSlots
resultTraces
neverSpillConstant
public void appendStrategy(org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy$AllocationStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.strategies:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy;
0 2 1 strategy Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy$AllocationStrategy;
MethodParameters:
Name Flags
strategy
public org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase<org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext> selectStrategy(org.graalvm.compiler.core.common.alloc.Trace);
descriptor: (Lorg/graalvm/compiler/core/common/alloc/Trace;)Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy.strategies:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy org.graalvm.compiler.core.common.alloc.Trace top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy
astore 2
start local 2 2: aload 2
aload 1
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy.shouldApplyTo:(Lorg/graalvm/compiler/core/common/alloc/Trace;)Z
ifeq 4
3: aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy.getAllocator:()Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: ldc "No Allocation Strategy found!"
invokestatic jdk.vm.ci.common.JVMCIError.shouldNotReachHere:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy;
0 6 1 trace Lorg/graalvm/compiler/core/common/alloc/Trace;
2 4 2 strategy Lorg/graalvm/compiler/lir/alloc/trace/TraceRegisterAllocationPolicy$AllocationStrategy;
Signature: (Lorg/graalvm/compiler/core/common/alloc/Trace;)Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase<Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;>;
MethodParameters:
Name Flags
trace
}
SourceFile: "TraceRegisterAllocationPolicy.java"
NestMembers:
org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy
InnerClasses:
public TraceAllocationContext = org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext of org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase
protected abstract AllocationStrategy = org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy$AllocationStrategy of org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPolicy
public abstract MoveFactory = org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory of org.graalvm.compiler.lir.gen.LIRGeneratorTool