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=11, 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/nodes/spi/NodeLIRBuilderTool;
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;
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 7
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.nodes.spi.NodeLIRBuilderTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
4: aload 10
iload 8
aaload
astore 7
start local 7 5: aload 4
aload 2
aload 7
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 7 6: iinc 8 1
StackMap locals:
StackMap stack:
7: iload 8
iload 9
if_icmplt 4
8: aload 3
getfield org.graalvm.compiler.core.LIRGenerationPhase$LIRGenerationContext.lirGen:Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.beforeRegisterAllocation:()V
9: getstatic org.graalvm.compiler.core.LIRGenerationPhase.$assertionsDisabled:Z
ifne 10
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 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: 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.nodes.spi.NodeLIRBuilderTool org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult
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
11: 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 12 0 this Lorg/graalvm/compiler/core/LIRGenerationPhase;
0 12 1 target Ljdk/vm/ci/code/TargetDescription;
0 12 2 lirGenRes Lorg/graalvm/compiler/lir/gen/LIRGenerationResult;
0 12 3 context Lorg/graalvm/compiler/core/LIRGenerationPhase$LIRGenerationContext;
1 12 4 nodeLirBuilder Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
2 12 5 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
3 12 6 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
5 6 7 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 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