final class org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder
super_class: java.lang.Object
{
private final org.graalvm.compiler.core.common.cfg.BlockMap<java.util.BitSet> liveInMap;
descriptor: Lorg/graalvm/compiler/core/common/cfg/BlockMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/util/BitSet;>;
private final org.graalvm.compiler.core.common.cfg.BlockMap<java.util.BitSet> liveOutMap;
descriptor: Lorg/graalvm/compiler/core/common/cfg/BlockMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/util/BitSet;>;
private final org.graalvm.compiler.lir.LIR lir;
descriptor: Lorg/graalvm/compiler/lir/LIR;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxOpId;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.lir.stackslotalloc.StackInterval[] stackSlotMap;
descriptor: [Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.vm.compiler.collections.EconomicSet<org.graalvm.compiler.lir.LIRInstruction> usePos;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
private static final org.graalvm.compiler.debug.CounterKey uninitializedSlots;
descriptor: Lorg/graalvm/compiler/debug/CounterKey;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "StackSlotAllocator[uninitializedSlots]"
invokestatic org.graalvm.compiler.debug.DebugContext.counter:(Ljava/lang/CharSequence;)Lorg/graalvm/compiler/debug/CounterKey;
putstatic org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.uninitializedSlots:Lorg/graalvm/compiler/debug/CounterKey;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.graalvm.compiler.lir.LIR, org.graalvm.compiler.lir.stackslotalloc.StackInterval[], int);
descriptor: (Lorg/graalvm/compiler/lir/LIR;[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;I)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.lir:Lorg/graalvm/compiler/lir/LIR;
2: aload 0
aload 2
putfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
3: aload 0
iload 3
putfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.maxOpId:I
4: 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.stackslotalloc.FixPointIntervalBuilder.liveInMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
5: 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.stackslotalloc.FixPointIntervalBuilder.liveOutMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
6: aload 0
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicSet;
putfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.usePos:Ljdk/internal/vm/compiler/collections/EconomicSet;
7: return
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/stackslotalloc/FixPointIntervalBuilder;
0 8 1 lir Lorg/graalvm/compiler/lir/LIR;
0 8 2 stackSlotMap [Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
0 8 3 maxOpId I
MethodParameters:
Name Flags
lir
stackSlotMap
maxOpId
jdk.internal.vm.compiler.collections.EconomicSet<org.graalvm.compiler.lir.LIRInstruction> build();
descriptor: ()Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=1
start local 0 0: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.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;
astore 2
start local 2 2: aload 2
arraylength
iconst_1
isub
istore 3
start local 3 3: goto 6
4: StackMap locals: java.util.Deque org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 4
end local 3 7: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.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 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder java.util.Deque org.graalvm.compiler.core.common.cfg.AbstractBlockBase[] top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveInMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 3
new java.util.BitSet
dup
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
arraylength
invokespecial java.util.BitSet.<init>:(I)V
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.put:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
end local 3 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 8
12: goto 15
13: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder java.util.Deque org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
aload 1
invokeinterface java.util.Deque.poll:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.AbstractBlockBase
astore 3
start local 3 14: aload 0
aload 3
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.processBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/util/Deque;)V
end local 3 15: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 13
16: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.usePos:Ljdk/internal/vm/compiler/collections/EconomicSet;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
1 17 1 worklist Ljava/util/Deque<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;>;
2 17 2 blocks [Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
3 7 3 i I
9 10 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
14 15 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: ()Ljdk/internal/vm/compiler/collections/EconomicSet<Lorg/graalvm/compiler/lir/LIRInstruction;>;
private boolean updateOutBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new java.util.BitSet
dup
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
arraylength
invokespecial java.util.BitSet.<init>:(I)V
astore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.BitSet top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 2
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveInMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 3
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.BitSet
invokevirtual java.util.BitSet.or:(Ljava/util/BitSet;)V
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveOutMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 3
start local 3 7: aload 3
ifnull 8
aload 2
aload 3
invokevirtual java.util.BitSet.equals:(Ljava/lang/Object;)Z
ifne 10
8: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.BitSet java.util.BitSet
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveOutMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
aload 2
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.put:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 11 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 11 2 union Ljava/util/BitSet;
3 4 3 succ Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
7 11 3 outSet Ljava/util/BitSet;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Z
MethodParameters:
Name Flags
block
private void processBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>, java.util.Deque<org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/util/Deque;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.updateOutBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifeq 30
2: aconst_null
astore 4
aconst_null
astore 5
3: aload 3
ldc "handle block %s"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 6
start local 6 4: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.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 7
start local 7 5: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveOutMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.util.BitSet
astore 8
start local 8 6: aload 0
aload 8
aload 7
invokestatic org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.getBlockEnd:(Ljava/util/ArrayList;)I
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.markOutInterval:(Ljava/util/BitSet;I)V
7: aload 0
ldc "liveOut"
aload 8
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.printLiveSet:(Ljava/lang/String;Ljava/util/BitSet;)V
8: new org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure
dup
aload 0
aload 8
invokevirtual java.util.BitSet.clone:()Ljava/lang/Object;
checkcast java.util.BitSet
invokespecial org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure.<init>:(Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;Ljava/util/BitSet;)V
astore 9
start local 9 9: aload 7
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
istore 10
start local 10 10: goto 14
11: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.util.ArrayList java.util.BitSet org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure int
StackMap stack:
aload 7
iload 10
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
astore 11
start local 11 12: aload 9
aload 11
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure.processInstructionBottomUp:(Lorg/graalvm/compiler/lir/LIRInstruction;)V
end local 11 13: iinc 10 -1
StackMap locals:
StackMap stack:
14: iload 10
ifge 11
end local 10 15: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 19
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent java.util.ArrayList java.util.BitSet org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure top int int org.graalvm.compiler.core.common.cfg.AbstractBlockBase[]
StackMap stack:
16: aload 13
iload 11
aaload
astore 10
start local 10 17: aload 2
aload 10
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
end local 10 18: iinc 11 1
StackMap locals:
StackMap stack:
19: iload 11
iload 12
if_icmplt 16
20: aload 9
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure.getCurrentSet:()Ljava/util/BitSet;
astore 10
start local 10 21: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveInMap:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
aload 10
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.put:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
22: aload 0
aload 10
aload 7
invokestatic org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.getBlockBegin:(Ljava/util/ArrayList;)I
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.markInInterval:(Ljava/util/BitSet;I)V
23: aload 0
ldc "liveIn"
aload 10
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.printLiveSet:(Ljava/lang/String;Ljava/util/BitSet;)V
end local 10 end local 9 end local 8 end local 7 24: aload 6
ifnull 30
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 30
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
25: astore 4
aload 6
ifnull 26
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 6 StackMap locals:
StackMap stack:
26: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 5
aload 4
ifnonnull 28
aload 5
astore 4
goto 29
StackMap locals:
StackMap stack:
28: aload 4
aload 5
if_acmpeq 29
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
29: aload 4
athrow
30: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 31 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
0 31 2 worklist Ljava/util/Deque<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;>;
1 31 3 debug Lorg/graalvm/compiler/debug/DebugContext;
4 26 6 indent Lorg/graalvm/compiler/debug/Indent;
5 24 7 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
6 24 8 outSet Ljava/util/BitSet;
9 24 9 closure Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder$BlockClosure;
10 15 10 i I
12 13 11 inst Lorg/graalvm/compiler/lir/LIRInstruction;
17 18 10 b Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
21 24 10 inSet Ljava/util/BitSet;
Exception table:
from to target type
4 24 25 any
3 27 27 any
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;Ljava/util/Deque<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;>;)V
MethodParameters:
Name Flags
block
worklist
private void printLiveSet(java.lang.String, java.util.BitSet);
descriptor: (Ljava/lang/String;Ljava/util/BitSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 1: aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:()Z
ifeq 11
2: aconst_null
astore 4
aconst_null
astore 5
3: aload 3
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;)Lorg/graalvm/compiler/debug/Indent;
astore 6
start local 6 4: aload 3
ldc "%s"
aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.liveSetToString:(Ljava/util/BitSet;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 6
ifnull 11
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 11
StackMap locals: org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder java.lang.String java.util.BitSet org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
6: astore 4
aload 6
ifnull 7
aload 6
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 6 StackMap locals:
StackMap stack:
7: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 5
aload 4
ifnonnull 9
aload 5
astore 4
goto 10
StackMap locals:
StackMap stack:
9: aload 4
aload 5
if_acmpeq 10
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 4
athrow
11: StackMap locals:
StackMap stack:
return
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/lir/stackslotalloc/FixPointIntervalBuilder;
0 12 1 label Ljava/lang/String;
0 12 2 liveSet Ljava/util/BitSet;
1 12 3 debug Lorg/graalvm/compiler/debug/DebugContext;
4 7 6 indent Lorg/graalvm/compiler/debug/Indent;
Exception table:
from to target type
4 5 6 any
3 8 8 any
MethodParameters:
Name Flags
label
liveSet
private java.lang.String liveSetToString(java.util.BitSet);
descriptor: (Ljava/util/BitSet;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 1
iconst_0
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 3
start local 3 2: goto 6
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 3
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.getIntervalFromStackId:(I)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
astore 4
start local 4 4: aload 2
aload 4
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.getOperand:()Lorg/graalvm/compiler/lir/VirtualStackSlot;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 5: aload 1
iload 3
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 3
StackMap locals:
StackMap stack:
6: iload 3
ifge 3
end local 3 7: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 8 1 liveSet Ljava/util/BitSet;
1 8 2 sb Ljava/lang/StringBuilder;
2 7 3 i I
4 5 4 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
MethodParameters:
Name Flags
liveSet
private void markOutInterval(java.util.BitSet, int);
descriptor: (Ljava/util/BitSet;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 1: aload 1
iconst_0
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 4
start local 4 2: goto 7
3: StackMap locals: org.graalvm.compiler.debug.DebugContext int
StackMap stack:
aload 0
iload 4
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.getIntervalFromStackId:(I)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
astore 5
start local 5 4: aload 3
ldc "mark live operand: %s"
aload 5
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.getOperand:()Lorg/graalvm/compiler/lir/VirtualStackSlot;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 5
iload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.addTo:(I)V
end local 5 6: aload 1
iload 4
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 4
StackMap locals:
StackMap stack:
7: iload 4
ifge 3
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 9 1 outSet Ljava/util/BitSet;
0 9 2 blockEndOpId I
1 9 3 debug Lorg/graalvm/compiler/debug/DebugContext;
2 8 4 i I
4 6 5 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
MethodParameters:
Name Flags
outSet
blockEndOpId
private void markInInterval(java.util.BitSet, int);
descriptor: (Ljava/util/BitSet;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.lir:Lorg/graalvm/compiler/lir/LIR;
invokevirtual org.graalvm.compiler.lir.LIR.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 1: aload 1
iconst_0
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 4
start local 4 2: goto 7
3: StackMap locals: org.graalvm.compiler.debug.DebugContext int
StackMap stack:
aload 0
iload 4
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.getIntervalFromStackId:(I)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
astore 5
start local 5 4: aload 3
ldc "mark live operand: %s"
aload 5
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.getOperand:()Lorg/graalvm/compiler/lir/VirtualStackSlot;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 5
iload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.StackInterval.addFrom:(I)V
end local 5 6: aload 1
iload 4
iconst_1
iadd
invokevirtual java.util.BitSet.nextSetBit:(I)I
istore 4
StackMap locals:
StackMap stack:
7: iload 4
ifge 3
end local 4 8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 9 1 inSet Ljava/util/BitSet;
0 9 2 blockFirstOpId I
1 9 3 debug Lorg/graalvm/compiler/debug/DebugContext;
2 8 4 i I
4 6 5 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
MethodParameters:
Name Flags
inSet
blockFirstOpId
private org.graalvm.compiler.lir.stackslotalloc.StackInterval get(org.graalvm.compiler.lir.VirtualStackSlot);
descriptor: (Lorg/graalvm/compiler/lir/VirtualStackSlot;)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
aload 1
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getId:()I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 1 1 stackSlot Lorg/graalvm/compiler/lir/VirtualStackSlot;
MethodParameters:
Name Flags
stackSlot
private void put(org.graalvm.compiler.lir.VirtualStackSlot, org.graalvm.compiler.lir.stackslotalloc.StackInterval);
descriptor: (Lorg/graalvm/compiler/lir/VirtualStackSlot;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
aload 1
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getId:()I
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 2 1 stackSlot Lorg/graalvm/compiler/lir/VirtualStackSlot;
0 2 2 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
MethodParameters:
Name Flags
stackSlot
interval
private org.graalvm.compiler.lir.stackslotalloc.StackInterval getOrCreateInterval(org.graalvm.compiler.lir.VirtualStackSlot);
descriptor: (Lorg/graalvm/compiler/lir/VirtualStackSlot;)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.get:(Lorg/graalvm/compiler/lir/VirtualStackSlot;)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new org.graalvm.compiler.lir.stackslotalloc.StackInterval
dup
aload 1
aload 1
invokevirtual org.graalvm.compiler.lir.VirtualStackSlot.getValueKind:()Ljdk/vm/ci/meta/ValueKind;
invokespecial org.graalvm.compiler.lir.stackslotalloc.StackInterval.<init>:(Lorg/graalvm/compiler/lir/VirtualStackSlot;Ljdk/vm/ci/meta/ValueKind;)V
astore 2
3: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.put:(Lorg/graalvm/compiler/lir/VirtualStackSlot;Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;)V
4: StackMap locals: org.graalvm.compiler.lir.stackslotalloc.StackInterval
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 5 1 stackSlot Lorg/graalvm/compiler/lir/VirtualStackSlot;
1 5 2 interval Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
MethodParameters:
Name Flags
stackSlot
private org.graalvm.compiler.lir.stackslotalloc.StackInterval getIntervalFromStackId(int);
descriptor: (I)Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder.stackSlotMap:[Lorg/graalvm/compiler/lir/stackslotalloc/StackInterval;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/stackslotalloc/FixPointIntervalBuilder;
0 1 1 id I
MethodParameters:
Name Flags
id
private static int getBlockBegin(java.util.ArrayList<org.graalvm.compiler.lir.LIRInstruction>);
descriptor: (Ljava/util/ArrayList;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
invokevirtual org.graalvm.compiler.lir.LIRInstruction.id:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
Signature: (Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;)I
MethodParameters:
Name Flags
instructions
private static int getBlockEnd(java.util.ArrayList<org.graalvm.compiler.lir.LIRInstruction>);
descriptor: (Ljava/util/ArrayList;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.LIRInstruction
invokevirtual org.graalvm.compiler.lir.LIRInstruction.id:()I
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 instructions Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;
Signature: (Ljava/util/ArrayList<Lorg/graalvm/compiler/lir/LIRInstruction;>;)I
MethodParameters:
Name Flags
instructions
}
SourceFile: "FixPointIntervalBuilder.java"
NestMembers:
org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure$1 org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure$2 org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure$3
InnerClasses:
private final BlockClosure = org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder$BlockClosure of org.graalvm.compiler.lir.stackslotalloc.FixPointIntervalBuilder