public final class org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp extends org.graalvm.compiler.lir.amd64.AMD64BlockEndOp
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp
super_class: org.graalvm.compiler.lir.amd64.AMD64BlockEndOp
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp> TYPE;
descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$TableSwitchOp;>;
private final int lowKey;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.LabelRef defaultTarget;
descriptor: Lorg/graalvm/compiler/lir/LabelRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.LabelRef[] targets;
descriptor: [Lorg/graalvm/compiler/lir/LabelRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected jdk.vm.ci.meta.Value index;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Use()
protected jdk.vm.ci.meta.Value idxScratch;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;, org.graalvm.compiler.lir.LIRInstruction$OperandFlag.HINT:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value scratch;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Temp()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$TableSwitchOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, org.graalvm.compiler.lir.LabelRef, org.graalvm.compiler.lir.LabelRef[], jdk.vm.ci.meta.Value, org.graalvm.compiler.lir.Variable, org.graalvm.compiler.lir.Variable);
descriptor: (ILorg/graalvm/compiler/lir/LabelRef;[Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/Variable;Lorg/graalvm/compiler/lir/Variable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
invokespecial org.graalvm.compiler.lir.amd64.AMD64BlockEndOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: aload 0
iload 1
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.lowKey:I
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.targets:[Lorg/graalvm/compiler/lir/LabelRef;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.index:Ljdk/vm/ci/meta/Value;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.scratch:Ljdk/vm/ci/meta/Value;
6: aload 0
aload 6
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.idxScratch:Ljdk/vm/ci/meta/Value;
7: 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 8 0 this Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$TableSwitchOp;
0 8 1 lowKey I
0 8 2 defaultTarget Lorg/graalvm/compiler/lir/LabelRef;
0 8 3 targets [Lorg/graalvm/compiler/lir/LabelRef;
0 8 4 index Ljdk/vm/ci/meta/Value;
0 8 5 scratch Lorg/graalvm/compiler/lir/Variable;
0 8 6 idxScratch Lorg/graalvm/compiler/lir/Variable;
MethodParameters:
Name Flags
lowKey final
defaultTarget final
targets final
index
scratch
idxScratch
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.amd64.AMD64MacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.index:Ljdk/vm/ci/meta/Value;
getstatic jdk.vm.ci.amd64.AMD64Kind.DWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/PlatformKind;)Ljdk/vm/ci/code/Register;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.idxScratch:Ljdk/vm/ci/meta/Value;
getstatic jdk.vm.ci.amd64.AMD64Kind.DWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/PlatformKind;)Ljdk/vm/ci/code/Register;
astore 4
start local 4 2: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.scratch:Ljdk/vm/ci/meta/Value;
getstatic jdk.vm.ci.amd64.AMD64Kind.QWORD:Ljdk/vm/ci/amd64/AMD64Kind;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/PlatformKind;)Ljdk/vm/ci/code/Register;
astore 5
start local 5 3: aload 3
aload 4
invokevirtual jdk.vm.ci.code.Register.equals:(Ljava/lang/Object;)Z
ifne 5
4: aload 2
aload 4
aload 3
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movl:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
5: StackMap locals: jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.lowKey:I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.targets:[Lorg/graalvm/compiler/lir/LabelRef;
arraylength
iadd
iconst_1
isub
istore 6
start local 6 6: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.lowKey:I
ifeq 10
7: aload 2
aload 4
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.lowKey:I
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.subl:(Ljdk/vm/ci/code/Register;I)V
8: aload 2
aload 4
iload 6
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.lowKey:I
isub
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.cmpl:(Ljdk/vm/ci/code/Register;I)V
9: goto 11
10: StackMap locals: int
StackMap stack:
aload 2
aload 4
iload 6
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.cmpl:(Ljdk/vm/ci/code/Register;I)V
11: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
ifnull 13
12: aload 2
getstatic org.graalvm.compiler.asm.amd64.AMD64Assembler$ConditionFlag.Above:Lorg/graalvm/compiler/asm/amd64/AMD64Assembler$ConditionFlag;
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
invokevirtual org.graalvm.compiler.lir.LabelRef.label:()Lorg/graalvm/compiler/asm/Label;
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.jcc:(Lorg/graalvm/compiler/asm/amd64/AMD64Assembler$ConditionFlag;Lorg/graalvm/compiler/asm/Label;)V
13: StackMap locals:
StackMap stack:
aload 2
aload 5
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
getstatic jdk.vm.ci.amd64.AMD64.rip:Ljdk/vm/ci/code/Register;
iconst_0
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;I)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.leaq:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
14: aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 7
start local 7 15: aload 2
aload 4
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
aload 5
aload 4
getstatic org.graalvm.compiler.asm.amd64.AMD64Address$Scale.Times4:Lorg/graalvm/compiler/asm/amd64/AMD64Address$Scale;
iconst_0
invokespecial org.graalvm.compiler.asm.amd64.AMD64Address.<init>:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address$Scale;I)V
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.movslq:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
16: aload 2
aload 5
aload 4
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.addq:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
17: aload 2
aload 5
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.jmp:(Ljdk/vm/ci/code/Register;)V
18: aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
iconst_3
iand
ifeq 20
19: aload 2
iconst_4
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
iconst_3
iand
isub
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.nop:(I)V
20: StackMap locals: int
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 8
start local 8 21: iload 7
iconst_4
isub
istore 9
start local 9 22: aload 2
iload 8
iload 7
isub
iload 9
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitInt:(II)V
23: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.targets:[Lorg/graalvm/compiler/lir/LabelRef;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 36
StackMap locals: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register int int int int top int int org.graalvm.compiler.lir.LabelRef[]
StackMap stack:
24: aload 13
iload 11
aaload
astore 10
start local 10 25: aload 10
invokevirtual org.graalvm.compiler.lir.LabelRef.label:()Lorg/graalvm/compiler/asm/Label;
astore 14
start local 14 26: aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
iload 8
isub
istore 15
start local 15 27: aload 14
invokevirtual org.graalvm.compiler.asm.Label.isBound:()Z
ifeq 31
28: aload 14
invokevirtual org.graalvm.compiler.asm.Label.position:()I
iload 8
isub
istore 16
start local 16 29: aload 2
iload 16
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitInt:(I)V
end local 16 30: goto 35
31: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register int int int int org.graalvm.compiler.lir.LabelRef int int org.graalvm.compiler.lir.LabelRef[] org.graalvm.compiler.asm.Label int
StackMap stack:
aload 14
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
invokevirtual org.graalvm.compiler.asm.Label.addPatchAt:(I)V
32: aload 2
iconst_0
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitByte:(I)V
33: aload 2
iload 15
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitShort:(I)V
34: aload 2
iconst_0
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitByte:(I)V
end local 15 end local 14 end local 10 35: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.amd64.AMD64MacroAssembler jdk.vm.ci.code.Register jdk.vm.ci.code.Register jdk.vm.ci.code.Register int int int int top int int org.graalvm.compiler.lir.LabelRef[]
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
36: iload 11
iload 12
if_icmplt 24
37: new org.graalvm.compiler.code.CompilationResult$JumpTable
dup
iload 8
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp.lowKey:I
iload 6
iconst_4
invokespecial org.graalvm.compiler.code.CompilationResult$JumpTable.<init>:(IIII)V
astore 10
start local 10 38: aload 1
getfield org.graalvm.compiler.lir.asm.CompilationResultBuilder.compilationResult:Lorg/graalvm/compiler/code/CompilationResult;
aload 10
invokevirtual org.graalvm.compiler.code.CompilationResult.addAnnotation:(Lorg/graalvm/compiler/code/CompilationResult$CodeAnnotation;)V
39: 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 40 0 this Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$TableSwitchOp;
0 40 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 40 2 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
1 40 3 indexReg Ljdk/vm/ci/code/Register;
2 40 4 idxScratchReg Ljdk/vm/ci/code/Register;
3 40 5 scratchReg Ljdk/vm/ci/code/Register;
6 40 6 highKey I
15 40 7 afterLea I
21 40 8 jumpTablePos I
22 40 9 leaDisplacementPosition I
25 35 10 target Lorg/graalvm/compiler/lir/LabelRef;
26 35 14 label Lorg/graalvm/compiler/asm/Label;
27 35 15 offsetToJumpTableBase I
29 30 16 imm32 I
38 40 10 jt Lorg/graalvm/compiler/code/CompilationResult$JumpTable;
MethodParameters:
Name Flags
crb
masm
}
SourceFile: "AMD64ControlFlow.java"
NestHost: org.graalvm.compiler.lir.amd64.AMD64ControlFlow
InnerClasses:
public final Scale = org.graalvm.compiler.asm.amd64.AMD64Address$Scale of org.graalvm.compiler.asm.amd64.AMD64Address
public final ConditionFlag = org.graalvm.compiler.asm.amd64.AMD64Assembler$ConditionFlag of org.graalvm.compiler.asm.amd64.AMD64Assembler
public abstract CodeAnnotation = org.graalvm.compiler.code.CompilationResult$CodeAnnotation of org.graalvm.compiler.code.CompilationResult
public final JumpTable = org.graalvm.compiler.code.CompilationResult$JumpTable of org.graalvm.compiler.code.CompilationResult
public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public abstract Temp = org.graalvm.compiler.lir.LIRInstruction$Temp of org.graalvm.compiler.lir.LIRInstruction
public abstract Use = org.graalvm.compiler.lir.LIRInstruction$Use of org.graalvm.compiler.lir.LIRInstruction
public final TableSwitchOp = org.graalvm.compiler.lir.amd64.AMD64ControlFlow$TableSwitchOp of org.graalvm.compiler.lir.amd64.AMD64ControlFlow