public class org.graalvm.compiler.core.LIRGenerationPhase extends org.graalvm.compiler.lir.phases.LIRPhase<org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.LIRGenerationPhase
super_class: org.graalvm.compiler.lir.phases.LIRPhase
{
private static final org.graalvm.compiler.debug.CounterKey instructionCounter;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.graalvm.compiler.debug.CounterKey nodeCount;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
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/core/LIRGenerationPhase;
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.core.LIRGenerationPhase.$assertionsDisabled:Z
3: ldc "GeneratedLIRInstructions"
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/CounterKey;
putstatic org.graalvm.compiler.core.LIRGenerationPhase.instructionCounter:Lorg/graalvm/compiler/debug/CounterKey;
4: ldc "FinalNodeCount"
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/CounterKey;
putstatic org.graalvm.compiler.core.LIRGenerationPhase.nodeCount:Lorg/graalvm/compiler/debug/CounterKey;
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.LIRPhase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/LIRGenerationPhase;
protected final void run(jdk.vm.ci.code.TargetDescription, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext);
descriptor: (Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/core/LIRGenerationPhase$LIRGenerationContext;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext.nodeLirBuilder:Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
astore 4
start local 4 1: aload 3
getfield org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 5
start local 5 2: aload 3
getfield org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext.schedule:Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
astore 6
start local 6 3: aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
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;
astore 7
start local 7 4: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 8
StackMap locals: org.graalvm.compiler.core.LIRGenerationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext org.graalvm.compiler.core.gen.NodeLIRBuilder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
5: aload 11
iload 9
aaload
astore 8
start local 8 6: aload 4
aload 8
checkcast org.graalvm.compiler.nodes.cfg.Block
aload 6
invokestatic org.graalvm.compiler.core.LIRGenerationPhase.matchBlock:(Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;)V
end local 8 7: iinc 9 1
StackMap locals:
StackMap stack:
8: iload 9
iload 10
if_icmplt 5
9: aload 7
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 13
StackMap locals:
StackMap stack:
10: aload 11
iload 9
aaload
astore 8
start local 8 11: aload 4
aload 2
aload 8
checkcast org.graalvm.compiler.nodes.cfg.Block
aload 5
aload 6
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getBlockToNodesMap:()Lorg/graalvm/compiler/core/common/cfg/BlockMap;
invokestatic org.graalvm.compiler.core.LIRGenerationPhase.emitBlock:(Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/core/common/cfg/BlockMap;)V
end local 8 12: iinc 9 1
StackMap locals:
StackMap stack:
13: iload 9
iload 10
if_icmplt 10
14: aload 3
getfield org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext.lirGen:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
checkcast org.graalvm.compiler.lir.gen.LIRGenerator
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerator.beforeRegisterAllocation:()V
15: getstatic org.graalvm.compiler.core.LIRGenerationPhase.$assertionsDisabled:Z
ifne 16
aload 2
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
invokestatic org.graalvm.compiler.lir.ssa.SSAUtil.verifySSAForm:(Lorg/graalvm/compiler/lir/LIR;)Z
ifne 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals: org.graalvm.compiler.core.LIRGenerationPhase jdk.vm.ci.code.TargetDescription org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext org.graalvm.compiler.core.gen.NodeLIRBuilder org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
getstatic org.graalvm.compiler.core.LIRGenerationPhase.nodeCount:Lorg/graalvm/compiler/debug/CounterKey;
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
aload 5
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodeCount:()I
i2l
invokeinterface org.graalvm.compiler.debug.CounterKey.add:(Lorg/graalvm/compiler/debug/DebugContext;J)V
17: 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 18 0 this Lorg/graalvm/compiler/core/LIRGenerationPhase;
0 18 1 target Ljdk/vm/ci/code/TargetDescription;
0 18 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 18 3 context Lorg/graalvm/compiler/core/LIRGenerationPhase$LIRGenerationContext;
1 18 4 nodeLirBuilder Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
2 18 5 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 18 6 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
4 18 7 blocks [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
6 7 8 b Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
11 12 8 b Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
MethodParameters:
Name Flags
target
lirGenRes
context
private static void emitBlock(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool, org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.nodes.cfg.Block, org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.core.common.cfg.BlockMap<java.util.List<org.graalvm.compiler.graph.Node>>);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/core/common/cfg/BlockMap;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic org.graalvm.compiler.core.LIRGenerationPhase.$assertionsDisabled:Z
ifne 1
aload 1
aload 2
invokestatic org.graalvm.compiler.core.LIRGenerationPhase.isProcessed:(Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;)Z
ifeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Block already processed "
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
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.core.LIRGenerationPhase.$assertionsDisabled:Z
ifne 2
aload 1
aload 2
invokestatic org.graalvm.compiler.core.LIRGenerationPhase.verifyPredecessors:(Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
aload 4
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.doBlock:(Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/core/common/cfg/BlockMap;)V
3: aload 1
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
astore 5
start local 5 4: aload 5
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 6
start local 6 5: getstatic org.graalvm.compiler.core.LIRGenerationPhase.instructionCounter:Lorg/graalvm/compiler/debug/CounterKey;
aload 6
aload 5
aload 2
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
i2l
invokeinterface org.graalvm.compiler.debug.CounterKey.add:(Lorg/graalvm/compiler/debug/DebugContext;J)V
6: 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 7 0 nodeLirGen Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
0 7 1 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 7 2 b Lorg/graalvm/compiler/nodes/cfg/Block;
0 7 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 7 4 blockMap Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;>;
4 7 5 lir Lorg/graalvm/compiler/lir/LIR;
5 7 6 debug Lorg/graalvm/compiler/debug/DebugContext;
Signature: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/util/List<Lorg/graalvm/compiler/graph/Node;>;>;)V
MethodParameters:
Name Flags
nodeLirGen
lirGenRes
b
graph
blockMap
private static void matchBlock(org.graalvm.compiler.core.gen.NodeLIRBuilder, org.graalvm.compiler.nodes.cfg.Block, org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult);
descriptor: (Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.core.gen.NodeLIRBuilder.matchBlock:(Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 nodeLirGen Lorg/graalvm/compiler/core/gen/NodeLIRBuilder;
0 2 1 b Lorg/graalvm/compiler/nodes/cfg/Block;
0 2 2 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
MethodParameters:
Name Flags
nodeLirGen
b
schedule
private static boolean verifyPredecessors(org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.nodes.cfg.Block);
descriptor: (Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block[]
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.nodes.cfg.Block top int int org.graalvm.compiler.nodes.cfg.Block[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.isLoopHeader:()Z
ifeq 3
aload 2
invokevirtual org.graalvm.compiler.nodes.cfg.Block.isLoopEnd:()Z
ifne 4
3: StackMap locals: org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block int int org.graalvm.compiler.nodes.cfg.Block[]
StackMap stack:
getstatic org.graalvm.compiler.core.LIRGenerationPhase.$assertionsDisabled:Z
ifne 4
aload 0
aload 2
invokestatic org.graalvm.compiler.core.LIRGenerationPhase.isProcessed:(Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;)Z
ifne 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Predecessor not yet processed "
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
end local 2 4: StackMap locals: org.graalvm.compiler.lir.gen.LIRGenerationResult org.graalvm.compiler.nodes.cfg.Block top int int org.graalvm.compiler.nodes.cfg.Block[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 7 1 block Lorg/graalvm/compiler/nodes/cfg/Block;
2 4 2 pred Lorg/graalvm/compiler/nodes/cfg/Block;
MethodParameters:
Name Flags
lirGenRes
block
private static boolean isProcessed(org.graalvm.compiler.lir.gen.LIRGenerationResult, org.graalvm.compiler.nodes.cfg.Block);
descriptor: (Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/nodes/cfg/Block;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.compiler.lir.gen.LIRGenerationResult.getLIR:()Lorg/graalvm/compiler/lir/LIR;
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 2 1 b Lorg/graalvm/compiler/nodes/cfg/Block;
MethodParameters:
Name Flags
lirGenRes
b
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.core.LIRGenerationPhase$LIRGenerationContext
invokevirtual org.graalvm.compiler.core.LIRGenerationPhase.run:(Ljdk/vm/ci/code/TargetDescription;Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;Lorg/graalvm/compiler/core/LIRGenerationPhase$LIRGenerationContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/lir/phases/LIRPhase<Lorg/graalvm/compiler/core/LIRGenerationPhase$LIRGenerationContext;>;
SourceFile: "LIRGenerationPhase.java"
NestMembers:
org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext
InnerClasses:
public final LIRGenerationContext = org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext of org.graalvm.compiler.core.LIRGenerationPhase
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph