public final class org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase
super_class: java.lang.Object
{
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/alloc/trace/TraceGlobalMoveResolutionPhase;
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.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase;
public static void resolve(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 4
start local 4 2: aload 4
iconst_3
aload 3
ldc "Before TraceGlobalMoveResultion"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
3: aload 2
getfield org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.spillMoveFactory:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
astore 5
start local 5 4: aload 2
getfield org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.resultTraces:Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
aload 1
aload 5
aload 0
getfield jdk.vm.ci.code.TargetDescription.arch:Ljdk/vm/ci/code/Architecture;
aload 2
getfield org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.livenessInfo:Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
aload 2
getfield org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext.registerAllocationConfig:Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.resolveGlobalDataFlow:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;Ljdk/vm/ci/code/Architecture;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;)V
5: return
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 6 0 target Ljdk/vm/ci/code/TargetDescription;
0 6 1 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 6 2 context Lorg/graalvm/compiler/lir/alloc/trace/TraceAllocationPhase$TraceAllocationContext;
1 6 3 lir Lorg/graalvm/compiler/lir/LIR;
2 6 4 debug Lorg/graalvm/compiler/debug/DebugContext;
4 6 5 spillMoveFactory Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
MethodParameters:
Name Flags
target
lirGenRes
context
private static void resolveGlobalDataFlow(org.graalvm.compiler.core.common.alloc.TraceBuilderResult, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory, jdk.vm.ci.code.Architecture, org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo, org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig);
descriptor: (Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;Ljdk/vm/ci/code/Architecture;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 6
start local 6 1: new org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver
dup
aload 1
aload 2
aload 5
aload 3
invokespecial org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver.<init>:(Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;Ljdk/vm/ci/code/Architecture;)V
astore 7
start local 7 2: aload 6
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 8
start local 8 3: aconst_null
astore 9
aconst_null
astore 10
4: aload 8
ldc "Trace global move resolution"
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
astore 11
start local 11 5: aload 0
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraces:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 13
goto 8
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory jdk.vm.ci.code.Architecture org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent top java.util.Iterator
StackMap stack:
6: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.alloc.Trace
astore 12
start local 12 7: aload 0
aload 4
aload 6
aload 7
aload 12
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.resolveTrace:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/alloc/Trace;)V
end local 12 8: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 11
ifnull 15
aload 11
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 15
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory jdk.vm.ci.code.Architecture org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.core.common.alloc.RegisterAllocationConfig org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
10: astore 9
aload 11
ifnull 11
aload 11
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 11 StackMap locals:
StackMap stack:
11: aload 9
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 10
aload 9
ifnonnull 13
aload 10
astore 9
goto 14
StackMap locals:
StackMap stack:
13: aload 9
aload 10
if_acmpeq 14
aload 9
aload 10
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 9
athrow
15: StackMap locals:
StackMap stack:
return
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 16 0 resultTraces Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
0 16 1 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 16 2 spillMoveFactory Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool$MoveFactory;
0 16 3 arch Ljdk/vm/ci/code/Architecture;
0 16 4 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
0 16 5 registerAllocationConfig Lorg/graalvm/compiler/core/common/alloc/RegisterAllocationConfig;
1 16 6 lir Lorg/graalvm/compiler/lir/LIR;
2 16 7 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;
3 16 8 debug Lorg/graalvm/compiler/debug/DebugContext;
5 11 11 indent Lorg/graalvm/compiler/debug/Indent;
7 8 12 trace Lorg/graalvm/compiler/core/common/alloc/Trace;
Exception table:
from to target type
5 9 10 any
4 12 12 any
MethodParameters:
Name Flags
resultTraces
lirGenRes
spillMoveFactory
arch
livenessInfo
registerAllocationConfig
private static void resolveTrace(org.graalvm.compiler.core.common.alloc.TraceBuilderResult, org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo, org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver, org.graalvm.compiler.core.common.alloc.Trace);
descriptor: (Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/alloc/Trace;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=14, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual org.graalvm.compiler.core.common.alloc.Trace.getBlocks:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 5
start local 5 1: aload 5
arraylength
istore 6
start local 6 2: aload 5
iconst_0
aaload
astore 7
start local 7 3: iconst_1
istore 8
start local 8 4: goto 15
5: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.core.common.alloc.Trace org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int
StackMap stack:
aload 7
astore 9
start local 9 6: aload 5
iload 8
aaload
astore 7
7: aload 9
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessorCount:()I
iconst_1
if_icmple 14
8: aload 9
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 13
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.core.common.alloc.Trace org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int org.graalvm.compiler.core.common.cfg.AbstractBlockBase top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
9: aload 13
iload 11
aaload
astore 10
start local 10 10: aload 10
aload 7
if_acmpeq 12
11: aload 0
aload 1
aload 2
aload 3
aload 9
aload 10
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.interTraceEdge:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
end local 10 12: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
13: iload 11
iload 12
if_icmplt 9
end local 9 14: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.core.common.alloc.Trace org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase int
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
iload 6
if_icmplt 5
end local 8 16: getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 17
aload 7
aload 5
iload 6
iconst_1
isub
aaload
if_acmpeq 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
aload 7
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 22
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.core.common.alloc.Trace org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int org.graalvm.compiler.core.common.cfg.AbstractBlockBase top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
18: aload 11
iload 9
aaload
astore 8
start local 8 19: aload 0
aload 7
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraceForBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/alloc/Trace;
aload 0
aload 8
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraceForBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/alloc/Trace;
if_acmpeq 21
20: aload 0
aload 1
aload 2
aload 3
aload 7
aload 8
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.interTraceEdge:(Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
end local 8 21: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
22: iload 9
iload 10
if_icmplt 18
23: 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 24 0 resultTraces Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
0 24 1 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
0 24 2 lir Lorg/graalvm/compiler/lir/LIR;
0 24 3 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;
0 24 4 trace Lorg/graalvm/compiler/core/common/alloc/Trace;
1 24 5 traceBlocks [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
2 24 6 traceLength I
3 24 7 nextBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
4 16 8 i I
6 14 9 fromBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
10 12 10 toBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
19 21 8 toBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
MethodParameters:
Name Flags
resultTraces
livenessInfo
lir
moveResolver
trace
private static void interTraceEdge(org.graalvm.compiler.core.common.alloc.TraceBuilderResult, org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo, org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 6
start local 6 1: aconst_null
astore 7
aconst_null
astore 8
2: aload 6
ldc "Handle trace edge from %s (Trace%d) to %s (Trace%d)"
aload 4
aload 0
aload 4
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraceForBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/alloc/Trace;
invokevirtual org.graalvm.compiler.core.common.alloc.Trace.getId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 5
3: aload 0
aload 5
invokevirtual org.graalvm.compiler.core.common.alloc.TraceBuilderResult.getTraceForBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/core/common/alloc/Trace;
invokevirtual org.graalvm.compiler.core.common.alloc.Trace.getId:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
4: invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 9
start local 9 5: aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessorCount:()I
iconst_1
if_icmpne 9
6: aload 2
aload 4
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 10
start local 10 7: aload 10
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 11
start local 11 8: goto 12
end local 11 end local 10 9: StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 10
aload 5
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessorCount:()I
iconst_1
if_icmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 2
aload 5
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 10
start local 10 11: iconst_1
istore 11
start local 11 12: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 3
aload 10
iload 11
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver.setInsertPosition:(Ljava/util/ArrayList;I)V
13: aload 2
aload 1
aload 3
aload 4
aload 5
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.resolveEdge:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
14: aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver.resolveAndAppendMoves:()V
end local 11 end local 10 15: aload 9
ifnull 21
aload 9
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 21
StackMap locals: org.graalvm.compiler.core.common.alloc.TraceBuilderResult org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo org.graalvm.compiler.lir.LIR org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.core.common.cfg.AbstractBlockBase org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
16: astore 7
aload 9
ifnull 17
aload 9
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 9 StackMap locals:
StackMap stack:
17: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 8
aload 7
ifnonnull 19
aload 8
astore 7
goto 20
StackMap locals:
StackMap stack:
19: aload 7
aload 8
if_acmpeq 20
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 7
athrow
21: StackMap locals:
StackMap stack:
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 22 0 resultTraces Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;
0 22 1 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
0 22 2 lir Lorg/graalvm/compiler/lir/LIR;
0 22 3 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;
0 22 4 fromBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 22 5 toBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 22 6 debug Lorg/graalvm/compiler/debug/DebugContext;
5 17 9 indent0 Lorg/graalvm/compiler/debug/Indent;
7 9 10 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
11 15 10 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
8 9 11 insertIdx I
12 15 11 insertIdx I
Exception table:
from to target type
5 15 16 any
2 18 18 any
Signature: (Lorg/graalvm/compiler/core/common/alloc/TraceBuilderResult;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
resultTraces
livenessInfo
lir
moveResolver
fromBlock
toBlock
private static void resolveEdge(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo, org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolver, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 1
aload 3
aload 4
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.verifyEdge:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 4
invokestatic org.graalvm.compiler.lir.ssa.SSAUtil.isMerge:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifeq 11
2: aload 0
aload 3
invokestatic org.graalvm.compiler.lir.ssa.SSAUtil.phiOut:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/lir/StandardOp$JumpOp;
astore 5
start local 5 3: aload 0
aload 4
invokestatic org.graalvm.compiler.lir.ssa.SSAUtil.phiIn:(Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/lir/StandardOp$LabelOp;
astore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 10
6: StackMap locals: org.graalvm.compiler.lir.StandardOp$JumpOp org.graalvm.compiler.lir.StandardOp$LabelOp int
StackMap stack:
aload 6
iload 7
invokevirtual org.graalvm.compiler.lir.StandardOp$LabelOp.getIncomingValue:(I)Ljdk/vm/ci/meta/Value;
astore 8
start local 8 7: aload 5
iload 7
invokevirtual org.graalvm.compiler.lir.StandardOp$JumpOp.getOutgoingValue:(I)Ljdk/vm/ci/meta/Value;
astore 9
start local 9 8: aload 2
aload 9
aload 8
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
end local 9 end local 8 9: iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
aload 6
invokevirtual org.graalvm.compiler.lir.StandardOp$LabelOp.getPhiSize:()I
if_icmplt 6
end local 7 end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.getOutLocation:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)[Ljdk/vm/ci/meta/Value;
astore 5
start local 5 12: aload 1
aload 4
invokevirtual org.graalvm.compiler.lir.alloc.trace.GlobalLivenessInfo.getInLocation:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)[Ljdk/vm/ci/meta/Value;
astore 6
start local 6 13: aload 5
aload 6
if_acmpne 15
14: return
15: StackMap locals: jdk.vm.ci.meta.Value[] jdk.vm.ci.meta.Value[]
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 16
aload 5
arraylength
aload 6
arraylength
if_icmpeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 17: goto 20
18: StackMap locals: int
StackMap stack:
aload 2
aload 5
iload 7
aaload
aload 6
iload 7
aaload
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
19: iinc 7 1
StackMap locals:
StackMap stack:
20: iload 7
aload 5
arraylength
if_icmplt 18
end local 7 21: 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 22 0 lir Lorg/graalvm/compiler/lir/LIR;
0 22 1 livenessInfo Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;
0 22 2 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;
0 22 3 fromBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 22 4 toBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
3 11 5 blockEnd Lorg/graalvm/compiler/lir/StandardOp$JumpOp;
4 11 6 label Lorg/graalvm/compiler/lir/StandardOp$LabelOp;
5 11 7 i I
7 9 8 in Ljdk/vm/ci/meta/Value;
8 9 9 out Ljdk/vm/ci/meta/Value;
12 22 5 locFrom [Ljdk/vm/ci/meta/Value;
13 22 6 locTo [Ljdk/vm/ci/meta/Value;
17 21 7 i I
Signature: (Lorg/graalvm/compiler/lir/LIR;Lorg/graalvm/compiler/lir/alloc/trace/GlobalLivenessInfo;Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolver;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
lir
livenessInfo
moveResolver
fromBlock
toBlock
private static boolean isIllegalDestination(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.vm.ci.code.ValueUtil.isIllegal:(Ljdk/vm/ci/meta/Value;)Z
ifne 1
aload 0
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isConstantValue:(Ljdk/vm/ci/meta/Value;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 to Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
to
private static boolean verifyEdge(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 0
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 3
new java.lang.AssertionError
dup
ldc "%s not in predecessor list: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
1: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 6
aload 0
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessorCount:()I
iconst_1
if_icmpeq 6
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessorCount:()I
iconst_1
if_icmpeq 6
new java.lang.AssertionError
dup
ldc "Critical Edge? %s has %d successors and %s has %d predecessors"
iconst_4
anewarray java.lang.Object
dup
iconst_0
4: aload 0
aastore
dup
iconst_1
aload 0
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessorCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
aastore
dup
iconst_3
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessorCount:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 9
aload 0
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 9
new java.lang.AssertionError
dup
ldc "Predecessor block %s has wrong successor: %s, should contain: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
7: aload 0
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_2
aload 1
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 fromBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 10 1 toBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Z
MethodParameters:
Name Flags
fromBlock
toBlock
public static void addMapping(org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.isIllegalDestination:(Ljdk/vm/ci/meta/Value;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.isShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Z
ifeq 7
3: aload 2
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.asShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
astore 3
start local 3 4: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.getRegister:()Ljdk/vm/ci/code/RegisterValue;
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMappingToRegister:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/code/RegisterValue;)V
5: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.getStackSlot:()Ljdk/vm/ci/meta/AllocatableValue;
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMappingToStackSlot:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;)V
end local 3 6: goto 12
7: StackMap locals:
StackMap stack:
aload 2
invokestatic jdk.vm.ci.code.ValueUtil.isRegister:(Ljdk/vm/ci/meta/Value;)Z
ifeq 10
8: aload 0
aload 1
aload 2
invokestatic jdk.vm.ci.code.ValueUtil.asRegisterValue:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/RegisterValue;
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMappingToRegister:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/code/RegisterValue;)V
9: goto 12
10: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.$assertionsDisabled:Z
ifne 11
aload 2
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isStackSlotValue:(Ljdk/vm/ci/meta/Value;)Z
ifne 11
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Expected stack slot: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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
11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
checkcast jdk.vm.ci.meta.AllocatableValue
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.addMappingToStackSlot:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;
0 13 1 from Ljdk/vm/ci/meta/Value;
0 13 2 to Ljdk/vm/ci/meta/Value;
4 6 3 toSh Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
MethodParameters:
Name Flags
moveResolver
from
to
private static void addMappingToRegister(org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver, jdk.vm.ci.meta.Value, jdk.vm.ci.code.RegisterValue);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/code/RegisterValue;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.isShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Z
ifeq 5
1: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.asShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
invokevirtual org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.getRegister:()Ljdk/vm/ci/code/RegisterValue;
astore 3
start local 3 2: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.asShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
invokevirtual org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.getStackSlot:()Ljdk/vm/ci/meta/AllocatableValue;
astore 4
start local 4 3: aload 0
aload 3
aload 2
aload 4
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.checkAndAddMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)V
end local 4 end local 3 4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aconst_null
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.checkAndAddMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;
0 7 1 from Ljdk/vm/ci/meta/Value;
0 7 2 register Ljdk/vm/ci/code/RegisterValue;
2 4 3 fromReg Ljdk/vm/ci/code/RegisterValue;
3 4 4 fromStack Ljdk/vm/ci/meta/AllocatableValue;
MethodParameters:
Name Flags
moveResolver
from
register
private static void addMappingToStackSlot(org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.AllocatableValue);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.isShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Z
ifeq 7
1: aload 1
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceUtil.asShadowedRegisterValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
astore 3
start local 3 2: aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.getRegister:()Ljdk/vm/ci/code/RegisterValue;
astore 4
start local 4 3: aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.ShadowedRegisterValue.getStackSlot:()Ljdk/vm/ci/meta/AllocatableValue;
astore 5
start local 5 4: aload 5
aload 2
invokevirtual jdk.vm.ci.meta.AllocatableValue.equals:(Ljava/lang/Object;)Z
ifne 8
5: aload 0
aload 4
aload 2
aload 5
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.checkAndAddMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)V
end local 5 end local 4 end local 3 6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aconst_null
invokestatic org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase.checkAndAddMapping:(Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;
0 9 1 from Ljdk/vm/ci/meta/Value;
0 9 2 stack Ljdk/vm/ci/meta/AllocatableValue;
2 6 3 shadowedFrom Lorg/graalvm/compiler/lir/alloc/trace/ShadowedRegisterValue;
3 6 4 fromReg Ljdk/vm/ci/code/RegisterValue;
4 6 5 fromStack Ljdk/vm/ci/meta/AllocatableValue;
MethodParameters:
Name Flags
moveResolver
from
stack
private static void checkAndAddMapping(org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.AllocatableValue, jdk.vm.ci.meta.AllocatableValue);
descriptor: (Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/AllocatableValue;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual jdk.vm.ci.meta.Value.equals:(Ljava/lang/Object;)Z
ifne 2
aload 3
ifnull 1
aload 3
aload 2
invokevirtual jdk.vm.ci.meta.AllocatableValue.equals:(Ljava/lang/Object;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver.addMapping:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/AllocatableValue;Ljdk/vm/ci/meta/Value;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 moveResolver Lorg/graalvm/compiler/lir/alloc/trace/TraceGlobalMoveResolutionPhase$MoveResolver;
0 3 1 from Ljdk/vm/ci/meta/Value;
0 3 2 to Ljdk/vm/ci/meta/AllocatableValue;
0 3 3 fromStack Ljdk/vm/ci/meta/AllocatableValue;
MethodParameters:
Name Flags
moveResolver
from
to
fromStack
}
SourceFile: "TraceGlobalMoveResolutionPhase.java"
NestMembers:
org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver
InnerClasses:
public JumpOp = org.graalvm.compiler.lir.StandardOp$JumpOp of org.graalvm.compiler.lir.StandardOp
public final LabelOp = org.graalvm.compiler.lir.StandardOp$LabelOp of org.graalvm.compiler.lir.StandardOp
public TraceAllocationContext = org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase$TraceAllocationContext of org.graalvm.compiler.lir.alloc.trace.TraceAllocationPhase
public abstract MoveResolver = org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase$MoveResolver of org.graalvm.compiler.lir.alloc.trace.TraceGlobalMoveResolutionPhase
public abstract MoveFactory = org.graalvm.compiler.lir.gen.LIRGeneratorTool$MoveFactory of org.graalvm.compiler.lir.gen.LIRGeneratorTool