public final class org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer
super_class: java.lang.Object
{
private final org.graalvm.compiler.lir.constopt.ConstantTree tree;
descriptor: Lorg/graalvm/compiler/lir/constopt/ConstantTree;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.BitSet visited;
descriptor: Ljava/util/BitSet;
flags: (0x0012) ACC_PRIVATE, 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/lir/constopt/ConstantTreeAnalyzer;
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.constopt.ConstantTreeAnalyzer.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost analyze(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.lir.constopt.ConstantTree, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/lir/constopt/ConstantTree;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 0
ldc "ConstantTreeAnalyzer"
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 5
start local 5 2: new org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer
dup
aload 1
invokespecial org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.<init>:(Lorg/graalvm/compiler/lir/constopt/ConstantTree;)V
astore 6
start local 6 3: aload 6
aload 0
aload 2
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.analyzeBlocks:(Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
4: aload 1
aload 2
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.getCost:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost
5: aload 5
ifnull 6
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
6: StackMap locals: org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.lir.constopt.ConstantTree org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer
StackMap stack: org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost
areturn
end local 6 StackMap locals: org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.lir.constopt.ConstantTree org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack: java.lang.Throwable
7: astore 3
8: aload 5
ifnull 9
aload 5
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 5 StackMap locals:
StackMap stack:
9: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
aload 3
ifnonnull 11
aload 4
astore 3
goto 12
StackMap locals:
StackMap stack:
11: aload 3
aload 4
if_acmpeq 12
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 3
athrow
StackMap locals: org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.lir.constopt.ConstantTree org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack: java.lang.Throwable
13: astore 3
start local 3 14: aload 0
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.handle:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 debug Lorg/graalvm/compiler/debug/DebugContext;
0 15 1 tree Lorg/graalvm/compiler/lir/constopt/ConstantTree;
0 15 2 startBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
2 9 5 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
3 7 6 analyzer Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
14 15 3 e Ljava/lang/Throwable;
Exception table:
from to target type
2 5 7 any
1 6 10 any
7 10 10 any
0 6 13 Class java.lang.Throwable
7 13 13 Class java.lang.Throwable
Signature: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/lir/constopt/ConstantTree;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
MethodParameters:
Name Flags
debug
tree
startBlock
private void <init>(org.graalvm.compiler.lir.constopt.ConstantTree);
descriptor: (Lorg/graalvm/compiler/lir/constopt/ConstantTree;)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.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
2: aload 0
new java.util.BitSet
dup
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.size:()I
invokespecial java.util.BitSet.<init>:(I)V
putfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.visited:Ljava/util/BitSet;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 4 1 tree Lorg/graalvm/compiler/lir/constopt/ConstantTree;
MethodParameters:
Name Flags
tree
private void analyzeBlocks(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 3
start local 3 1: aload 3
aload 2
invokeinterface java.util.Deque.offerLast:(Ljava/lang/Object;)Z
pop
2: goto 31
3: StackMap locals: java.util.Deque
StackMap stack:
aload 3
invokeinterface java.util.Deque.pollLast:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.cfg.AbstractBlockBase
astore 4
start local 4 4: aconst_null
astore 5
aconst_null
astore 6
5: aload 1
iconst_3
ldc "analyze: %s"
aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(ILjava/lang/String;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 7
start local 7 6: getstatic org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.$assertionsDisabled:Z
ifne 7
aload 4
ifnonnull 7
new java.lang.AssertionError
dup
ldc "worklist is empty!"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
7: StackMap locals: org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer org.graalvm.compiler.debug.DebugContext org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.Deque org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack:
getstatic org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.$assertionsDisabled:Z
ifne 8
aload 0
aload 4
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.isMarked:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifne 8
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Block not part of the dominator tree: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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
8: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.isLeafBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifeq 13
9: aload 1
iconst_3
ldc "leaf block"
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;)V
10: aload 0
aload 4
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.leafCost:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
11: aload 7
ifnull 31
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
12: goto 31
13: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.visited:Ljava/util/BitSet;
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
invokevirtual java.util.BitSet.get:(I)Z
ifne 23
14: aload 1
iconst_3
ldc "not marked"
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;)V
15: aload 3
aload 4
invokeinterface java.util.Deque.offerLast:(Ljava/lang/Object;)Z
pop
16: aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getFirstDominated:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 8
start local 8 17: goto 20
18: StackMap locals: org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack:
aload 0
aload 1
aload 3
aload 8
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.filteredPush:(Lorg/graalvm/compiler/debug/DebugContext;Ljava/util/Deque;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
19: aload 8
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getDominatedSibling:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 8
20: StackMap locals:
StackMap stack:
aload 8
ifnonnull 18
21: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.visited:Ljava/util/BitSet;
aload 4
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getId:()I
invokevirtual java.util.BitSet.set:(I)V
end local 8 22: goto 25
23: StackMap locals:
StackMap stack:
aload 1
iconst_3
ldc "marked"
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;)V
24: aload 0
aload 4
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.process:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
25: StackMap locals:
StackMap stack:
aload 7
ifnull 31
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 31
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 5
aload 7
ifnull 27
aload 7
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 7 StackMap locals:
StackMap stack:
27: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
28: astore 6
aload 5
ifnonnull 29
aload 6
astore 5
goto 30
StackMap locals:
StackMap stack:
29: aload 5
aload 6
if_acmpeq 30
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
30: aload 5
athrow
end local 4 31: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 3
32: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 33 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 33 2 startBlock Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 33 3 worklist Ljava/util/Deque<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;>;
4 31 4 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
6 27 7 i Lorg/graalvm/compiler/debug/Indent;
17 22 8 dominated Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Exception table:
from to target type
6 11 26 any
13 25 26 any
5 12 28 any
13 28 28 any
Signature: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
debug
startBlock
private void process(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: dconst_0
dstore 3
start local 3 2: iconst_0
istore 5
start local 5 3: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getFirstDominated:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 6
start local 6 4: goto 12
5: StackMap locals: org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer org.graalvm.compiler.core.common.cfg.AbstractBlockBase java.util.List double int org.graalvm.compiler.core.common.cfg.AbstractBlockBase
StackMap stack:
aload 0
aload 6
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.isMarked:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifeq 11
6: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
aload 6
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.getCost:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost
astore 7
start local 7 7: getstatic org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.$assertionsDisabled:Z
ifne 8
aload 7
ifnonnull 8
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Child with null cost? block: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
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
8: StackMap locals: org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost
StackMap stack:
aload 2
aload 7
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.getUsages:()Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
9: iload 5
aload 7
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.getNumMaterializations:()I
iadd
istore 5
10: dload 3
aload 7
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.getBestCost:()D
dadd
dstore 3
end local 7 11: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.getDominatedSibling:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
astore 6
12: StackMap locals:
StackMap stack:
aload 6
ifnonnull 5
13: getstatic org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.$assertionsDisabled:Z
ifne 14
iload 5
ifgt 14
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "No materialization? "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.getUsages:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/util/List;
astore 7
start local 7 15: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.AbstractBlockBase.probability:()D
dstore 8
start local 8 16: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifeq 17
dload 8
dload 3
iload 5
invokestatic org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.shouldMaterializerInCurrentBlock:(DDI)Z
ifeq 21
17: StackMap locals: java.util.List double
StackMap stack:
aload 2
aload 7
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
18: dload 8
dstore 3
19: iconst_1
istore 5
20: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
getstatic org.graalvm.compiler.lir.constopt.ConstantTree$Flags.CANDIDATE:Lorg/graalvm/compiler/lir/constopt/ConstantTree$Flags;
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.set:(Ljava/lang/Enum;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
21: StackMap locals:
StackMap stack:
new org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost
dup
dload 3
aload 2
iload 5
invokespecial org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost.<init>:(DLjava/util/List;I)V
astore 10
start local 10 22: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
aload 1
aload 10
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.setCost:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
23: return
end local 10 end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 24 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
1 24 2 usages Ljava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
2 24 3 bestCost D
3 24 5 numMat I
4 24 6 child Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
7 11 7 childCost Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
15 24 7 usagesBlock Ljava/util/List<Lorg/graalvm/compiler/lir/constopt/UseEntry;>;
16 24 8 probabilityBlock D
22 24 10 nodeCost Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
private static boolean shouldMaterializerInCurrentBlock(double, double, int);
descriptor: (DDI)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 2 start local 4 0: dload 0
ldc 0.9
iload 4
iconst_1
isub
i2d
invokestatic java.lang.Math.pow:(DD)D
dmul
dload 2
dcmpg
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 probabilityBlock D
0 2 2 probabilityChildren D
0 2 4 numMat I
MethodParameters:
Name Flags
probabilityBlock
probabilityChildren
numMat
private void filteredPush(org.graalvm.compiler.debug.DebugContext, java.util.Deque<org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>>, org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/util/Deque;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.isMarked:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ifeq 3
1: aload 1
iconst_3
ldc "adding %s to the worklist"
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
2: aload 2
aload 3
invokeinterface java.util.Deque.offerLast:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 4 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 4 2 worklist Ljava/util/Deque<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;>;
0 4 3 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/debug/DebugContext;Ljava/util/Deque<Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;>;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
debug
worklist
block
private void leafCost(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
getstatic org.graalvm.compiler.lir.constopt.ConstantTree$Flags.CANDIDATE:Lorg/graalvm/compiler/lir/constopt/ConstantTree$Flags;
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.set:(Ljava/lang/Enum;Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)V
1: aload 0
getfield org.graalvm.compiler.lir.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.getOrInitCost:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Lorg/graalvm/compiler/lir/constopt/ConstantTree$NodeCost;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 3 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)V
MethodParameters:
Name Flags
block
private boolean isMarked(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
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.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.isMarked:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 1 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Z
MethodParameters:
Name Flags
block
private boolean isLeafBlock(org.graalvm.compiler.core.common.cfg.AbstractBlockBase<?>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
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.constopt.ConstantTreeAnalyzer.tree:Lorg/graalvm/compiler/lir/constopt/ConstantTree;
aload 1
invokevirtual org.graalvm.compiler.lir.constopt.ConstantTree.isLeafBlock:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/constopt/ConstantTreeAnalyzer;
0 1 1 block Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;
Signature: (Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase<*>;)Z
MethodParameters:
Name Flags
block
}
SourceFile: "ConstantTreeAnalyzer.java"
InnerClasses:
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public final Flags = org.graalvm.compiler.lir.constopt.ConstantTree$Flags of org.graalvm.compiler.lir.constopt.ConstantTree
public NodeCost = org.graalvm.compiler.lir.constopt.ConstantTree$NodeCost of org.graalvm.compiler.lir.constopt.ConstantTree