public abstract class org.graalvm.compiler.virtual.phases.ea.EffectsClosure<BlockT extends org.graalvm.compiler.virtual.phases.ea.EffectsBlockState<BlockT>> extends org.graalvm.compiler.virtual.phases.ea.EffectsPhase$Closure<BlockT>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.virtual.phases.ea.EffectsClosure
super_class: org.graalvm.compiler.virtual.phases.ea.EffectsPhase$Closure
{
protected final org.graalvm.compiler.nodes.cfg.ControlFlowGraph cfg;
descriptor: Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult schedule;
descriptor: Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.graph.NodeMap<org.graalvm.compiler.nodes.ValueNode> aliases;
descriptor: Lorg/graalvm/compiler/graph/NodeMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/ValueNode;>;
private final org.graalvm.compiler.graph.NodeBitMap hasScalarReplacedInputs;
descriptor: Lorg/graalvm/compiler/graph/NodeBitMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final org.graalvm.compiler.core.common.cfg.BlockMap<org.graalvm.compiler.virtual.phases.ea.GraphEffectList> blockEffects;
descriptor: Lorg/graalvm/compiler/core/common/cfg/BlockMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/cfg/BlockMap<Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;>;
protected final jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, org.graalvm.compiler.virtual.phases.ea.GraphEffectList> loopMergeEffects;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;>;
private final jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.nodes.LoopBeginNode, BlockT> loopEntryStates;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/LoopBeginNode;TBlockT;>;
protected final jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, org.graalvm.compiler.virtual.phases.ea.EffectsClosure$LoopKillCache> loopLocationKillCache;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$LoopKillCache;>;
protected boolean changed;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected final org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0014) ACC_PROTECTED, 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/virtual/phases/ea/EffectsClosure;
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.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult, org.graalvm.compiler.nodes.cfg.ControlFlowGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.graalvm.compiler.virtual.phases.ea.EffectsPhase$Closure.<init>:()V
1: aload 0
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopMergeEffects:Ljdk/internal/vm/compiler/collections/EconomicMap;
2: aload 0
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopEntryStates:Ljdk/internal/vm/compiler/collections/EconomicMap;
3: aload 0
getstatic jdk.internal.vm.compiler.collections.Equivalence.IDENTITY:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopLocationKillCache:Ljdk/internal/vm/compiler/collections/EconomicMap;
4: aload 0
aload 1
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.schedule:Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
5: aload 0
aload 2
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.cfg:Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
6: aload 0
aload 2
getfield org.graalvm.compiler.nodes.cfg.ControlFlowGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeMap:()Lorg/graalvm/compiler/graph/NodeMap;
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.aliases:Lorg/graalvm/compiler/graph/NodeMap;
7: aload 0
aload 2
getfield org.graalvm.compiler.nodes.cfg.ControlFlowGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeBitMap:()Lorg/graalvm/compiler/graph/NodeBitMap;
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.hasScalarReplacedInputs:Lorg/graalvm/compiler/graph/NodeBitMap;
8: aload 0
new org.graalvm.compiler.core.common.cfg.BlockMap
dup
aload 2
invokespecial org.graalvm.compiler.core.common.cfg.BlockMap.<init>:(Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;)V
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
9: aload 0
aload 2
getfield org.graalvm.compiler.nodes.cfg.ControlFlowGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
10: aload 2
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getBlocks:()[Lorg/graalvm/compiler/nodes/cfg/Block;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 14
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult org.graalvm.compiler.nodes.cfg.ControlFlowGraph top int int org.graalvm.compiler.nodes.cfg.Block[]
StackMap stack:
11: aload 6
iload 4
aaload
astore 3
start local 3 12: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 3
new org.graalvm.compiler.virtual.phases.ea.GraphEffectList
dup
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokespecial org.graalvm.compiler.virtual.phases.ea.GraphEffectList.<init>:(Lorg/graalvm/compiler/debug/DebugContext;)V
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.put:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
end local 3 13: iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmplt 11
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 16 1 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
0 16 2 cfg Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
12 13 3 block Lorg/graalvm/compiler/nodes/cfg/Block;
MethodParameters:
Name Flags
schedule
cfg
public boolean hasChanged();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.changed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
public boolean needsApplyEffects();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
public void applyEffects();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.cfg:Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
getfield org.graalvm.compiler.nodes.cfg.ControlFlowGraph.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 1
start local 1 1: new java.util.ArrayList
dup
iconst_0
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: new org.graalvm.compiler.virtual.phases.ea.EffectsClosure$1
dup
aload 0
aload 3
invokespecial org.graalvm.compiler.virtual.phases.ea.EffectsClosure$1.<init>:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure;Ljava/util/ArrayList;)V
astore 4
start local 4 4: aload 4
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.cfg:Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
invokevirtual org.graalvm.compiler.nodes.cfg.ControlFlowGraph.getStartBlock:()Lorg/graalvm/compiler/nodes/cfg/Block;
invokestatic org.graalvm.compiler.phases.graph.ReentrantBlockIterator.apply:(Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$BlockIteratorClosure;Lorg/graalvm/compiler/nodes/cfg/Block;)V
5: aload 3
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.StructuredGraph java.util.ArrayList java.util.ArrayList org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.GraphEffectList
astore 5
start local 5 7: aload 5
aload 1
aload 2
iconst_0
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/util/ArrayList;Z)V
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 3
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals:
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.GraphEffectList
astore 5
start local 5 11: aload 5
aload 1
aload 2
iconst_1
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/util/ArrayList;Z)V
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
aload 1
ldc "After applying effects"
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;)V
14: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 15
aload 1
aload 2
invokestatic org.graalvm.compiler.virtual.phases.ea.VirtualUtil.assertNonReachable:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/util/List;)Z
ifne 15
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
15: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.StructuredGraph java.util.ArrayList java.util.ArrayList org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure
StackMap stack:
aload 2
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 6
goto 22
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.StructuredGraph java.util.ArrayList java.util.ArrayList org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure top java.util.Iterator
StackMap stack:
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 5
start local 5 17: aload 5
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifeq 22
aload 5
invokevirtual org.graalvm.compiler.graph.Node.hasNoUsages:()Z
ifeq 22
18: aload 5
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 20
19: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 20
aload 5
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
ifnull 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.StructuredGraph java.util.ArrayList java.util.ArrayList org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 5
aconst_null
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
21: aload 5
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;)V
end local 5 22: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.StructuredGraph java.util.ArrayList java.util.ArrayList org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
23: return
end local 4 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/virtual/phases/ea/EffectsClosure<TBlockT;>;
1 24 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 24 2 obsoleteNodes Ljava/util/ArrayList<Lorg/graalvm/compiler/graph/Node;>;
3 24 3 effectList Ljava/util/ArrayList<Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;>;
4 24 4 closure Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$BlockIteratorClosure<Ljava/lang/Void;>;
7 8 5 effects Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
11 12 5 effects Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
17 22 5 node Lorg/graalvm/compiler/graph/Node;
protected BlockT processBlock(org.graalvm.compiler.nodes.cfg.Block, );
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.isDead:()Z
ifne 43
1: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects: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 org.graalvm.compiler.virtual.phases.ea.GraphEffectList
astore 3
start local 3 2: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
instanceof org.graalvm.compiler.nodes.IfNode
ifeq 15
3: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.IfNode
astore 4
start local 4 4: aload 4
invokevirtual org.graalvm.compiler.nodes.IfNode.condition:()Lorg/graalvm/compiler/nodes/LogicNode;
astore 5
start local 5 5: aload 0
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.getScalarAlias:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 6
start local 6 6: aload 6
instanceof org.graalvm.compiler.nodes.LogicConstantNode
ifeq 15
7: aload 6
checkcast org.graalvm.compiler.nodes.LogicConstantNode
astore 7
start local 7 8: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 4
invokevirtual org.graalvm.compiler.nodes.IfNode.trueSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
if_acmpne 9
iconst_1
goto 10
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.nodes.IfNode org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.LogicConstantNode
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 8
start local 8 11: aload 7
invokevirtual org.graalvm.compiler.nodes.LogicConstantNode.getValue:()Z
iload 8
if_icmpeq 15
12: aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.markAsDead:()V
13: aload 3
aload 4
aload 7
invokevirtual org.graalvm.compiler.nodes.LogicConstantNode.getValue:()Z
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.killIfBranch:(Lorg/graalvm/compiler/nodes/IfNode;Z)V
14: aload 2
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 15: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 4
start local 4 16: aload 4
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "\nBlock: %s, preds: %s, succ: %s ("
aload 1
aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getPredecessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getSuccessors:()[Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokestatic org.graalvm.compiler.virtual.phases.ea.VirtualUtil.trace:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
17: aconst_null
astore 5
start local 5 18: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.schedule:Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
ifnull 19
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.schedule:Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getBlockToNodesMap:()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.lang.Iterable
goto 20
StackMap locals: org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
19: aload 1
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getNodes:()Ljava/lang/Iterable;
StackMap locals:
StackMap stack: java.lang.Iterable
20: astore 6
start local 6 21: aload 6
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 8
goto 41
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable top java.util.Iterator
StackMap stack:
22: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 7
start local 7 23: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.aliases:Lorg/graalvm/compiler/graph/NodeMap;
aload 7
aconst_null
invokevirtual org.graalvm.compiler.graph.NodeMap.set:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
24: aload 7
instanceof org.graalvm.compiler.nodes.LoopExitNode
ifeq 34
25: aload 7
checkcast org.graalvm.compiler.nodes.LoopExitNode
astore 9
start local 9 26: aload 9
invokevirtual org.graalvm.compiler.nodes.LoopExitNode.proxies:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 11
goto 32
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.nodes.LoopExitNode top java.util.Iterator
StackMap stack:
27: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ProxyNode
astore 10
start local 10 28: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.aliases:Lorg/graalvm/compiler/graph/NodeMap;
aload 10
aconst_null
invokevirtual org.graalvm.compiler.graph.NodeMap.set:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
29: aload 0
dup
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.changed:Z
aload 0
aload 10
aload 2
aload 3
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processNode:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Z
ifeq 30
aload 7
invokestatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.isSignificantNode:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 30
iconst_1
goto 31
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.nodes.LoopExitNode org.graalvm.compiler.nodes.ProxyNode java.util.Iterator
StackMap stack: org.graalvm.compiler.virtual.phases.ea.EffectsClosure int
30: iconst_0
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.nodes.LoopExitNode org.graalvm.compiler.nodes.ProxyNode java.util.Iterator
StackMap stack: org.graalvm.compiler.virtual.phases.ea.EffectsClosure int int
31: ior
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.changed:Z
end local 10 32: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator org.graalvm.compiler.nodes.LoopExitNode top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
33: aload 0
aload 9
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopEntryStates:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 9
invokevirtual org.graalvm.compiler.nodes.LoopExitNode.loopBegin:()Lorg/graalvm/compiler/nodes/LoopBeginNode;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
aload 2
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects: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 org.graalvm.compiler.virtual.phases.ea.GraphEffectList
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processLoopExit:(Lorg/graalvm/compiler/nodes/LoopExitNode;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;)V
end local 9 34: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack:
aload 0
dup
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.changed:Z
aload 0
aload 7
aload 2
aload 3
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processNode:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Z
ifeq 35
aload 7
invokestatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.isSignificantNode:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 35
iconst_1
goto 36
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack: org.graalvm.compiler.virtual.phases.ea.EffectsClosure int
35: iconst_0
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable org.graalvm.compiler.graph.Node java.util.Iterator
StackMap stack: org.graalvm.compiler.virtual.phases.ea.EffectsClosure int int
36: ior
putfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.changed:Z
37: aload 7
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifeq 39
38: aload 7
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 5
39: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.isDead:()Z
ifeq 41
40: goto 42
end local 7 41: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
42: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.GraphEffectList org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.FixedWithNextNode java.lang.Iterable
StackMap stack:
aload 4
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc ")\n end state: %s\n"
aload 2
invokestatic org.graalvm.compiler.virtual.phases.ea.VirtualUtil.trace:(Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/debug/DebugContext;Ljava/lang/String;Ljava/lang/Object;)V
end local 6 end local 5 end local 4 end local 3 43: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 44 1 block Lorg/graalvm/compiler/nodes/cfg/Block;
0 44 2 state TBlockT;
2 43 3 effects Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
4 15 4 ifNode Lorg/graalvm/compiler/nodes/IfNode;
5 15 5 condition Lorg/graalvm/compiler/nodes/LogicNode;
6 15 6 alias Lorg/graalvm/compiler/graph/Node;
8 15 7 constant Lorg/graalvm/compiler/nodes/LogicConstantNode;
11 15 8 isTrueSuccessor Z
16 43 4 options Lorg/graalvm/compiler/options/OptionValues;
18 43 5 lastFixedNode Lorg/graalvm/compiler/nodes/FixedWithNextNode;
21 43 6 nodes Ljava/lang/Iterable<+Lorg/graalvm/compiler/graph/Node;>;
23 41 7 node Lorg/graalvm/compiler/graph/Node;
26 34 9 loopExit Lorg/graalvm/compiler/nodes/LoopExitNode;
28 32 10 proxy Lorg/graalvm/compiler/nodes/ProxyNode;
Signature: (Lorg/graalvm/compiler/nodes/cfg/Block;TBlockT;)TBlockT;
MethodParameters:
Name Flags
block
state
private static boolean isSignificantNode(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.nodes.virtual.CommitAllocationNode
ifne 1
aload 0
instanceof org.graalvm.compiler.nodes.virtual.AllocatedObjectNode
ifne 1
aload 0
instanceof org.graalvm.compiler.nodes.extended.BoxNode
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
protected abstract boolean processNode(org.graalvm.compiler.graph.Node, BlockT, org.graalvm.compiler.virtual.phases.ea.GraphEffectList, org.graalvm.compiler.nodes.FixedWithNextNode);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/graalvm/compiler/graph/Node;TBlockT;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)Z
MethodParameters:
Name Flags
node
state
effects
lastFixedNode
protected BlockT merge(org.graalvm.compiler.nodes.cfg.Block, java.util.List<BlockT>);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/List;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects: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 org.graalvm.compiler.virtual.phases.ea.GraphEffectList
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.isEmpty:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.createMergeProcessor:(Lorg/graalvm/compiler/nodes/cfg/Block;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$MergeProcessor;
astore 3
start local 3 2: aload 0
aload 3
aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.doMergeWithoutDead:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$MergeProcessor;Ljava/util/List;)V
3: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects: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 org.graalvm.compiler.virtual.phases.ea.GraphEffectList
aload 3
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.mergeEffects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.addAll:(Lorg/graalvm/compiler/virtual/phases/ea/EffectList;)V
4: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects: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 org.graalvm.compiler.virtual.phases.ea.GraphEffectList
aload 3
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.afterMergeEffects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.addAll:(Lorg/graalvm/compiler/virtual/phases/ea/EffectList;)V
5: aload 3
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.newState:Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 6 1 merge Lorg/graalvm/compiler/nodes/cfg/Block;
0 6 2 states Ljava/util/List<TBlockT;>;
2 6 3 processor Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>.MergeProcessor;
Signature: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/List<TBlockT;>;)TBlockT;
MethodParameters:
Name Flags
merge
states
protected final java.util.List<BlockT> processLoop(org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, BlockT);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=7, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.isDead:()Z
ifeq 8
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 3
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getLoopExits:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 4 7: aload 3
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.cloneState:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.stripKilledLoopLocations:(Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
astore 3
start local 3 9: aload 3
astore 4
start local 4 10: aload 0
aload 3
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.cloneState:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
astore 5
start local 5 11: aload 0
aload 1
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processInitialLoopState:(Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
12: aload 0
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.createMergeProcessor:(Lorg/graalvm/compiler/nodes/cfg/Block;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$MergeProcessor;
astore 6
start local 6 13: iconst_0
istore 7
start local 7 14: goto 51
15: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.core.common.cfg.Loop org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor int
StackMap stack:
aconst_null
astore 8
aconst_null
astore 9
16: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "================== Process Loop Effects Closure: block:%s begin node:%s"
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
invokevirtual org.graalvm.compiler.debug.DebugContext.logAndIndent:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/graalvm/compiler/debug/Indent;
astore 10
start local 10 17: aload 0
aload 1
aload 0
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.cloneState:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokestatic org.graalvm.compiler.phases.graph.ReentrantBlockIterator.processLoop:(Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$BlockIteratorClosure;Lorg/graalvm/compiler/core/common/cfg/Loop;Ljava/lang/Object;)Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$LoopInfo;
astore 11
start local 11 18: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 12
start local 12 19: aload 12
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: aload 12
aload 11
getfield org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo.endStates:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
21: aload 0
aload 6
aload 12
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.doMergeWithoutDead:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$MergeProcessor;Ljava/util/List;)V
22: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "MergeProcessor New State: %s"
aload 6
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.newState:Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
23: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "===== vs."
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;)V
24: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "Last Merged State: %s"
aload 5
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
25: aload 6
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.newState:Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.equivalentTo:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Z
ifeq 35
26: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.GraphEffectList
aload 6
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.mergeEffects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
iconst_0
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.insertAll:(Lorg/graalvm/compiler/virtual/phases/ea/EffectList;I)V
27: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopMergeEffects:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
aload 6
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.afterMergeEffects:Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 29
aload 11
getfield org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo.exitStates:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getLoopExits:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 29
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
29: StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.core.common.cfg.Loop org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo java.util.List
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopEntryStates:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getBeginNode:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
checkcast org.graalvm.compiler.nodes.LoopBeginNode
aload 4
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 31
aload 0
aload 1
aload 11
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.assertExitStatesNonEmpty:(Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$LoopInfo;)Z
ifne 31
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
aload 6
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.newState:Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processKilledLoopLocations:(Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
32: aload 11
getfield org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo.exitStates:Ljava/util/List;
33: aload 10
ifnull 34
aload 10
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
34: StackMap locals:
StackMap stack: java.util.List
areturn
35: StackMap locals:
StackMap stack:
aload 6
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.newState:Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
astore 5
36: aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getBlocks:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 14
goto 43
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.core.common.cfg.Loop org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo java.util.List top java.util.Iterator
StackMap stack:
37: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 13
start local 13 38: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.blockEffects:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 13
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.GraphEffectList
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.clear:()V
39: aload 13
invokevirtual org.graalvm.compiler.nodes.cfg.Block.isLoopHeader:()Z
ifeq 43
40: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.loopMergeEffects:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 13
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getLoop:()Lorg/graalvm/compiler/core/common/cfg/Loop;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.GraphEffectList
astore 15
start local 15 41: aload 15
ifnull 43
42: aload 15
invokevirtual org.graalvm.compiler.virtual.phases.ea.GraphEffectList.clear:()V
end local 15 end local 13 43: StackMap locals:
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
end local 12 end local 11 44: aload 10
ifnull 50
aload 10
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
goto 50
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.core.common.cfg.Loop org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsBlockState org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.Indent
StackMap stack: java.lang.Throwable
45: astore 8
aload 10
ifnull 46
aload 10
invokeinterface org.graalvm.compiler.debug.Indent.close:()V
end local 10 StackMap locals:
StackMap stack:
46: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
47: astore 9
aload 8
ifnonnull 48
aload 9
astore 8
goto 49
StackMap locals:
StackMap stack:
48: aload 8
aload 9
if_acmpeq 49
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
49: aload 8
athrow
50: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
51: iload 7
bipush 10
if_icmplt 15
end local 7 52: new org.graalvm.compiler.debug.GraalError
dup
ldc "too many iterations at %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
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 53 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 53 1 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
0 53 2 initialState TBlockT;
2 8 3 states Ljava/util/ArrayList<TBlockT;>;
3 7 4 i I
9 53 3 initialStateRemovedKilledLocations TBlockT;
10 53 4 loopEntryState TBlockT;
11 53 5 lastMergedState TBlockT;
13 53 6 mergeProcessor Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>.MergeProcessor;
14 52 7 iteration I
17 46 10 i Lorg/graalvm/compiler/debug/Indent;
18 44 11 info Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$LoopInfo<TBlockT;>;
19 44 12 states Ljava/util/List<TBlockT;>;
38 43 13 block Lorg/graalvm/compiler/nodes/cfg/Block;
41 43 15 loopEffects Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;
Exception table:
from to target type
17 33 45 any
35 44 45 any
16 34 47 any
35 47 47 any
Signature: (Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;TBlockT;)Ljava/util/List<TBlockT;>;
MethodParameters:
Name Flags
loop
initialState
protected BlockT stripKilledLoopLocations(org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, );
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 1 1 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
0 1 2 initialState TBlockT;
Signature: (Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;TBlockT;)TBlockT;
MethodParameters:
Name Flags
loop
initialState
protected void processKilledLoopLocations(org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, BlockT, );
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 1 1 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
0 1 2 initialState TBlockT;
0 1 3 mergedStates TBlockT;
Signature: (Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;TBlockT;TBlockT;)V
MethodParameters:
Name Flags
loop
initialState
mergedStates
protected void processInitialLoopState(org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, );
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 1 1 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
0 1 2 initialState TBlockT;
Signature: (Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;TBlockT;)V
MethodParameters:
Name Flags
loop
initialState
private void doMergeWithoutDead(org.graalvm.compiler.virtual.phases.ea.EffectsClosure<BlockT>.MergeProcessor, java.util.List<BlockT>);
descriptor: (Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$MergeProcessor;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor java.util.List int top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
astore 4
start local 4 3: aload 4
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.isDead:()Z
ifne 5
4: iinc 3 1
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 3
ifne 9
7: aload 1
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.setNewState:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
8: goto 32
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor java.util.List int
StackMap stack:
9: iload 3
aload 2
invokeinterface java.util.List.size:()I
if_icmpne 20
10: aload 2
invokeinterface java.util.List.size:()I
newarray 10
astore 4
start local 4 11: iconst_0
istore 5
start local 5 12: goto 15
13: StackMap locals: int[] int
StackMap stack:
aload 4
iload 5
iload 5
iastore
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 4
arraylength
if_icmplt 13
end local 5 16: aload 1
aload 4
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.setStateIndexes:([I)V
17: aload 1
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.getInitialState:()Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.setNewState:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
18: aload 1
aload 2
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.merge:(Ljava/util/List;)V
end local 4 19: goto 32
20: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iload 3
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 21: iload 3
newarray 10
astore 5
start local 5 22: iconst_0
istore 6
start local 6 23: goto 28
24: StackMap locals: java.util.ArrayList int[] int
StackMap stack:
aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsBlockState.isDead:()Z
ifne 27
25: aload 5
aload 4
invokevirtual java.util.ArrayList.size:()I
iload 6
iastore
26: aload 4
aload 2
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
27: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
28: iload 6
aload 2
invokeinterface java.util.List.size:()I
if_icmplt 24
end local 6 29: aload 1
aload 5
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.setStateIndexes:([I)V
30: aload 1
aload 0
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.getInitialState:()Ljava/lang/Object;
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.setNewState:(Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)V
31: aload 1
aload 4
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor.merge:(Ljava/util/List;)V
end local 5 end local 4 32: StackMap locals:
StackMap stack:
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/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 33 1 mergeProcessor Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>.MergeProcessor;
0 33 2 states Ljava/util/List<TBlockT;>;
1 33 3 alive I
3 5 4 state TBlockT;
11 19 4 stateIndexes [I
12 16 5 i I
21 32 4 aliveStates Ljava/util/ArrayList<TBlockT;>;
22 32 5 stateIndexes [I
23 29 6 i I
Signature: (Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>.MergeProcessor;Ljava/util/List<TBlockT;>;)V
MethodParameters:
Name Flags
mergeProcessor
states
private boolean assertExitStatesNonEmpty(org.graalvm.compiler.core.common.cfg.Loop<org.graalvm.compiler.nodes.cfg.Block>, org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo<BlockT>);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$LoopInfo;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 3
aload 2
getfield org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo.exitStates:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnonnull 3
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "no loop exit state at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getLoopExits:()Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " / "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getHeader:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
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:
iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
aload 1
invokevirtual org.graalvm.compiler.core.common.cfg.Loop.getLoopExits:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 2
end local 3 5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 6 1 loop Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;
0 6 2 info Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$LoopInfo<TBlockT;>;
1 5 3 i I
Signature: (Lorg/graalvm/compiler/core/common/cfg/Loop<Lorg/graalvm/compiler/nodes/cfg/Block;>;Lorg/graalvm/compiler/phases/graph/ReentrantBlockIterator$LoopInfo<TBlockT;>;)Z
MethodParameters:
Name Flags
loop
info
protected abstract void processLoopExit(org.graalvm.compiler.nodes.LoopExitNode, BlockT, BlockT, org.graalvm.compiler.virtual.phases.ea.GraphEffectList);
descriptor: (Lorg/graalvm/compiler/nodes/LoopExitNode;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/graalvm/compiler/nodes/LoopExitNode;TBlockT;TBlockT;Lorg/graalvm/compiler/virtual/phases/ea/GraphEffectList;)V
MethodParameters:
Name Flags
exitNode
initialState
exitState
effects
protected abstract org.graalvm.compiler.virtual.phases.ea.EffectsClosure<BlockT>.MergeProcessor createMergeProcessor(org.graalvm.compiler.nodes.cfg.Block);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure$MergeProcessor;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Lorg/graalvm/compiler/nodes/cfg/Block;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>.MergeProcessor;
MethodParameters:
Name Flags
merge
public void addScalarAlias(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 1
aload 2
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.aliases:Lorg/graalvm/compiler/graph/NodeMap;
aload 1
aload 2
invokevirtual org.graalvm.compiler.graph.NodeMap.set:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
2: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.graalvm.compiler.virtual.phases.ea.EffectsClosure org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.hasScalarReplacedInputs:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 3
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isNew:(Lorg/graalvm/compiler/graph/Node;)Z
ifne 6
5: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.hasScalarReplacedInputs:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 3
invokevirtual org.graalvm.compiler.graph.NodeBitMap.mark:(Lorg/graalvm/compiler/graph/Node;)V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 8 1 node Lorg/graalvm/compiler/nodes/ValueNode;
0 8 2 alias Lorg/graalvm/compiler/nodes/ValueNode;
4 6 3 usage Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
alias
protected final boolean hasScalarReplacedInputs(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.hasScalarReplacedInputs:Lorg/graalvm/compiler/graph/NodeBitMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeBitMap.isMarked:(Lorg/graalvm/compiler/graph/Node;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 1 1 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
public org.graalvm.compiler.nodes.ValueNode getScalarAlias(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.virtual.phases.ea.EffectsClosure.$assertionsDisabled:Z
ifne 1
aload 1
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.isAlive:()Z
ifeq 2
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.aliases:Lorg/graalvm/compiler/graph/NodeMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeMap.isNew:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
aload 1
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.virtual.phases.ea.EffectsClosure.aliases:Lorg/graalvm/compiler/graph/NodeMap;
aload 1
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
instanceof org.graalvm.compiler.nodes.virtual.VirtualObjectNode
ifeq 6
StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
5: aload 1
goto 7
StackMap locals:
StackMap stack:
6: aload 2
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.ValueNode
7: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/virtual/phases/ea/EffectsClosure<TBlockT;>;
0 8 1 node Lorg/graalvm/compiler/nodes/ValueNode;
4 8 2 result Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
node
protected java.lang.Object processBlock(org.graalvm.compiler.nodes.cfg.Block, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processBlock:(Lorg/graalvm/compiler/nodes/cfg/Block;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object merge(org.graalvm.compiler.nodes.cfg.Block, java.util.List);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/List;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.util.List
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.merge:(Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/util/List;)Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.util.List processLoop(org.graalvm.compiler.core.common.cfg.Loop, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/core/common/cfg/Loop;Ljava/lang/Object;)Ljava/util/List;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.virtual.phases.ea.EffectsBlockState
invokevirtual org.graalvm.compiler.virtual.phases.ea.EffectsClosure.processLoop:(Lorg/graalvm/compiler/core/common/cfg/Loop;Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <BlockT:Lorg/graalvm/compiler/virtual/phases/ea/EffectsBlockState<TBlockT;>;>Lorg/graalvm/compiler/virtual/phases/ea/EffectsPhase$Closure<TBlockT;>;
SourceFile: "EffectsClosure.java"
NestMembers:
org.graalvm.compiler.virtual.phases.ea.EffectsClosure$1 org.graalvm.compiler.virtual.phases.ea.EffectsClosure$LoopKillCache org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor
InnerClasses:
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph
public abstract BlockIteratorClosure = org.graalvm.compiler.phases.graph.ReentrantBlockIterator$BlockIteratorClosure of org.graalvm.compiler.phases.graph.ReentrantBlockIterator
public LoopInfo = org.graalvm.compiler.phases.graph.ReentrantBlockIterator$LoopInfo of org.graalvm.compiler.phases.graph.ReentrantBlockIterator
org.graalvm.compiler.virtual.phases.ea.EffectsClosure$1
protected final LoopKillCache = org.graalvm.compiler.virtual.phases.ea.EffectsClosure$LoopKillCache of org.graalvm.compiler.virtual.phases.ea.EffectsClosure
protected abstract MergeProcessor = org.graalvm.compiler.virtual.phases.ea.EffectsClosure$MergeProcessor of org.graalvm.compiler.virtual.phases.ea.EffectsClosure
public abstract Closure = org.graalvm.compiler.virtual.phases.ea.EffectsPhase$Closure of org.graalvm.compiler.virtual.phases.ea.EffectsPhase