final class org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner
super_class: java.lang.Object
{
private final org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan allocator;
descriptor: Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
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.lir.InstructionValueProcedure assignProc;
descriptor: Lorg/graalvm/compiler/lir/InstructionValueProcedure;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.InstructionValueProcedure colorOutgoingIncomingValues;
descriptor: Lorg/graalvm/compiler/lir/InstructionValueProcedure;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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/lsra/TraceLinearScanAssignLocationsPhase;
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.lsra.TraceLinearScanAssignLocationsPhase$Assigner.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan, org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner$1
dup
aload 0
invokespecial org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner$1.<init>:(Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;)V
putfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignProc:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
2: aload 0
new org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner$2
dup
aload 0
invokespecial org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner$2.<init>:(Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;)V
putfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.colorOutgoingIncomingValues:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
3: aload 0
aload 1
putfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
4: aload 0
aload 2
putfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.spillMoveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 6 1 allocator Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
0 6 2 spillMoveFactory Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
MethodParameters:
Name Flags
allocator
spillMoveFactory
private jdk.vm.ci.meta.Value colorLirOperand(org.graalvm.compiler.lir.LIRInstruction, org.graalvm.compiler.lir.Variable, org.graalvm.compiler.lir.LIRInstruction$OperandMode);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/Variable;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;)Ljdk/vm/ci/meta/Value;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual org.graalvm.compiler.lir.LIRInstruction.id:()I
istore 4
start local 4 1: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.intervalFor:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceInterval;
astore 5
start local 5 2: getstatic org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.$assertionsDisabled:Z
ifne 3
aload 5
ifnonnull 3
new java.lang.AssertionError
dup
ldc "interval must exist"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: int org.graalvm.compiler.lir.alloc.trace.lsra.TraceInterval
StackMap stack:
iload 4
iconst_m1
if_icmpeq 5
4: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
aload 5
iload 4
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.splitChildAtOpId:(Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceInterval;ILorg/graalvm/compiler/lir/LIRInstruction$OperandMode;)Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceInterval;
astore 5
5: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceInterval.location:()Ljdk/vm/ci/meta/AllocatableValue;
invokestatic jdk.vm.ci.code.ValueUtil.isIllegal:(Ljdk/vm/ci/meta/Value;)Z
ifeq 10
aload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceInterval.canMaterialize:()Z
ifeq 10
6: aload 1
instanceof org.graalvm.compiler.lir.StandardOp$LabelOp
ifeq 8
7: getstatic jdk.vm.ci.meta.Value.ILLEGAL:Ljdk/vm/ci/meta/AllocatableValue;
areturn
8: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.$assertionsDisabled:Z
ifne 9
aload 3
getstatic org.graalvm.compiler.lir.LIRInstruction$OperandMode.DEF:Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;
if_acmpne 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
new org.graalvm.compiler.lir.ConstantValue
dup
aload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceInterval.kind:()Ljdk/vm/ci/meta/ValueKind;
aload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceInterval.getMaterializedValue:()Ljdk/vm/ci/meta/JavaConstant;
invokespecial org.graalvm.compiler.lir.ConstantValue.<init>:(Ljdk/vm/ci/meta/ValueKind;Ljdk/vm/ci/meta/Constant;)V
areturn
10: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceInterval.location:()Ljdk/vm/ci/meta/AllocatableValue;
areturn
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 11 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 11 1 op Lorg/graalvm/compiler/lir/LIRInstruction;
0 11 2 operand Lorg/graalvm/compiler/lir/Variable;
0 11 3 mode Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;
1 11 4 opId I
2 11 5 interval Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceInterval;
MethodParameters:
Name Flags
op
operand
mode
private jdk.vm.ci.meta.Value debugInfoProcedure(org.graalvm.compiler.lir.LIRInstruction, jdk.vm.ci.meta.Value, org.graalvm.compiler.lir.LIRInstruction$OperandMode, java.util.EnumSet<org.graalvm.compiler.lir.LIRInstruction$OperandFlag>);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;Ljava/util/EnumSet;)Ljdk/vm/ci/meta/Value;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVirtualStackSlot:(Ljdk/vm/ci/meta/Value;)Z
ifeq 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.lir.LIRInstruction.id:()I
istore 5
start local 5 3: getstatic org.graalvm.compiler.lir.LIRInstruction$OperandMode.USE:Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;
astore 6
start local 6 4: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
iload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.blockForId:(I)Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 7
start local 7 5: aload 7
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessorCount:()I
iconst_1
if_icmpne 9
iload 5
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
aload 7
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.getLastLirInstructionId:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)I
if_icmpne 9
6: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 7
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 7
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 8
start local 8 7: aload 8
instanceof org.graalvm.compiler.lir.StandardOp$JumpOp
ifeq 9
8: ldc "DebugInfo on jumps are not supported!"
invokestatic org.graalvm.compiler.debug.GraalError.unimplemented:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 8 9: StackMap locals: int org.graalvm.compiler.lir.LIRInstruction$OperandMode org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack:
aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.lir.Variable
aload 6
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.colorLirOperand:(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/Variable;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;)Ljdk/vm/ci/meta/Value;
astore 8
start local 8 10: getstatic org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.$assertionsDisabled:Z
ifne 11
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
iload 5
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.hasCall:(I)Z
ifeq 11
aload 8
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isStackSlotValue:(Ljdk/vm/ci/meta/Value;)Z
ifne 11
aload 8
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isConstantValue:(Ljdk/vm/ci/meta/Value;)Z
ifne 11
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
aload 8
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.isCallerSave:(Ljdk/vm/ci/meta/Value;)Z
ifeq 11
new java.lang.AssertionError
dup
ldc "cannot have caller-save register operands at calls"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals: jdk.vm.ci.meta.Value
StackMap stack:
aload 8
areturn
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 12 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 12 1 op Lorg/graalvm/compiler/lir/LIRInstruction;
0 12 2 operand Ljdk/vm/ci/meta/Value;
0 12 3 valueMode Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;
0 12 4 flags Ljava/util/EnumSet<Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;>;
3 12 5 tempOpId I
4 12 6 mode Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;
5 12 7 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
7 9 8 instr Lorg/graalvm/compiler/lir/LIRInstruction;
10 12 8 result Ljdk/vm/ci/meta/Value;
Signature: (Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;Ljava/util/EnumSet<Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;>;)Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
op
operand
valueMode
flags
private void computeDebugInfo(org.graalvm.compiler.lir.LIRInstruction, org.graalvm.compiler.lir.LIRFrameState);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/LIRFrameState;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
invokedynamic doValue(Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;)Lorg/graalvm/compiler/lir/InstructionValueProcedure;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;Ljava/util/EnumSet;)Ljdk/vm/ci/meta/Value;
org/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner.debugInfoProcedure(Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;Ljava/util/EnumSet;)Ljdk/vm/ci/meta/Value; (7)
(Lorg/graalvm/compiler/lir/LIRInstruction;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;Ljava/util/EnumSet;)Ljdk/vm/ci/meta/Value;
invokevirtual org.graalvm.compiler.lir.LIRFrameState.forEachState:(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 2 1 op Lorg/graalvm/compiler/lir/LIRInstruction;
0 2 2 info Lorg/graalvm/compiler/lir/LIRFrameState;
MethodParameters:
Name Flags
op final
info
private void assignLocations(java.util.List<org.graalvm.compiler.lir.LIRInstruction>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 11
4: StackMap locals: int int int
StackMap stack:
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 5
start local 5 5: aload 5
ifnonnull 8
6: iconst_1
istore 3
7: goto 10
StackMap locals: org.graalvm.compiler.lir.LIRInstruction
StackMap stack:
8: aload 0
aload 5
aload 1
iload 4
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignLocations:(Lorg/graalvm/compiler/lir/LIRInstruction;Ljava/util/List;I)Z
ifeq 10
9: iconst_1
istore 3
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 2
if_icmplt 4
end local 4 12: iload 3
ifeq 14
13: aload 1
aconst_null
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 15 1 instructions Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
1 15 2 numInst I
2 15 3 hasDead Z
3 12 4 j I
5 10 5 op Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;)V
MethodParameters:
Name Flags
instructions
private boolean assignLocations(org.graalvm.compiler.lir.LIRInstruction, java.util.List<org.graalvm.compiler.lir.LIRInstruction>, );
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Ljava/util/List;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.$assertionsDisabled:Z
ifne 2
aload 1
ifnull 1
aload 2
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aload 1
if_acmpeq 2
StackMap locals:
StackMap stack:
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase$Options.TraceRAshareSpillInformation:Lorg/graalvm/compiler/options/StableOptionValue;
invokevirtual org.graalvm.compiler.options.StableOptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 8
3: aload 1
instanceof org.graalvm.compiler.lir.StandardOp$BlockEndOp
ifeq 6
4: aload 1
checkcast org.graalvm.compiler.lir.StandardOp$BlockEndOp
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.colorOutgoingIncomingValues:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
invokeinterface org.graalvm.compiler.lir.StandardOp$BlockEndOp.forEachOutgoingValue:(Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
5: goto 8
StackMap locals:
StackMap stack:
6: aload 1
instanceof org.graalvm.compiler.lir.StandardOp$LabelOp
ifeq 8
7: aload 1
checkcast org.graalvm.compiler.lir.StandardOp$LabelOp
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.colorOutgoingIncomingValues:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
invokevirtual org.graalvm.compiler.lir.StandardOp$LabelOp.forEachIncomingValue:(Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
8: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.lir.StandardOp$MoveOp
ifeq 13
9: aload 1
checkcast org.graalvm.compiler.lir.StandardOp$MoveOp
invokeinterface org.graalvm.compiler.lir.StandardOp$MoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
astore 4
start local 4 10: aload 4
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isVariable:(Ljdk/vm/ci/meta/Value;)Z
ifeq 13
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
aload 4
aload 1
invokevirtual org.graalvm.compiler.lir.LIRInstruction.id:()I
getstatic org.graalvm.compiler.lir.LIRInstruction$OperandMode.DEF:Lorg/graalvm/compiler/lir/LIRInstruction$OperandMode;
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.isMaterialized:(Ljdk/vm/ci/meta/AllocatableValue;ILorg/graalvm/compiler/lir/LIRInstruction$OperandMode;)Z
ifeq 13
11: aload 2
iload 3
aconst_null
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
12: iconst_1
ireturn
end local 4 13: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignProc:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachInput:(Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
14: aload 1
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignProc:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachAlive:(Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
15: aload 1
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignProc:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachTemp:(Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
16: aload 1
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignProc:Lorg/graalvm/compiler/lir/InstructionValueProcedure;
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachOutput:(Lorg/graalvm/compiler/lir/InstructionValueProcedure;)V
17: aload 1
aload 0
invokedynamic doState(Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;)Lorg/graalvm/compiler/lir/InstructionStateProcedure;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/LIRFrameState;)V
org/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner.lambda$1(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/LIRFrameState;)V (7)
(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/LIRFrameState;)V
invokevirtual org.graalvm.compiler.lir.LIRInstruction.forEachState:(Lorg/graalvm/compiler/lir/InstructionStateProcedure;)V
18: aload 1
instanceof org.graalvm.compiler.lir.StandardOp$ValueMoveOp
ifeq 26
19: aload 1
checkcast org.graalvm.compiler.lir.StandardOp$ValueMoveOp
astore 4
start local 4 20: aload 4
invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
aload 4
invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
invokevirtual jdk.vm.ci.meta.AllocatableValue.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 2
iload 3
aconst_null
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
22: iconst_1
ireturn
23: StackMap locals: org.graalvm.compiler.lir.StandardOp$ValueMoveOp
StackMap stack:
aload 4
invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isStackSlotValue:(Ljdk/vm/ci/meta/Value;)Z
ifeq 26
aload 4
invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isStackSlotValue:(Ljdk/vm/ci/meta/Value;)Z
ifeq 26
24: aload 2
iload 3
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.spillMoveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
aload 4
invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getResult:()Ljdk/vm/ci/meta/AllocatableValue;
aload 4
invokeinterface org.graalvm.compiler.lir.StandardOp$ValueMoveOp.getInput:()Ljdk/vm/ci/meta/AllocatableValue;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory.createStackMove:(Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)Lorg/graalvm/compiler/lir/LIRInstruction;
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
25: iconst_1
ireturn
end local 4 26: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 27 1 op Lorg/graalvm/compiler/lir/LIRInstruction;
0 27 2 instructions Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
0 27 3 j I
10 13 4 result Ljdk/vm/ci/meta/AllocatableValue;
20 26 4 move Lorg/graalvm/compiler/lir/StandardOp$ValueMoveOp;
Signature: (Lorg/graalvm/compiler/lir/LIRInstruction;Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;I)Z
MethodParameters:
Name Flags
op
instructions
j
private void assignLocations();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=11, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: ldc "assign locations"
invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
astore 3
start local 3 2: aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.sortedBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 14
StackMap locals: org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aconst_null
astore 8
aconst_null
astore 9
5: ldc "assign locations in block B%d"
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
invokestatic org.graalvm.compiler.debug.Debug.logAndIndent:(Ljava/lang/String;I)Lorg/graalvm/compiler/debug/Indent;
astore 10
start local 10 6: aload 0
aload 0
getfield org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.allocator:Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanPhase$TraceLinearScan;
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 4
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.assignLocations:(Ljava/util/List;)V
7: aload 10
ifnull 13
aload 10
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 13
StackMap locals: org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.core.common.cfg.AbstractBlockBase int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
8: astore 8
aload 10
ifnull 9
aload 10
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 10 StackMap locals:
StackMap stack:
9: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 9
aload 8
ifnonnull 11
aload 9
astore 8
goto 12
StackMap locals:
StackMap stack:
11: aload 8
aload 9
if_acmpeq 12
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 8
athrow
end local 4 13: StackMap locals: org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 6
if_icmplt 3
15: aload 3
ifnull 21
aload 3
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 21
StackMap locals: org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
16: astore 1
aload 3
ifnull 17
aload 3
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 3 StackMap locals:
StackMap stack:
17: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 2
aload 1
ifnonnull 19
aload 2
astore 1
goto 20
StackMap locals:
StackMap stack:
19: aload 1
aload 2
if_acmpeq 20
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 1
athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
2 17 3 indent Lorg/graalvm/compiler/debug/Indent;
4 13 4 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
6 9 10 indent2 Lorg/graalvm/compiler/debug/Indent;
Exception table:
from to target type
6 7 8 any
5 10 10 any
2 15 16 any
1 18 18 any
private void lambda$1(org.graalvm.compiler.lir.LIRInstruction, org.graalvm.compiler.lir.LIRFrameState);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/LIRFrameState;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner.computeDebugInfo:(Lorg/graalvm/compiler/lir/LIRInstruction;Lorg/graalvm/compiler/lir/LIRFrameState;)V
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/alloc/trace/lsra/TraceLinearScanAssignLocationsPhase$Assigner;
0 1 1 inst Lorg/graalvm/compiler/lir/LIRInstruction;
0 1 2 state Lorg/graalvm/compiler/lir/LIRFrameState;
}
SourceFile: "TraceLinearScanAssignLocationsPhase.java"
NestHost: org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public final OperandMode = org.graalvm.compiler.lir.LIRInstruction$OperandMode of org.graalvm.compiler.lir.LIRInstruction
public abstract BlockEndOp = org.graalvm.compiler.lir.StandardOp$BlockEndOp of org.graalvm.compiler.lir.StandardOp
public JumpOp = org.graalvm.compiler.lir.StandardOp$JumpOp of org.graalvm.compiler.lir.StandardOp
public final LabelOp = org.graalvm.compiler.lir.StandardOp$LabelOp of org.graalvm.compiler.lir.StandardOp
public abstract MoveOp = org.graalvm.compiler.lir.StandardOp$MoveOp of org.graalvm.compiler.lir.StandardOp
public abstract ValueMoveOp = org.graalvm.compiler.lir.StandardOp$ValueMoveOp of org.graalvm.compiler.lir.StandardOp
public Options = org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase$Options of org.graalvm.compiler.lir.alloc.trace.TraceRegisterAllocationPhase
private final Assigner = org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner of org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase
org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner$1
org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanAssignLocationsPhase$Assigner$2
public final TraceLinearScan = org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase$TraceLinearScan of org.graalvm.compiler.lir.alloc.trace.lsra.TraceLinearScanPhase
public abstract MoveFactory = org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory of org.graalvm.compiler.lir.gen.LIRGeneratorTool