public class org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp extends org.graalvm.compiler.lir.sparc.SPARCBlockEndOp
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp
super_class: org.graalvm.compiler.lir.sparc.SPARCBlockEndOp
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp> 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/sparc/SPARCControlFlow$StrategySwitchOp;>;
protected jdk.vm.ci.meta.Constant[] keyConstants;
descriptor: [Ljdk/vm/ci/meta/Constant;
flags: (0x0004) ACC_PROTECTED
private final org.graalvm.compiler.lir.LabelRef[] keyTargets;
descriptor: [Lorg/graalvm/compiler/lir/LabelRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.graalvm.compiler.lir.LabelRef defaultTarget;
descriptor: Lorg/graalvm/compiler/lir/LabelRef;
flags: (0x0002) ACC_PRIVATE
protected jdk.vm.ci.meta.Value key;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
protected jdk.vm.ci.meta.Value constantTableBase;
descriptor: Ljdk/vm/ci/meta/Value;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Alive(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.REG:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;, org.graalvm.compiler.lir.LIRInstruction$OperandFlag.ILLEGAL: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;})
protected final org.graalvm.compiler.lir.SwitchStrategy strategy;
descriptor: Lorg/graalvm/compiler/lir/SwitchStrategy;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.util.Map<org.graalvm.compiler.asm.Label, org.graalvm.compiler.asm.Assembler$LabelHint> labelHints;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/graalvm/compiler/asm/Label;Lorg/graalvm/compiler/asm/Assembler$LabelHint;>;
private final java.util.List<org.graalvm.compiler.asm.Label> conditionalLabels;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/graalvm/compiler/asm/Label;>;
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/sparc/SPARCControlFlow;
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.sparc.SPARCControlFlow$StrategySwitchOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.meta.Value, org.graalvm.compiler.lir.SwitchStrategy, org.graalvm.compiler.lir.LabelRef[], org.graalvm.compiler.lir.LabelRef, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, 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.sparc.SPARCControlFlow$StrategySwitchOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
invokespecial org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
1: 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 2 0 this Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
0 2 1 constantTableBase Ljdk/vm/ci/meta/Value;
0 2 2 strategy Lorg/graalvm/compiler/lir/SwitchStrategy;
0 2 3 keyTargets [Lorg/graalvm/compiler/lir/LabelRef;
0 2 4 defaultTarget Lorg/graalvm/compiler/lir/LabelRef;
0 2 5 key Ljdk/vm/ci/meta/Value;
0 2 6 scratch Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
constantTableBase
strategy
keyTargets
defaultTarget
key
scratch
protected void <init>(org.graalvm.compiler.lir.LIRInstructionClass<? extends org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp>, jdk.vm.ci.meta.Value, org.graalvm.compiler.lir.SwitchStrategy, org.graalvm.compiler.lir.LabelRef[], org.graalvm.compiler.lir.LabelRef, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstructionClass;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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
aload 1
invokespecial org.graalvm.compiler.lir.sparc.SPARCBlockEndOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.conditionalLabels:Ljava/util/List;
2: aload 0
aload 3
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.strategy:Lorg/graalvm/compiler/lir/SwitchStrategy;
3: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.SwitchStrategy.getKeyConstants:()[Ljdk/vm/ci/meta/Constant;
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
4: aload 0
aload 4
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.keyTargets:[Lorg/graalvm/compiler/lir/LabelRef;
5: aload 0
aload 5
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.defaultTarget:Lorg/graalvm/compiler/lir/LabelRef;
6: aload 0
aload 2
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.constantTableBase:Ljdk/vm/ci/meta/Value;
7: aload 0
aload 6
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.key:Ljdk/vm/ci/meta/Value;
8: aload 0
aload 7
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.scratch:Ljdk/vm/ci/meta/Value;
9: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.labelHints:Ljava/util/Map;
10: getstatic org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.$assertionsDisabled:Z
ifne 11
aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
arraylength
aload 4
arraylength
if_icmpeq 11
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
11: StackMap locals: org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp org.graalvm.compiler.lir.LIRInstructionClass jdk.vm.ci.meta.Value org.graalvm.compiler.lir.SwitchStrategy org.graalvm.compiler.lir.LabelRef[] org.graalvm.compiler.lir.LabelRef jdk.vm.ci.meta.Value jdk.vm.ci.meta.Value
StackMap stack:
getstatic org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.$assertionsDisabled:Z
ifne 12
aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
arraylength
aload 3
getfield org.graalvm.compiler.lir.SwitchStrategy.keyProbabilities:[D
arraylength
if_icmpeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
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 this Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
0 13 1 c Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;>;
0 13 2 constantTableBase Ljdk/vm/ci/meta/Value;
0 13 3 strategy Lorg/graalvm/compiler/lir/SwitchStrategy;
0 13 4 keyTargets [Lorg/graalvm/compiler/lir/LabelRef;
0 13 5 defaultTarget Lorg/graalvm/compiler/lir/LabelRef;
0 13 6 key Ljdk/vm/ci/meta/Value;
0 13 7 scratch Ljdk/vm/ci/meta/Value;
Signature: (Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;>;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/lir/SwitchStrategy;[Lorg/graalvm/compiler/lir/LabelRef;Lorg/graalvm/compiler/lir/LabelRef;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
MethodParameters:
Name Flags
c
constantTableBase
strategy
keyTargets
defaultTarget
key
scratch
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder, org.graalvm.compiler.asm.sparc.SPARCMacroAssembler);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.key:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
astore 3
start local 3 1: getstatic jdk.vm.ci.meta.AllocatableValue.ILLEGAL:Ljdk/vm/ci/meta/AllocatableValue;
aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.constantTableBase:Ljdk/vm/ci/meta/Value;
invokevirtual jdk.vm.ci.meta.AllocatableValue.equals:(Ljava/lang/Object;)Z
ifeq 2
getstatic jdk.vm.ci.sparc.SPARC.g0:Ljdk/vm/ci/code/Register;
goto 3
StackMap locals: jdk.vm.ci.code.Register
StackMap stack:
2: aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.constantTableBase:Ljdk/vm/ci/meta/Value;
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
StackMap locals:
StackMap stack: jdk.vm.ci.code.Register
3: astore 4
start local 4 4: aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.strategy:Lorg/graalvm/compiler/lir/SwitchStrategy;
new org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp$SwitchClosure
dup
aload 0
aload 3
aload 4
aload 1
aload 2
invokespecial org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp$SwitchClosure.<init>:(Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;)V
invokevirtual org.graalvm.compiler.lir.SwitchStrategy.run:(Lorg/graalvm/compiler/lir/SwitchStrategy$SwitchClosure;)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
0 6 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
0 6 2 masm Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;
1 6 3 keyRegister Ljdk/vm/ci/code/Register;
4 6 4 constantBaseRegister Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
crb final
masm final
protected org.graalvm.compiler.asm.Assembler$LabelHint requestHint(org.graalvm.compiler.asm.sparc.SPARCMacroAssembler, org.graalvm.compiler.asm.Label);
descriptor: (Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;Lorg/graalvm/compiler/asm/Label;)Lorg/graalvm/compiler/asm/Assembler$LabelHint;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.labelHints:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.asm.Assembler$LabelHint
astore 3
start local 3 1: aload 3
ifnonnull 4
2: aload 1
aload 2
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.requestLabelHint:(Lorg/graalvm/compiler/asm/Label;)Lorg/graalvm/compiler/asm/Assembler$LabelHint;
astore 3
3: aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.labelHints:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.graalvm.compiler.asm.Assembler$LabelHint
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
0 5 1 masm Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;
0 5 2 label Lorg/graalvm/compiler/asm/Label;
1 5 3 hint Lorg/graalvm/compiler/asm/Assembler$LabelHint;
MethodParameters:
Name Flags
masm
label
protected int estimateEmbeddedSize(jdk.vm.ci.meta.Constant);
descriptor: (Ljdk/vm/ci/meta/Constant;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast jdk.vm.ci.meta.JavaConstant
astore 2
start local 2 1: aload 2
invokestatic org.graalvm.compiler.asm.sparc.SPARCAssembler.isSimm13:(Ljdk/vm/ci/meta/JavaConstant;)Z
ifne 3
2: aload 2
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.getByteCount:()I
ireturn
3: StackMap locals: jdk.vm.ci.meta.JavaConstant
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
0 4 1 c Ljdk/vm/ci/meta/Constant;
1 4 2 v Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
c
public org.graalvm.compiler.lir.sparc.SPARCLIRInstructionMixin$SizeEstimate estimateSize();
descriptor: ()Lorg/graalvm/compiler/lir/sparc/SPARCLIRInstructionMixin$SizeEstimate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.keyConstants:[Ljdk/vm/ci/meta/Constant;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp int top int int jdk.vm.ci.meta.Constant[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: iload 1
aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.estimateEmbeddedSize:(Ljdk/vm/ci/meta/Constant;)I
iadd
istore 1
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: new org.graalvm.compiler.lir.sparc.SPARCLIRInstructionMixin$SizeEstimate
dup
iconst_4
aload 0
getfield org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp.keyTargets:[Lorg/graalvm/compiler/lir/LabelRef;
arraylength
imul
iload 1
invokespecial org.graalvm.compiler.lir.sparc.SPARCLIRInstructionMixin$SizeEstimate.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/sparc/SPARCControlFlow$StrategySwitchOp;
1 7 1 constantBytes I
3 4 2 c Ljdk/vm/ci/meta/Constant;
}
SourceFile: "SPARCControlFlow.java"
NestHost: org.graalvm.compiler.lir.sparc.SPARCControlFlow
InnerClasses:
public LabelHint = org.graalvm.compiler.asm.Assembler$LabelHint of org.graalvm.compiler.asm.Assembler
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 StrategySwitchOp = org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp of org.graalvm.compiler.lir.sparc.SPARCControlFlow
public SwitchClosure = org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp$SwitchClosure of org.graalvm.compiler.lir.sparc.SPARCControlFlow$StrategySwitchOp
public SizeEstimate = org.graalvm.compiler.lir.sparc.SPARCLIRInstructionMixin$SizeEstimate of org.graalvm.compiler.lir.sparc.SPARCLIRInstructionMixin
private abstract SwitchClosure = org.graalvm.compiler.lir.SwitchStrategy$SwitchClosure of org.graalvm.compiler.lir.SwitchStrategy