public class org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase extends org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase
super_class: org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase
{
private static final org.graalvm.compiler.debug.DebugCounter eliminatedBackup;
descriptor: Lorg/graalvm/compiler/debug/DebugCounter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, 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/amd64/phases/StackMoveOptimizationPhase;
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.amd64.phases.StackMoveOptimizationPhase.$assertionsDisabled:Z
3: ldc "StackMoveOptimizer[EliminatedScratchBackupRestore]"
invokestatic org.graalvm.compiler.debug.Debug.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/DebugCounter;
putstatic org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase.eliminatedBackup:Lorg/graalvm/compiler/debug/DebugCounter;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/amd64/phases/StackMoveOptimizationPhase;
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 4
start local 4 1: aload 4
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokeinterface org.graalvm.compiler.core.common.cfg.AbstractControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 6
StackMap locals: org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext org.graalvm.compiler.lir.LIR top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
2: aload 8
iload 6
aaload
astore 5
start local 5 3: aload 4
aload 5
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 9
start local 9 4: new org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Closure
dup
invokespecial org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Closure.<init>:()V
aload 9
invokevirtual org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Closure.process:(Ljava/util/List;)V
end local 9 end local 5 5: iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
iload 7
if_icmplt 2
7: return
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/phases/StackMoveOptimizationPhase;
0 8 1 target Ljdk/vm/ci/code/TargetDescription;
0 8 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 8 3 context Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;
1 8 4 lir Lorg/graalvm/compiler/lir/LIR;
3 5 5 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
4 5 9 instructions Ljava/util/List<Lorg/graalvm/compiler/lir/LIRInstruction;>;
MethodParameters:
Name Flags
target
lirGenRes
context
private static org.graalvm.compiler.lir.amd64.AMD64Move$AMD64StackMove asStackMove(org.graalvm.compiler.lir.LIRInstruction);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;)Lorg/graalvm/compiler/lir/amd64/AMD64Move$AMD64StackMove;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase.isStackMove:(Lorg/graalvm/compiler/lir/LIRInstruction;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.graalvm.compiler.lir.amd64.AMD64Move$AMD64StackMove
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 inst Lorg/graalvm/compiler/lir/LIRInstruction;
MethodParameters:
Name Flags
inst
private static boolean isStackMove(org.graalvm.compiler.lir.LIRInstruction);
descriptor: (Lorg/graalvm/compiler/lir/LIRInstruction;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.lir.amd64.AMD64Move$AMD64StackMove
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inst Lorg/graalvm/compiler/lir/LIRInstruction;
MethodParameters:
Name Flags
inst
protected void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, java.lang.Object);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Ljava/lang/Object;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
checkcast org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext
invokevirtual org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase.run:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/phases/PostAllocationOptimizationPhase$PostAllocationOptimizationContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "StackMoveOptimizationPhase.java"
NestMembers:
org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Closure org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Options
InnerClasses:
public final AMD64StackMove = org.graalvm.compiler.lir.amd64.AMD64Move$AMD64StackMove of org.graalvm.compiler.lir.amd64.AMD64Move
private Closure = org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Closure of org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase
public Options = org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase$Options of org.graalvm.compiler.lir.amd64.phases.StackMoveOptimizationPhase
public final PostAllocationOptimizationContext = org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase$PostAllocationOptimizationContext of org.graalvm.compiler.lir.phases.PostAllocationOptimizationPhase