public abstract class org.graalvm.compiler.lir.StandardOp$SaveRegistersOp extends org.graalvm.compiler.lir.LIRInstruction
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.lir.StandardOp$SaveRegistersOp
super_class: org.graalvm.compiler.lir.LIRInstruction
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.lir.StandardOp$SaveRegistersOp> 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/StandardOp$SaveRegistersOp;>;
protected final jdk.vm.ci.code.Register[] savedRegisters;
descriptor: [Ljdk/vm/ci/code/Register;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.vm.ci.meta.AllocatableValue[] slots;
descriptor: [Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.LIRInstruction$Def(value = {org.graalvm.compiler.lir.LIRInstruction$OperandFlag.STACK:Lorg/graalvm/compiler/lir/LIRInstruction$OperandFlag;})
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/StandardOp;
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.StandardOp$SaveRegistersOp.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.graalvm.compiler.lir.LIRInstructionClass<? extends org.graalvm.compiler.lir.StandardOp$SaveRegistersOp>, jdk.vm.ci.code.Register[], jdk.vm.ci.meta.AllocatableValue[]);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstructionClass;[Ljdk/vm/ci/code/Register;[Ljdk/vm/ci/meta/AllocatableValue;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.graalvm.compiler.lir.LIRInstruction.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;)V
1: getstatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.$assertionsDisabled:Z
ifne 2
aload 3
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
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:
(Ljava/lang/Object;)Z
org/graalvm/compiler/lir/LIRValueUtil.isVirtualStackSlot(Ljdk/vm/ci/meta/Value;)Z (6)
(Ljdk/vm/ci/meta/AllocatableValue;)Z
invokeinterface java.util.stream.Stream.allMatch:(Ljava/util/function/Predicate;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.lir.StandardOp$SaveRegistersOp org.graalvm.compiler.lir.LIRInstructionClass jdk.vm.ci.code.Register[] jdk.vm.ci.meta.AllocatableValue[]
StackMap stack:
aload 0
aload 2
putfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
3: aload 0
aload 3
putfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
4: return
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/StandardOp$SaveRegistersOp;
0 5 1 c Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;>;
0 5 2 savedRegisters [Ljdk/vm/ci/code/Register;
0 5 3 savedRegisterLocations [Ljdk/vm/ci/meta/AllocatableValue;
Signature: (Lorg/graalvm/compiler/lir/LIRInstructionClass<+Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;>;[Ljdk/vm/ci/code/Register;[Ljdk/vm/ci/meta/AllocatableValue;)V
MethodParameters:
Name Flags
c
savedRegisters
savedRegisterLocations
public int remove(jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register>);
descriptor: (Ljdk/internal/vm/compiler/collections/EconomicSet;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
invokestatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.prune:(Ljdk/internal/vm/compiler/collections/EconomicSet;[Ljdk/vm/ci/code/Register;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;
0 1 1 doNotSave Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
Signature: (Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;)I
MethodParameters:
Name Flags
doNotSave
public jdk.vm.ci.code.RegisterSaveLayout getMap(org.graalvm.compiler.lir.framemap.FrameMap);
descriptor: (Lorg/graalvm/compiler/lir/framemap/FrameMap;)Ljdk/vm/ci/code/RegisterSaveLayout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
iload 3
aaload
ifnull 5
4: iinc 2 1
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
arraylength
if_icmplt 3
end local 3 7: iload 2
anewarray jdk.vm.ci.code.Register
astore 3
start local 3 8: iload 2
newarray 10
astore 4
start local 4 9: iload 2
ifeq 22
10: iconst_0
istore 5
start local 5 11: iconst_0
istore 6
start local 6 12: goto 20
13: StackMap locals: org.graalvm.compiler.lir.StandardOp$SaveRegistersOp org.graalvm.compiler.lir.framemap.FrameMap int jdk.vm.ci.code.Register[] int[] int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
iload 6
aaload
ifnull 19
14: aload 3
iload 5
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
iload 6
aaload
aastore
15: getstatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.$assertionsDisabled:Z
ifne 16
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
iload 6
aaload
invokestatic jdk.vm.ci.code.ValueUtil.isStackSlot:(Ljdk/vm/ci/meta/Value;)Z
ifne 16
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "not a StackSlot: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
iload 6
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
iload 6
aaload
invokestatic jdk.vm.ci.code.ValueUtil.asStackSlot:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/StackSlot;
astore 7
start local 7 17: aload 4
iload 5
aload 1
aload 7
invokestatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.indexForStackSlot:(Lorg/graalvm/compiler/lir/framemap/FrameMap;Ljdk/vm/ci/code/StackSlot;)I
iastore
18: iinc 5 1
end local 7 19: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
arraylength
if_icmplt 13
end local 6 21: getstatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.$assertionsDisabled:Z
ifne 22
iload 5
iload 2
if_icmpeq 22
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 5 22: StackMap locals:
StackMap stack:
new jdk.vm.ci.code.RegisterSaveLayout
dup
aload 3
aload 4
invokespecial jdk.vm.ci.code.RegisterSaveLayout.<init>:([Ljdk/vm/ci/code/Register;[I)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;
0 23 1 frameMap Lorg/graalvm/compiler/lir/framemap/FrameMap;
1 23 2 total I
2 7 3 i I
8 23 3 keys [Ljdk/vm/ci/code/Register;
9 23 4 values [I
11 22 5 mapIndex I
12 21 6 i I
17 19 7 slot Ljdk/vm/ci/code/StackSlot;
MethodParameters:
Name Flags
frameMap
public jdk.vm.ci.code.Register[] getSavedRegisters();
descriptor: ()[Ljdk/vm/ci/code/Register;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;
public jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register> getSaveableRegisters();
descriptor: ()Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicSet;
astore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.savedRegisters:[Ljdk/vm/ci/code/Register;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.graalvm.compiler.lir.StandardOp$SaveRegistersOp jdk.internal.vm.compiler.collections.EconomicSet top int int jdk.vm.ci.code.Register[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;
1 7 1 registers Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
3 4 2 r Ljdk/vm/ci/code/Register;
Signature: ()Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
public jdk.vm.ci.meta.AllocatableValue[] getSlots();
descriptor: ()[Ljdk/vm/ci/meta/AllocatableValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.slots:[Ljdk/vm/ci/meta/AllocatableValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/StandardOp$SaveRegistersOp;
public abstract void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
crb
static int prune(jdk.internal.vm.compiler.collections.EconomicSet<jdk.vm.ci.code.Register>, jdk.vm.ci.code.Register[]);
descriptor: (Ljdk/internal/vm/compiler/collections/EconomicSet;[Ljdk/vm/ci/code/Register;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
aaload
ifnull 7
4: aload 0
aload 1
iload 3
aaload
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.contains:(Ljava/lang/Object;)Z
ifeq 7
5: aload 1
iload 3
aconst_null
aastore
6: iinc 2 1
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 9: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 toRemove Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;
0 10 1 registers [Ljdk/vm/ci/code/Register;
1 10 2 pruned I
2 9 3 i I
Signature: (Ljdk/internal/vm/compiler/collections/EconomicSet<Ljdk/vm/ci/code/Register;>;[Ljdk/vm/ci/code/Register;)I
MethodParameters:
Name Flags
toRemove
registers
private static int indexForStackSlot(org.graalvm.compiler.lir.framemap.FrameMap, jdk.vm.ci.code.StackSlot);
descriptor: (Lorg/graalvm/compiler/lir/framemap/FrameMap;Ljdk/vm/ci/code/StackSlot;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.StandardOp$SaveRegistersOp.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.offsetForStackSlot:(Ljdk/vm/ci/code/StackSlot;)I
aload 0
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.getTarget:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.wordSize:I
irem
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.offsetForStackSlot:(Ljdk/vm/ci/code/StackSlot;)I
aload 0
invokevirtual org.graalvm.compiler.lir.framemap.FrameMap.getTarget:()Ljdk/vm/ci/code/TargetDescription;
getfield jdk.vm.ci.code.TargetDescription.wordSize:I
idiv
istore 2
start local 2 2: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 frameMap Lorg/graalvm/compiler/lir/framemap/FrameMap;
0 3 1 slot Ljdk/vm/ci/code/StackSlot;
2 3 2 value I
MethodParameters:
Name Flags
frameMap
slot
}
SourceFile: "StandardOp.java"
NestHost: org.graalvm.compiler.lir.StandardOp
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Def = org.graalvm.compiler.lir.LIRInstruction$Def of org.graalvm.compiler.lir.LIRInstruction
public final OperandFlag = org.graalvm.compiler.lir.LIRInstruction$OperandFlag of org.graalvm.compiler.lir.LIRInstruction
public abstract SaveRegistersOp = org.graalvm.compiler.lir.StandardOp$SaveRegistersOp of org.graalvm.compiler.lir.StandardOp