public final class org.graalvm.compiler.lir.profiling.MoveProfiler
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.profiling.MoveProfiler
super_class: java.lang.Object
{
private final org.graalvm.compiler.lir.LIR lir;
descriptor: Lorg/graalvm/compiler/lir/LIR;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.cfg.BlockMap<org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics> blockMap;
descriptor: Lorg/graalvm/compiler/core/common/cfg/BlockMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/cfg/BlockMap<Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;>;
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/profiling/MoveProfiler;
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.profiling.MoveProfiler.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.core.common.cfg.BlockMap<org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics> profile(org.graalvm.compiler.lir.LIR);
descriptor: (Lorg/graalvm/compiler/lir/LIR;)Lorg/graalvm/compiler/core/common/cfg/BlockMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.graalvm.compiler.lir.profiling.MoveProfiler
dup
aload 0
invokespecial org.graalvm.compiler.lir.profiling.MoveProfiler.<init>:(Lorg/graalvm/compiler/lir/LIR;)V
astore 1
start local 1 1: aload 1
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfiler.run:()V
2: aload 1
getfield org.graalvm.compiler.lir.profiling.MoveProfiler.blockMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lir Lorg/graalvm/compiler/lir/LIR;
1 3 1 profiler Lorg/graalvm/compiler/lir/profiling/MoveProfiler;
Signature: (Lorg/graalvm/compiler/lir/LIR;)Lorg/graalvm/compiler/core/common/cfg/BlockMap<Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;>;
MethodParameters:
Name Flags
lir
private void <init>(org.graalvm.compiler.lir.LIR);
descriptor: (Lorg/graalvm/compiler/lir/LIR;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.lir.profiling.MoveProfiler.lir:Lorg/graalvm/compiler/lir/LIR;
2: aload 0
new org.graalvm.compiler.core.common.cfg.BlockMap
dup
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getControlFlowGraph:()Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;
invokespecial org.graalvm.compiler.core.common.cfg.BlockMap.<init>:(Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;)V
putfield org.graalvm.compiler.lir.profiling.MoveProfiler.blockMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfiler;
0 4 1 lir Lorg/graalvm/compiler/lir/LIR;
MethodParameters:
Name Flags
lir
private void run();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfiler.lir: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 4
arraylength
istore 3
iconst_0
istore 2
goto 4
StackMap locals: org.graalvm.compiler.lir.profiling.MoveProfiler top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfiler.doBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
end local 1 3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
iload 3
if_icmplt 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfiler;
2 3 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
private void doBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfiler.lir:Lorg/graalvm/compiler/lir/LIR;
aload 1
invokevirtual org.graalvm.compiler.lir.LIR.getLIRforBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/ArrayList;
astore 2
start local 2 1: getstatic org.graalvm.compiler.lir.profiling.MoveProfiler.$assertionsDisabled:Z
ifne 2
aload 2
invokevirtual java.util.ArrayList.size:()I
iconst_2
if_icmpge 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Malformed block: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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
2: StackMap locals: java.util.ArrayList
StackMap stack:
getstatic org.graalvm.compiler.lir.profiling.MoveProfiler.$assertionsDisabled:Z
ifne 3
aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$BlockEndOp
ifne 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Not a BlockEndOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.profiling.MoveProfiler.$assertionsDisabled:Z
ifne 4
aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
iconst_2
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$BlockEndOp
ifeq 4
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Is a BlockEndOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
iconst_2
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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
4: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.profiling.MoveProfiler.$assertionsDisabled:Z
ifne 5
aload 2
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$LabelOp
ifne 5
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Not a LabelOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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
5: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.lir.profiling.MoveProfiler.$assertionsDisabled:Z
ifne 6
aload 2
iconst_1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
instanceof org.graalvm.compiler.lir.StandardOp$LabelOp
ifeq 6
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Is a LabelOp: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
iconst_1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
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
6: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 7: aload 2
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: org.graalvm.compiler.lir.profiling.MoveProfiler org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.ArrayList org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 4
start local 4 9: aload 4
invokestatic org.graalvm.compiler.lir.StandardOp$MoveOp.isMoveOp:(Lorg/graalvm/compiler/lir/LIRInstruction;)Z
ifeq 14
10: aload 3
ifnonnull 13
11: new org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics
dup
invokespecial org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics.<init>:()V
astore 3
12: aload 0
getfield org.graalvm.compiler.lir.profiling.MoveProfiler.blockMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.put:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
13: StackMap locals: org.graalvm.compiler.lir.profiling.MoveProfiler org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.ArrayList org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics org.graalvm.compiler.lir.LIRInstruction java.util.Iterator
StackMap stack:
aload 3
aload 4
invokestatic org.graalvm.compiler.lir.profiling.MoveType.get:(Lorg/graalvm/compiler/lir/LIRInstruction;)Lorg/graalvm/compiler/lir/profiling/MoveType;
invokevirtual org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics.add:(Lorg/graalvm/compiler/lir/profiling/MoveType;)V
end local 4 14: StackMap locals: org.graalvm.compiler.lir.profiling.MoveProfiler org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.ArrayList org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/lir/profiling/MoveProfiler;
0 16 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 16 2 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
7 16 3 stats Lorg/graalvm/compiler/lir/profiling/MoveProfiler$MoveStatistics;
9 14 4 inst Lorg/graalvm/compiler/lir/LIRInstruction;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
}
SourceFile: "MoveProfiler.java"
NestMembers:
org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics
InnerClasses:
public abstract BlockEndOp = org.graalvm.compiler.lir.StandardOp$BlockEndOp of org.graalvm.compiler.lir.StandardOp
public final LabelOp = org.graalvm.compiler.lir.StandardOp$LabelOp of org.graalvm.compiler.lir.StandardOp
public abstract MoveOp = org.graalvm.compiler.lir.StandardOp$MoveOp of org.graalvm.compiler.lir.StandardOp
MoveStatistics = org.graalvm.compiler.lir.profiling.MoveProfiler$MoveStatistics of org.graalvm.compiler.lir.profiling.MoveProfiler