public final class org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp 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$HashTableSwitchOp
super_class: org.graalvm.compiler.lir.amd64.AMD64BlockEndOp
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp> 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$HashTableSwitchOp;>;
private final jdk.vm.ci.meta.JavaConstant[] keys;
descriptor: [Ljdk/vm/ci/meta/JavaConstant;
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 value;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive()
protected jdk.vm.ci.meta.Value hash;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive()
protected jdk.vm.ci.meta.Value entryScratch;
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;})
protected jdk.vm.ci.meta.Value scratch;
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;})
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$HashTableSwitchOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.JavaConstant[], org.graalvm.compiler.lir.LabelRef, org.graalvm.compiler.lir.LabelRef[], jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value, org.graalvm.compiler.lir.Variable, org.graalvm.compiler.lir.Variable);
descriptor: ([Ljdk/vm/ci/meta/JavaConstant;Lorg/graalvm/compiler/lir/LabelRef;[Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/Variable;Lorg/graalvm/compiler/lir/Variable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
getstatic org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
invokespecial org.graalvm.compiler.lir.amd64.AMD64BlockEndOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: aload 0
aload 1
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.keys:[Ljdk/vm/ci/meta/JavaConstant;
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.targets:[Lorg/graalvm/compiler/lir/LabelRef;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.value:Ljdk/vm/ci/meta/Value;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.hash:Ljdk/vm/ci/meta/Value;
6: aload 0
aload 6
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.scratch:Ljdk/vm/ci/meta/Value;
7: aload 0
aload 7
putfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.entryScratch:Ljdk/vm/ci/meta/Value;
8: 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 9 0 this Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$HashTableSwitchOp;
0 9 1 keys [Ljdk/vm/ci/meta/JavaConstant;
0 9 2 defaultTarget Lorg/graalvm/compiler/lir/LabelRef;
0 9 3 targets [Lorg/graalvm/compiler/lir/LabelRef;
0 9 4 value Ljdk/vm/ci/meta/Value;
0 9 5 hash Ljdk/vm/ci/meta/Value;
0 9 6 scratch Lorg/graalvm/compiler/lir/Variable;
0 9 7 entryScratch Lorg/graalvm/compiler/lir/Variable;
MethodParameters:
Name Flags
keys final
defaultTarget final
targets
value
hash
scratch
entryScratch
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=13, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.value: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$HashTableSwitchOp.hash: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$HashTableSwitchOp.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 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.entryScratch: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 6
start local 6 4: 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
5: aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 7
start local 7 6: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
ifnull 12
7: aload 2
aload 6
new org.graalvm.compiler.asm.amd64.AMD64Address
dup
aload 5
aload 4
getstatic org.graalvm.compiler.asm.amd64.AMD64Address$Scale.Times8: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.movq:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/amd64/AMD64Address;)V
8: aload 2
aload 6
aload 3
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.cmpl:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
9: aload 2
getstatic org.graalvm.compiler.asm.amd64.AMD64Assembler$ConditionFlag.NotEqual:Lorg/graalvm/compiler/asm/amd64/AMD64Assembler$ConditionFlag;
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.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
10: aload 2
aload 6
bipush 32
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.sarq:(Ljdk/vm/ci/code/Register;I)V
11: goto 13
12: StackMap locals: org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp 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 jdk.vm.ci.code.Register int
StackMap stack:
aload 2
aload 6
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
13: StackMap locals:
StackMap stack:
aload 2
aload 5
aload 6
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.addq:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
14: aload 2
aload 5
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.jmp:(Ljdk/vm/ci/code/Register;)V
15: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
ifnull 18
16: aload 2
bipush 8
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.align:(I)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 2
iconst_4
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.align:(I)V
19: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
istore 8
start local 8 20: iload 7
iconst_4
isub
istore 9
start local 9 21: aload 2
iload 8
iload 7
isub
iload 9
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitInt:(II)V
22: iconst_0
istore 10
start local 10 23: goto 37
24: StackMap locals: int int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.targets:[Lorg/graalvm/compiler/lir/LabelRef;
iload 10
aaload
invokevirtual org.graalvm.compiler.lir.LabelRef.label:()Lorg/graalvm/compiler/asm/Label;
astore 11
start local 11 25: aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
ifnull 27
26: aload 2
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.keys:[Ljdk/vm/ci/meta/JavaConstant;
iload 10
aaload
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitInt:(I)V
27: StackMap locals: org.graalvm.compiler.asm.Label
StackMap stack:
aload 11
invokevirtual org.graalvm.compiler.asm.Label.isBound:()Z
ifeq 31
28: aload 11
invokevirtual org.graalvm.compiler.asm.Label.position:()I
iload 8
isub
istore 12
start local 12 29: aload 2
iload 12
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitInt:(I)V
end local 12 30: goto 36
31: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
iload 8
isub
istore 12
start local 12 32: aload 11
aload 2
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.position:()I
aload 2
invokevirtual org.graalvm.compiler.asm.Label.addPatchAt:(ILorg/graalvm/compiler/asm/Assembler;)V
33: aload 2
iconst_0
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitByte:(I)V
34: aload 2
iload 12
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitShort:(I)V
35: aload 2
iconst_0
invokevirtual org.graalvm.compiler.asm.amd64.AMD64MacroAssembler.emitByte:(I)V
end local 12 end local 11 36: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
37: iload 10
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.targets:[Lorg/graalvm/compiler/lir/LabelRef;
arraylength
if_icmplt 24
end local 10 38: new org.graalvm.compiler.code.CompilationResult$JumpTable
dup
iload 8
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.keys:[Ljdk/vm/ci/meta/JavaConstant;
iconst_0
aaload
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.keys:[Ljdk/vm/ci/meta/JavaConstant;
aload 0
getfield org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp.keys:[Ljdk/vm/ci/meta/JavaConstant;
arraylength
iconst_1
isub
aaload
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
iconst_4
invokespecial org.graalvm.compiler.code.CompilationResult$JumpTable.<init>:(IIII)V
astore 10
start local 10 39: 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
40: 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 41 0 this Lorg/graalvm/compiler/lir/amd64/AMD64ControlFlow$HashTableSwitchOp;
0 41 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 41 2 masm Lorg/graalvm/compiler/asm/amd64/AMD64MacroAssembler;
1 41 3 valueReg Ljdk/vm/ci/code/Register;
2 41 4 indexReg Ljdk/vm/ci/code/Register;
3 41 5 scratchReg Ljdk/vm/ci/code/Register;
4 41 6 entryScratchReg Ljdk/vm/ci/code/Register;
6 41 7 afterLea I
20 41 8 jumpTablePos I
21 41 9 leaDisplacementPosition I
23 38 10 i I
25 36 11 label Lorg/graalvm/compiler/asm/Label;
29 30 12 imm32 I
32 36 12 offsetToJumpTableBase I
39 41 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 abstract Alive = org.graalvm.compiler.lir.LIRInstruction$Alive of org.graalvm.compiler.lir.LIRInstruction
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 final HashTableSwitchOp = org.graalvm.compiler.lir.amd64.AMD64ControlFlow$HashTableSwitchOp of org.graalvm.compiler.lir.amd64.AMD64ControlFlow