public class org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor implements org.graalvm.compiler.nodes.cfg.ControlFlowGraph$RecursiveVisitor<java.lang.Integer>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor
super_class: java.lang.Object
{
protected final org.graalvm.compiler.graph.NodeMap<org.graalvm.compiler.phases.common.FixReadsPhase$StampElement> stampMap;
descriptor: Lorg/graalvm/compiler/graph/NodeMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/phases/common/FixReadsPhase$StampElement;>;
protected final org.graalvm.compiler.graph.NodeStack undoOperations;
descriptor: Lorg/graalvm/compiler/graph/NodeStack;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult schedule;
descriptor: Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.nodes.StructuredGraph graph;
descriptor: Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.vm.ci.meta.MetaAccessProvider metaAccess;
descriptor: Ljdk/vm/ci/meta/MetaAccessProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean replaceConstantInputs;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.core.common.cfg.BlockMap<java.lang.Integer> blockActionStart;
descriptor: Lorg/graalvm/compiler/core/common/cfg/BlockMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/graalvm/compiler/core/common/cfg/BlockMap<Ljava/lang/Integer;>;
private final jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.nodes.MergeNode, jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.core.common.type.Stamp>> endMaps;
descriptor: Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/MergeNode;Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;>;>;
private final org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
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/phases/common/FixReadsPhase;
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.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult, jdk.vm.ci.meta.MetaAccessProvider, boolean);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;Ljdk/vm/ci/meta/MetaAccessProvider;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
2: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
3: aload 0
aload 2
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.schedule:Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
4: aload 0
aload 3
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
5: aload 0
new org.graalvm.compiler.core.common.cfg.BlockMap
dup
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getCFG:()Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph;
invokespecial org.graalvm.compiler.core.common.cfg.BlockMap.<init>:(Lorg/graalvm/compiler/core/common/cfg/AbstractControlFlowGraph;)V
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.blockActionStart:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
6: aload 0
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.endMaps:Ljdk/internal/vm/compiler/collections/EconomicMap;
7: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createNodeMap:()Lorg/graalvm/compiler/graph/NodeMap;
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.stampMap:Lorg/graalvm/compiler/graph/NodeMap;
8: aload 0
new org.graalvm.compiler.graph.NodeStack
dup
invokespecial org.graalvm.compiler.graph.NodeStack.<init>:()V
putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
9: aload 0
iload 4
ifeq 10
getstatic org.graalvm.compiler.core.common.GraalOptions.ReplaceInputsWithConstantsBasedOnStamps:Lorg/graalvm/compiler/options/OptionKey;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 10
iconst_1
goto 11
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult jdk.vm.ci.meta.MetaAccessProvider int
StackMap stack: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor
10: iconst_0
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult jdk.vm.ci.meta.MetaAccessProvider int
StackMap stack: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor int
11: putfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.replaceConstantInputs:Z
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 13 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 13 2 schedule Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
0 13 3 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
0 13 4 replaceInputsWithConstants Z
MethodParameters:
Name Flags
graph
schedule
metaAccess
replaceInputsWithConstants
protected void replaceInput(org.graalvm.compiler.graph.Position, org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Position;Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.graph.Position.set:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 2 1 p Lorg/graalvm/compiler/graph/Position;
0 2 2 oldInput Lorg/graalvm/compiler/graph/Node;
0 2 3 newConstantInput Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
p
oldInput
newConstantInput
protected int replaceConstantInputs(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual org.graalvm.compiler.graph.Node.inputPositions:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 20
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.graph.Node int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Position
astore 3
start local 3 3: aload 3
aload 1
invokevirtual org.graalvm.compiler.graph.Position.get:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 5
start local 5 4: aload 3
invokevirtual org.graalvm.compiler.graph.Position.getInputType:()Lorg/graalvm/compiler/nodeinfo/InputType;
getstatic org.graalvm.compiler.nodeinfo.InputType.Value:Lorg/graalvm/compiler/nodeinfo/InputType;
if_acmpne 20
5: aload 5
instanceof org.graalvm.compiler.nodes.ValueNode
ifeq 20
6: aload 5
checkcast org.graalvm.compiler.nodes.ValueNode
astore 6
start local 6 7: aload 6
instanceof org.graalvm.compiler.nodes.ConstantNode
ifne 20
8: aload 0
aload 6
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 7
start local 7 9: aload 7
invokevirtual org.graalvm.compiler.core.common.type.Stamp.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 8
start local 8 10: aload 8
ifnull 20
11: aload 7
instanceof org.graalvm.compiler.core.common.type.FloatStamp
ifeq 15
12: aload 7
checkcast org.graalvm.compiler.core.common.type.FloatStamp
astore 9
start local 9 13: aload 9
dconst_0
invokevirtual org.graalvm.compiler.core.common.type.FloatStamp.contains:(D)Z
ifeq 15
14: goto 20
end local 9 15: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.graph.Node int org.graalvm.compiler.graph.Position java.util.Iterator org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.Stamp jdk.vm.ci.meta.Constant
StackMap stack:
getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterConstantInputReplacements:Lorg/graalvm/compiler/debug/CounterKey;
aload 1
invokevirtual org.graalvm.compiler.graph.Node.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
16: aload 7
aload 8
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 9
start local 9 17: getstatic org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.$assertionsDisabled:Z
ifne 18
aload 9
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ConstantNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 6
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifne 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals: org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
aload 0
aload 3
aload 1
aload 9
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.replaceInput:(Lorg/graalvm/compiler/graph/Position;Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
19: iinc 2 1
end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 20: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.graph.Node int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
21: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 22 1 node Lorg/graalvm/compiler/graph/Node;
1 22 2 replacements I
3 20 3 p Lorg/graalvm/compiler/graph/Position;
4 20 5 input Lorg/graalvm/compiler/graph/Node;
7 20 6 valueNode Lorg/graalvm/compiler/nodes/ValueNode;
9 20 7 bestStamp Lorg/graalvm/compiler/core/common/type/Stamp;
10 20 8 constant Ljdk/vm/ci/meta/Constant;
13 15 9 floatStamp Lorg/graalvm/compiler/core/common/type/FloatStamp;
17 20 9 stampConstant Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
node
protected void processNode(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.$assertionsDisabled:Z
ifne 1
aload 1
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.replaceConstantInputs:Z
ifeq 3
2: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.replaceConstantInputs:(Lorg/graalvm/compiler/graph/Node;)I
pop
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.MergeNode
ifeq 5
4: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.MergeNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerCombinedStamps:(Lorg/graalvm/compiler/nodes/MergeNode;)V
5: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.AbstractBeginNode
ifeq 8
6: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.AbstractBeginNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processAbstractBegin:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)V
7: goto 25
StackMap locals:
StackMap stack:
8: aload 1
instanceof org.graalvm.compiler.nodes.IfNode
ifeq 11
9: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.IfNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processIf:(Lorg/graalvm/compiler/nodes/IfNode;)V
10: goto 25
StackMap locals:
StackMap stack:
11: aload 1
instanceof org.graalvm.compiler.nodes.extended.IntegerSwitchNode
ifeq 14
12: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.extended.IntegerSwitchNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processIntegerSwitch:(Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;)V
13: goto 25
StackMap locals:
StackMap stack:
14: aload 1
instanceof org.graalvm.compiler.nodes.calc.BinaryNode
ifeq 17
15: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.calc.BinaryNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processBinary:(Lorg/graalvm/compiler/nodes/calc/BinaryNode;)V
16: goto 25
StackMap locals:
StackMap stack:
17: aload 1
instanceof org.graalvm.compiler.nodes.calc.ConditionalNode
ifeq 20
18: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.calc.ConditionalNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processConditional:(Lorg/graalvm/compiler/nodes/calc/ConditionalNode;)V
19: goto 25
StackMap locals:
StackMap stack:
20: aload 1
instanceof org.graalvm.compiler.nodes.calc.UnaryNode
ifeq 23
21: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.calc.UnaryNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processUnary:(Lorg/graalvm/compiler/nodes/calc/UnaryNode;)V
22: goto 25
StackMap locals:
StackMap stack:
23: aload 1
instanceof org.graalvm.compiler.nodes.EndNode
ifeq 25
24: aload 0
aload 1
checkcast org.graalvm.compiler.nodes.EndNode
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processEnd:(Lorg/graalvm/compiler/nodes/EndNode;)V
25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 26 1 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
protected void registerCombinedStamps(org.graalvm.compiler.nodes.MergeNode);
descriptor: (Lorg/graalvm/compiler/nodes/MergeNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.endMaps:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 1
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.collections.EconomicMap
astore 2
start local 2 1: aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.getEntries:()Ljdk/internal/vm/compiler/collections/MapCursor;
astore 3
start local 3 2: goto 8
3: StackMap locals: jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.MapCursor
StackMap stack:
aload 3
invokeinterface jdk.internal.vm.compiler.collections.MapCursor.getKey:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 4
start local 4 4: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isDeleted:()Z
ifeq 6
5: goto 8
6: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
aload 4
aload 3
invokeinterface jdk.internal.vm.compiler.collections.MapCursor.getValue:()Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.type.Stamp
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifeq 8
7: getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterBetterMergedStamps:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface jdk.internal.vm.compiler.collections.MapCursor.advance:()Z
ifne 3
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 10 1 node Lorg/graalvm/compiler/nodes/MergeNode;
1 10 2 endMap Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;>;
2 10 3 entries Ljdk/internal/vm/compiler/collections/MapCursor<Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;>;
4 8 4 value Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
node
protected void processEnd(org.graalvm.compiler.nodes.EndNode);
descriptor: (Lorg/graalvm/compiler/nodes/EndNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=17, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.EndNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.MergeNode
ifeq 44
2: aload 2
checkcast org.graalvm.compiler.nodes.MergeNode
astore 3
start local 3 3: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.schedule:Lorg/graalvm/compiler/nodes/StructuredGraph$ScheduleResult;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult.getNodeToBlockMap:()Lorg/graalvm/compiler/graph/NodeMap;
astore 4
start local 4 4: aload 4
aload 3
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 5
start local 5 5: aload 5
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getDominator:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 6
start local 6 6: aload 4
aload 1
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 7
start local 7 7: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.endMaps:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 3
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.collections.EconomicMap
astore 8
start local 8 8: aload 8
ifnull 9
aload 8
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.isEmpty:()Z
ifne 44
9: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.EndNode org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.MergeNode org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block jdk.internal.vm.compiler.collections.EconomicMap
StackMap stack:
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 9
start local 9 10: aload 3
invokevirtual org.graalvm.compiler.nodes.MergeNode.valuePhis:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 11
goto 19
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.EndNode org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.MergeNode org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
11: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.ValuePhiNode
astore 10
start local 10 12: aload 8
ifnull 13
aload 8
aload 10
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.containsKey:(Ljava/lang/Object;)Z
ifeq 19
13: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.EndNode org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.MergeNode org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.EconomicMap org.graalvm.compiler.nodes.ValuePhiNode java.util.Iterator
StackMap stack:
aload 10
aload 1
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.valueAt:(Lorg/graalvm/compiler/nodes/AbstractEndNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 12
start local 12 14: aload 0
aload 12
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 13
start local 13 15: aload 8
ifnull 17
16: aload 13
aload 8
aload 10
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.type.Stamp
invokevirtual org.graalvm.compiler.core.common.type.Stamp.meet:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 13
17: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
aload 13
aload 10
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValuePhiNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 19
18: aload 9
aload 10
aload 13
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 end local 10 19: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.EndNode org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.MergeNode org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.EconomicMap top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
20: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
invokevirtual org.graalvm.compiler.graph.NodeStack.size:()I
istore 10
start local 10 21: goto 42
22: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.EndNode org.graalvm.compiler.nodes.AbstractMergeNode org.graalvm.compiler.nodes.MergeNode org.graalvm.compiler.graph.NodeMap org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block org.graalvm.compiler.nodes.cfg.Block jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.EconomicMap int
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.blockActionStart:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 7
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.get:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 11
start local 11 23: iload 10
iconst_1
isub
istore 12
start local 12 24: goto 40
25: StackMap locals: int int
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
iload 12
invokevirtual org.graalvm.compiler.graph.NodeStack.get:(I)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 13
start local 13 26: aload 13
invokevirtual org.graalvm.compiler.nodes.ValueNode.isDeleted:()Z
ifne 39
aload 13
instanceof org.graalvm.compiler.nodes.LogicNode
ifne 39
aload 13
instanceof org.graalvm.compiler.nodes.ConstantNode
ifne 39
aload 4
aload 13
invokevirtual org.graalvm.compiler.graph.NodeMap.isNew:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 28
27: goto 39
28: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 13
aload 4
invokestatic org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBlock:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/graph/NodeMap;)Lorg/graalvm/compiler/nodes/cfg/Block;
astore 14
start local 14 29: aload 14
ifnull 30
aload 14
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getId:()I
aload 6
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getId:()I
if_icmpgt 39
30: StackMap locals: org.graalvm.compiler.nodes.cfg.Block
StackMap stack:
aload 0
aload 13
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 15
start local 15 31: getstatic org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.$assertionsDisabled:Z
ifne 32
aload 15
ifnonnull 32
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
32: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
aload 8
ifnull 37
33: aload 8
aload 13
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.type.Stamp
astore 16
start local 16 34: aload 16
ifnonnull 36
35: goto 39
36: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
aload 15
aload 16
invokevirtual org.graalvm.compiler.core.common.type.Stamp.meet:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 15
end local 16 37: StackMap locals:
StackMap stack:
aload 13
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 15
invokevirtual org.graalvm.compiler.core.common.type.Stamp.tryImproveWith:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
ifnull 39
38: aload 9
aload 13
aload 15
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 end local 14 end local 13 39: StackMap locals:
StackMap stack:
iinc 12 -1
StackMap locals:
StackMap stack:
40: iload 12
iload 11
if_icmpge 25
end local 12 41: aload 7
invokevirtual org.graalvm.compiler.nodes.cfg.Block.getDominator:()Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;
checkcast org.graalvm.compiler.nodes.cfg.Block
astore 7
end local 11 42: StackMap locals:
StackMap stack:
aload 7
aload 6
if_acmpne 22
43: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.endMaps:Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 3
aload 9
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 44: StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.EndNode org.graalvm.compiler.nodes.AbstractMergeNode
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 45 1 node Lorg/graalvm/compiler/nodes/EndNode;
1 45 2 abstractMerge Lorg/graalvm/compiler/nodes/AbstractMergeNode;
3 44 3 merge Lorg/graalvm/compiler/nodes/MergeNode;
4 44 4 blockToNodeMap Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/cfg/Block;>;
5 44 5 mergeBlock Lorg/graalvm/compiler/nodes/cfg/Block;
6 44 6 mergeBlockDominator Lorg/graalvm/compiler/nodes/cfg/Block;
7 44 7 currentBlock Lorg/graalvm/compiler/nodes/cfg/Block;
8 44 8 currentEndMap Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;>;
10 44 9 endMap Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;>;
12 19 10 phi Lorg/graalvm/compiler/nodes/ValuePhiNode;
14 19 12 valueAt Lorg/graalvm/compiler/nodes/ValueNode;
15 19 13 bestStamp Lorg/graalvm/compiler/core/common/type/Stamp;
21 44 10 lastMark I
23 42 11 mark I
24 41 12 i I
26 39 13 nodeWithNewStamp Lorg/graalvm/compiler/nodes/ValueNode;
29 39 14 block Lorg/graalvm/compiler/nodes/cfg/Block;
31 39 15 bestStamp Lorg/graalvm/compiler/core/common/type/Stamp;
34 37 16 otherEndsStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
node
private static org.graalvm.compiler.nodes.cfg.Block getBlock(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.graph.NodeMap<org.graalvm.compiler.nodes.cfg.Block>);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/graph/NodeMap;)Lorg/graalvm/compiler/nodes/cfg/Block;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.graalvm.compiler.nodes.PhiNode
ifeq 3
1: aload 0
checkcast org.graalvm.compiler.nodes.PhiNode
astore 2
start local 2 2: aload 1
aload 2
invokevirtual org.graalvm.compiler.nodes.PhiNode.merge:()Lorg/graalvm/compiler/nodes/AbstractMergeNode;
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.nodes.cfg.Block
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/graalvm/compiler/nodes/ValueNode;
0 4 1 blockToNodeMap Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/cfg/Block;>;
2 3 2 phiNode Lorg/graalvm/compiler/nodes/PhiNode;
Signature: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/graph/NodeMap<Lorg/graalvm/compiler/nodes/cfg/Block;>;)Lorg/graalvm/compiler/nodes/cfg/Block;
MethodParameters:
Name Flags
node
blockToNodeMap
protected void processUnary(org.graalvm.compiler.nodes.calc.UnaryNode);
descriptor: (Lorg/graalvm/compiler/nodes/calc/UnaryNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.UnaryNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.nodes.calc.UnaryNode.foldStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 1: aload 0
aload 2
aload 1
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.checkReplaceWithConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifne 3
2: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
3: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 4 1 node Lorg/graalvm/compiler/nodes/calc/UnaryNode;
1 4 2 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
node
protected boolean checkReplaceWithConstant(org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.graalvm.compiler.core.common.type.Stamp.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 3
start local 3 1: aload 3
ifnull 8
aload 2
instanceof org.graalvm.compiler.nodes.ConstantNode
ifne 8
2: aload 1
aload 3
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.metaAccess:Ljdk/vm/ci/meta/MetaAccessProvider;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.graph:Lorg/graalvm/compiler/nodes/StructuredGraph;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;Ljdk/vm/ci/meta/MetaAccessProvider;Lorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 4
start local 4 3: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "RawConditionElimination: constant stamp replaces %1s with %1s"
aload 2
aload 4
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterConstantReplacements:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
5: aload 2
getstatic org.graalvm.compiler.nodeinfo.InputType.Value:Lorg/graalvm/compiler/nodeinfo/InputType;
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.replaceAtUsages:(Lorg/graalvm/compiler/nodeinfo/InputType;Lorg/graalvm/compiler/graph/Node;)V
6: aload 2
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.tryKillUnused:(Lorg/graalvm/compiler/graph/Node;)Z
pop
7: iconst_1
ireturn
end local 4 8: StackMap locals: jdk.vm.ci.meta.Constant
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 9 1 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 9 2 node Lorg/graalvm/compiler/nodes/ValueNode;
1 9 3 constant Ljdk/vm/ci/meta/Constant;
3 8 4 stampConstant Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
newStamp
node
protected void processBinary(org.graalvm.compiler.nodes.calc.BinaryNode);
descriptor: (Lorg/graalvm/compiler/nodes/calc/BinaryNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.BinaryNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 1: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.BinaryNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 3
start local 3 2: aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.nodes.calc.BinaryNode.foldStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 4
start local 4 3: aload 0
aload 4
aload 1
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.checkReplaceWithConstant:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifne 5
4: aload 0
aload 1
aload 4
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
5: StackMap locals: org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
return
end local 4 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/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 6 1 node Lorg/graalvm/compiler/nodes/calc/BinaryNode;
1 6 2 xStamp Lorg/graalvm/compiler/core/common/type/Stamp;
2 6 3 yStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 6 4 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
node
protected void processIntegerSwitch(org.graalvm.compiler.nodes.extended.IntegerSwitchNode);
descriptor: (Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.IntegerSwitchNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 1: aload 1
aconst_null
aload 2
invokevirtual org.graalvm.compiler.nodes.extended.IntegerSwitchNode.tryRemoveUnreachableKeys:(Lorg/graalvm/compiler/graph/spi/SimplifierTool;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifeq 4
2: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "\t Canonicalized integer switch %s for value %s and stamp %s"
aload 1
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.IntegerSwitchNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
3: getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterCanonicalizedSwitches:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
4: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 5 1 node Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;
1 5 2 bestStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
node
protected void processIf(org.graalvm.compiler.nodes.IfNode);
descriptor: (Lorg/graalvm/compiler/nodes/IfNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.IfNode.condition:()Lorg/graalvm/compiler/nodes/LogicNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.tryProveCondition:(Lorg/graalvm/compiler/nodes/LogicNode;)Ljdk/vm/ci/meta/TriState;
astore 2
start local 2 1: aload 2
getstatic jdk.vm.ci.meta.TriState.UNKNOWN:Ljdk/vm/ci/meta/TriState;
if_acmpeq 11
2: aload 2
getstatic jdk.vm.ci.meta.TriState.TRUE:Ljdk/vm/ci/meta/TriState;
if_acmpne 3
iconst_1
goto 4
StackMap locals: jdk.vm.ci.meta.TriState
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: aload 1
iload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.getSuccessor:(Z)Lorg/graalvm/compiler/nodes/AbstractBeginNode;
astore 4
start local 4 6: aload 4
aconst_null
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
7: aload 4
aconst_null
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.replaceAtPredecessor:(Lorg/graalvm/compiler/graph/Node;)V
8: aload 1
aload 4
invokevirtual org.graalvm.compiler.nodes.IfNode.replaceAtPredecessor:(Lorg/graalvm/compiler/graph/Node;)V
9: aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killCFG:(Lorg/graalvm/compiler/nodes/FixedNode;)V
10: getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterIfsKilled:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
end local 4 end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 12 1 node Lorg/graalvm/compiler/nodes/IfNode;
1 12 2 result Ljdk/vm/ci/meta/TriState;
5 11 3 isTrue Z
6 11 4 survivingSuccessor Lorg/graalvm/compiler/nodes/AbstractBeginNode;
MethodParameters:
Name Flags
node
protected void processConditional(org.graalvm.compiler.nodes.calc.ConditionalNode);
descriptor: (Lorg/graalvm/compiler/nodes/calc/ConditionalNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.ConditionalNode.condition:()Lorg/graalvm/compiler/nodes/LogicNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.tryProveCondition:(Lorg/graalvm/compiler/nodes/LogicNode;)Ljdk/vm/ci/meta/TriState;
astore 2
start local 2 1: aload 2
getstatic jdk.vm.ci.meta.TriState.UNKNOWN:Ljdk/vm/ci/meta/TriState;
if_acmpeq 10
2: aload 2
getstatic jdk.vm.ci.meta.TriState.TRUE:Ljdk/vm/ci/meta/TriState;
if_acmpne 3
iconst_1
goto 4
StackMap locals: jdk.vm.ci.meta.TriState
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterConditionalsKilled:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
6: aload 1
iload 3
ifeq 7
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.ConditionalNode.trueValue:()Lorg/graalvm/compiler/nodes/ValueNode;
goto 8
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.calc.ConditionalNode jdk.vm.ci.meta.TriState int
StackMap stack: org.graalvm.compiler.nodes.calc.ConditionalNode
7: aload 1
invokevirtual org.graalvm.compiler.nodes.calc.ConditionalNode.falseValue:()Lorg/graalvm/compiler/nodes/ValueNode;
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.calc.ConditionalNode jdk.vm.ci.meta.TriState int
StackMap stack: org.graalvm.compiler.nodes.calc.ConditionalNode org.graalvm.compiler.nodes.ValueNode
8: invokevirtual org.graalvm.compiler.nodes.calc.ConditionalNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
end local 3 9: goto 13
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.ConditionalNode.trueValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 3
start local 3 11: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.ConditionalNode.falseValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 4
start local 4 12: aload 0
aload 1
aload 3
aload 4
invokevirtual org.graalvm.compiler.core.common.type.Stamp.meet:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 14 1 node Lorg/graalvm/compiler/nodes/calc/ConditionalNode;
1 14 2 result Ljdk/vm/ci/meta/TriState;
5 9 3 isTrue Z
11 13 3 trueStamp Lorg/graalvm/compiler/core/common/type/Stamp;
12 13 4 falseStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
node
protected jdk.vm.ci.meta.TriState tryProveCondition(org.graalvm.compiler.nodes.LogicNode);
descriptor: (Lorg/graalvm/compiler/nodes/LogicNode;)Ljdk/vm/ci/meta/TriState;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 1: aload 2
invokestatic org.graalvm.compiler.core.common.type.StampFactory.tautology:()Lorg/graalvm/compiler/core/common/type/Stamp;
if_acmpne 3
2: getstatic jdk.vm.ci.meta.TriState.TRUE:Ljdk/vm/ci/meta/TriState;
areturn
3: StackMap locals: org.graalvm.compiler.core.common.type.Stamp
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.core.common.type.StampFactory.contradiction:()Lorg/graalvm/compiler/core/common/type/Stamp;
if_acmpne 5
4: getstatic jdk.vm.ci.meta.TriState.FALSE:Ljdk/vm/ci/meta/TriState;
areturn
5: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.UnaryOpLogicNode
ifeq 8
6: aload 1
checkcast org.graalvm.compiler.nodes.UnaryOpLogicNode
astore 3
start local 3 7: aload 3
aload 0
aload 3
invokevirtual org.graalvm.compiler.nodes.UnaryOpLogicNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.nodes.UnaryOpLogicNode.tryFold:(Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/TriState;
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.BinaryOpLogicNode
ifeq 11
9: aload 1
checkcast org.graalvm.compiler.nodes.BinaryOpLogicNode
astore 3
start local 3 10: aload 3
aload 0
aload 3
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
aload 3
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.tryFold:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/Stamp;)Ljdk/vm/ci/meta/TriState;
areturn
end local 3 11: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.meta.TriState.UNKNOWN:Ljdk/vm/ci/meta/TriState;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 12 1 condition Lorg/graalvm/compiler/nodes/LogicNode;
1 12 2 conditionStamp Lorg/graalvm/compiler/core/common/type/Stamp;
7 8 3 unaryOpLogicNode Lorg/graalvm/compiler/nodes/UnaryOpLogicNode;
10 11 3 binaryOpLogicNode Lorg/graalvm/compiler/nodes/BinaryOpLogicNode;
MethodParameters:
Name Flags
condition
protected void processAbstractBegin(org.graalvm.compiler.nodes.AbstractBeginNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.AbstractBeginNode.predecessor:()Lorg/graalvm/compiler/graph/Node;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.nodes.IfNode
ifeq 9
2: aload 2
checkcast org.graalvm.compiler.nodes.IfNode
astore 3
start local 3 3: aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.falseSuccessor:()Lorg/graalvm/compiler/nodes/AbstractBeginNode;
aload 1
if_acmpne 4
iconst_1
goto 5
StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.IfNode
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: aload 3
invokevirtual org.graalvm.compiler.nodes.IfNode.condition:()Lorg/graalvm/compiler/nodes/LogicNode;
astore 5
start local 5 7: aload 0
aload 5
iload 4
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewCondition:(Lorg/graalvm/compiler/nodes/LogicNode;Z)V
end local 5 end local 4 end local 3 8: goto 12
StackMap locals:
StackMap stack:
9: aload 2
instanceof org.graalvm.compiler.nodes.extended.IntegerSwitchNode
ifeq 12
10: aload 2
checkcast org.graalvm.compiler.nodes.extended.IntegerSwitchNode
astore 3
start local 3 11: aload 0
aload 1
aload 3
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerIntegerSwitch:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;)V
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 13 1 beginNode Lorg/graalvm/compiler/nodes/AbstractBeginNode;
1 13 2 predecessor Lorg/graalvm/compiler/graph/Node;
3 8 3 ifNode Lorg/graalvm/compiler/nodes/IfNode;
6 8 4 negated Z
7 8 5 condition Lorg/graalvm/compiler/nodes/LogicNode;
11 12 3 integerSwitchNode Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;
MethodParameters:
Name Flags
beginNode
private void registerIntegerSwitch(org.graalvm.compiler.nodes.AbstractBeginNode, org.graalvm.compiler.nodes.extended.IntegerSwitchNode);
descriptor: (Lorg/graalvm/compiler/nodes/AbstractBeginNode;Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.extended.IntegerSwitchNode.value:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
aload 1
invokevirtual org.graalvm.compiler.nodes.extended.IntegerSwitchNode.getValueStampForSuccessor:(Lorg/graalvm/compiler/nodes/AbstractBeginNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 2 1 beginNode Lorg/graalvm/compiler/nodes/AbstractBeginNode;
0 2 2 integerSwitchNode Lorg/graalvm/compiler/nodes/extended/IntegerSwitchNode;
MethodParameters:
Name Flags
beginNode
integerSwitchNode
protected void registerNewCondition(org.graalvm.compiler.nodes.LogicNode, boolean);
descriptor: (Lorg/graalvm/compiler/nodes/LogicNode;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.graalvm.compiler.nodes.UnaryOpLogicNode
ifeq 6
1: aload 1
checkcast org.graalvm.compiler.nodes.UnaryOpLogicNode
astore 3
start local 3 2: aload 3
invokevirtual org.graalvm.compiler.nodes.UnaryOpLogicNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 3: aload 3
iload 2
invokevirtual org.graalvm.compiler.nodes.UnaryOpLogicNode.getSucceedingStampForValue:(Z)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 5
start local 5 4: aload 0
aload 4
aload 5
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
end local 5 end local 4 end local 3 5: goto 14
StackMap locals:
StackMap stack:
6: aload 1
instanceof org.graalvm.compiler.nodes.BinaryOpLogicNode
ifeq 14
7: aload 1
checkcast org.graalvm.compiler.nodes.BinaryOpLogicNode
astore 3
start local 3 8: aload 3
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 9: aload 3
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
start local 5 10: aload 0
aload 4
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 6
start local 6 11: aload 0
aload 5
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 7
start local 7 12: aload 0
aload 4
aload 3
iload 2
aload 6
aload 7
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.getSucceedingStampForX:(ZLorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
13: aload 0
aload 5
aload 3
iload 2
aload 6
aload 7
invokevirtual org.graalvm.compiler.nodes.BinaryOpLogicNode.getSucceedingStampForY:(ZLorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewValueStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
pop
end local 7 end local 6 end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerCondition:(Lorg/graalvm/compiler/nodes/LogicNode;Z)V
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 16 1 condition Lorg/graalvm/compiler/nodes/LogicNode;
0 16 2 negated Z
2 5 3 unaryLogicNode Lorg/graalvm/compiler/nodes/UnaryOpLogicNode;
3 5 4 value Lorg/graalvm/compiler/nodes/ValueNode;
4 5 5 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
8 14 3 binaryOpLogicNode Lorg/graalvm/compiler/nodes/BinaryOpLogicNode;
9 14 4 x Lorg/graalvm/compiler/nodes/ValueNode;
10 14 5 y Lorg/graalvm/compiler/nodes/ValueNode;
11 14 6 xStamp Lorg/graalvm/compiler/core/common/type/Stamp;
12 14 7 yStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
condition
negated
protected void registerCondition(org.graalvm.compiler.nodes.LogicNode, boolean);
descriptor: (Lorg/graalvm/compiler/nodes/LogicNode;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
ifeq 1
invokestatic org.graalvm.compiler.core.common.type.StampFactory.contradiction:()Lorg/graalvm/compiler/core/common/type/Stamp;
goto 2
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.LogicNode int
StackMap stack: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.LogicNode
1: invokestatic org.graalvm.compiler.core.common.type.StampFactory.tautology:()Lorg/graalvm/compiler/core/common/type/Stamp;
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.LogicNode int
StackMap stack: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.LogicNode org.graalvm.compiler.core.common.type.Stamp
2: invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 4 1 condition Lorg/graalvm/compiler/nodes/LogicNode;
0 4 2 negated Z
MethodParameters:
Name Flags
condition
negated
protected boolean registerNewValueStamp(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.core.common.type.Stamp);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 6
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 6
1: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.getBestStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.graalvm.compiler.core.common.type.Stamp.tryImproveWith:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
astore 4
start local 4 3: aload 4
ifnull 6
4: aload 0
aload 1
aload 4
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.registerNewStamp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)V
5: iconst_1
ireturn
end local 4 end local 3 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 7 1 value Lorg/graalvm/compiler/nodes/ValueNode;
0 7 2 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
2 6 3 currentStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 6 4 betterStamp Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
value
newStamp
protected void registerNewStamp(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.core.common.type.Stamp);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.phases.common.FixReadsPhase.counterStampsRegistered:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
1: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "\t Saving stamp for node %s stamp %s"
aload 1
aload 2
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 1
astore 3
start local 3 3: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.stampMap:Lorg/graalvm/compiler/graph/NodeMap;
aload 3
new org.graalvm.compiler.phases.common.FixReadsPhase$StampElement
dup
aload 2
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.stampMap:Lorg/graalvm/compiler/graph/NodeMap;
aload 3
invokevirtual org.graalvm.compiler.graph.NodeMap.getAndGrow:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.common.FixReadsPhase$StampElement
invokespecial org.graalvm.compiler.phases.common.FixReadsPhase$StampElement.<init>:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/phases/common/FixReadsPhase$StampElement;)V
invokevirtual org.graalvm.compiler.graph.NodeMap.setAndGrow:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
4: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
aload 3
invokevirtual org.graalvm.compiler.graph.NodeStack.push:(Lorg/graalvm/compiler/graph/Node;)V
5: return
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/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 6 1 value Lorg/graalvm/compiler/nodes/ValueNode;
0 6 2 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 6 3 originalNode Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
value
newStamp
protected org.graalvm.compiler.core.common.type.Stamp getBestStamp(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.stampMap:Lorg/graalvm/compiler/graph/NodeMap;
aload 2
invokevirtual org.graalvm.compiler.graph.NodeMap.getAndGrow:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.common.FixReadsPhase$StampElement
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 1
getstatic org.graalvm.compiler.nodes.NodeView.DEFAULT:Lorg/graalvm/compiler/nodes/NodeView;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
4: StackMap locals: org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.phases.common.FixReadsPhase$StampElement
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$StampElement.getStamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 5 1 value Lorg/graalvm/compiler/nodes/ValueNode;
1 5 2 originalNode Lorg/graalvm/compiler/nodes/ValueNode;
2 5 3 currentStamp Lorg/graalvm/compiler/phases/common/FixReadsPhase$StampElement;
MethodParameters:
Name Flags
value
public java.lang.Integer enter(org.graalvm.compiler.nodes.cfg.Block);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
invokevirtual org.graalvm.compiler.graph.NodeStack.size:()I
istore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.blockActionStart:Lorg/graalvm/compiler/core/common/cfg/BlockMap;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.compiler.core.common.cfg.BlockMap.put:(Lorg/graalvm/compiler/core/common/cfg/AbstractBlockBase;Ljava/lang/Object;)V
2: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.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.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor org.graalvm.compiler.nodes.cfg.Block int 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 3
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifeq 6
5: aload 0
aload 3
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.processNode:(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: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 8 1 b Lorg/graalvm/compiler/nodes/cfg/Block;
1 8 2 mark I
4 6 3 n Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
b
public void exit(org.graalvm.compiler.nodes.cfg.Block, java.lang.Integer);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/lang/Integer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
invokevirtual org.graalvm.compiler.graph.NodeStack.pop:()Lorg/graalvm/compiler/graph/Node;
astore 4
start local 4 3: aload 4
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifeq 5
4: aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.stampMap:Lorg/graalvm/compiler/graph/NodeMap;
aload 4
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.stampMap:Lorg/graalvm/compiler/graph/NodeMap;
aload 4
invokevirtual org.graalvm.compiler.graph.NodeMap.get:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/Object;
checkcast org.graalvm.compiler.phases.common.FixReadsPhase$StampElement
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$StampElement.getParent:()Lorg/graalvm/compiler/phases/common/FixReadsPhase$StampElement;
invokevirtual org.graalvm.compiler.graph.NodeMap.set:(Lorg/graalvm/compiler/graph/Node;Ljava/lang/Object;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.undoOperations:Lorg/graalvm/compiler/graph/NodeStack;
invokevirtual org.graalvm.compiler.graph.NodeStack.size:()I
iload 3
if_icmpgt 2
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/phases/common/FixReadsPhase$RawConditionalEliminationVisitor;
0 7 1 b Lorg/graalvm/compiler/nodes/cfg/Block;
0 7 2 state Ljava/lang/Integer;
1 7 3 mark I
3 5 4 node Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
b
state
public java.lang.Object enter(org.graalvm.compiler.nodes.cfg.Block);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.enter:(Lorg/graalvm/compiler/nodes/cfg/Block;)Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void exit(org.graalvm.compiler.nodes.cfg.Block, java.lang.Object);
descriptor: (Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.lang.Integer
invokevirtual org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor.exit:(Lorg/graalvm/compiler/nodes/cfg/Block;Ljava/lang/Integer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/graalvm/compiler/nodes/cfg/ControlFlowGraph$RecursiveVisitor<Ljava/lang/Integer;>;
SourceFile: "FixReadsPhase.java"
NestHost: org.graalvm.compiler.phases.common.FixReadsPhase
InnerClasses:
public ScheduleResult = org.graalvm.compiler.nodes.StructuredGraph$ScheduleResult of org.graalvm.compiler.nodes.StructuredGraph
public abstract RecursiveVisitor = org.graalvm.compiler.nodes.cfg.ControlFlowGraph$RecursiveVisitor of org.graalvm.compiler.nodes.cfg.ControlFlowGraph
protected RawConditionalEliminationVisitor = org.graalvm.compiler.phases.common.FixReadsPhase$RawConditionalEliminationVisitor of org.graalvm.compiler.phases.common.FixReadsPhase
protected final StampElement = org.graalvm.compiler.phases.common.FixReadsPhase$StampElement of org.graalvm.compiler.phases.common.FixReadsPhase