final class org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance extends org.graalvm.compiler.phases.Phase
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance
super_class: org.graalvm.compiler.phases.Phase
{
private final org.graalvm.compiler.graph.Graph$Mark newNodesMark;
descriptor: Lorg/graalvm/compiler/graph/Graph$Mark;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.phases.tiers.PhaseContext context;
descriptor: Lorg/graalvm/compiler/phases/tiers/PhaseContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Iterable<? extends org.graalvm.compiler.graph.Node> initWorkingSet;
descriptor: Ljava/lang/Iterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Iterable<+Lorg/graalvm/compiler/graph/Node;>;
private org.graalvm.compiler.graph.NodeWorkList workList;
descriptor: Lorg/graalvm/compiler/graph/NodeWorkList;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$Tool tool;
descriptor: Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance$Tool;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0002) ACC_PRIVATE
final org.graalvm.compiler.phases.common.CanonicalizerPhase this$0;
descriptor: Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/CanonicalizerPhase;
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.CanonicalizerPhase$Instance.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.graalvm.compiler.phases.common.CanonicalizerPhase, org.graalvm.compiler.phases.tiers.PhaseContext);
descriptor: (Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable;Lorg/graalvm/compiler/graph/Graph$Mark;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 2 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
MethodParameters:
Name Flags
this$0 final
context
private void <init>(org.graalvm.compiler.phases.tiers.PhaseContext, java.lang.Iterable<? extends org.graalvm.compiler.graph.Node>);
descriptor: (Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable;Lorg/graalvm/compiler/graph/Graph$Mark;)V
1: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 2 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
0 2 3 workingSet Ljava/lang/Iterable<+Lorg/graalvm/compiler/graph/Node;>;
Signature: (Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable<+Lorg/graalvm/compiler/graph/Node;>;)V
MethodParameters:
Name Flags
this$0 final
context
workingSet
private void <init>(org.graalvm.compiler.phases.common.CanonicalizerPhase, org.graalvm.compiler.phases.tiers.PhaseContext, org.graalvm.compiler.graph.Graph$Mark);
descriptor: (Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Lorg/graalvm/compiler/graph/Graph$Mark;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
aload 3
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable;Lorg/graalvm/compiler/graph/Graph$Mark;)V
1: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 2 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
0 2 3 newNodesMark Lorg/graalvm/compiler/graph/Graph$Mark;
MethodParameters:
Name Flags
this$0 final
context
newNodesMark
private void <init>(org.graalvm.compiler.phases.tiers.PhaseContext, java.lang.Iterable<? extends org.graalvm.compiler.graph.Node>, org.graalvm.compiler.graph.Graph$Mark);
descriptor: (Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable;Lorg/graalvm/compiler/graph/Graph$Mark;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
aload 0
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
1: aload 0
aload 4
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.newNodesMark:Lorg/graalvm/compiler/graph/Graph$Mark;
2: aload 0
aload 2
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.context:Lorg/graalvm/compiler/phases/tiers/PhaseContext;
3: aload 0
aload 3
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.initWorkingSet:Ljava/lang/Iterable;
4: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 5 2 context Lorg/graalvm/compiler/phases/tiers/PhaseContext;
0 5 3 workingSet Ljava/lang/Iterable<+Lorg/graalvm/compiler/graph/Node;>;
0 5 4 newNodesMark Lorg/graalvm/compiler/graph/Graph$Mark;
Signature: (Lorg/graalvm/compiler/phases/tiers/PhaseContext;Ljava/lang/Iterable<+Lorg/graalvm/compiler/graph/Node;>;Lorg/graalvm/compiler/graph/Graph$Mark;)V
MethodParameters:
Name Flags
this$0 final
context
workingSet
newNodesMark
public boolean checkContract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getDebug:()Lorg/graalvm/compiler/debug/DebugContext;
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
1: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.newNodesMark:Lorg/graalvm/compiler/graph/Graph$Mark;
ifnull 2
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.newNodesMark:Lorg/graalvm/compiler/graph/Graph$Mark;
invokevirtual org.graalvm.compiler.graph.Graph$Mark.isStart:()Z
ifne 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.initWorkingSet:Ljava/lang/Iterable;
ifnonnull 7
5: aload 0
aload 1
iload 2
bipush 10
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createIterativeNodeWorkList:(ZI)Lorg/graalvm/compiler/graph/NodeWorkList;
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
iconst_0
bipush 10
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.createIterativeNodeWorkList:(ZI)Lorg/graalvm/compiler/graph/NodeWorkList;
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
8: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.initWorkingSet:Ljava/lang/Iterable;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.addAll:(Ljava/lang/Iterable;)V
9: StackMap locals:
StackMap stack:
iload 2
ifne 11
10: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
aload 1
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.newNodesMark:Lorg/graalvm/compiler/graph/Graph$Mark;
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNewNodes:(Lorg/graalvm/compiler/graph/Graph$Mark;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.addAll:(Ljava/lang/Iterable;)V
11: StackMap locals:
StackMap stack:
aload 0
new org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$Tool
dup
aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getAssumptions:()Ljdk/vm/ci/meta/Assumptions;
aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$Tool.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;Ljdk/vm/ci/meta/Assumptions;Lorg/graalvm/compiler/options/OptionValues;)V
putfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tool:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance$Tool;
12: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.processWorkSet:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
13: 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/CanonicalizerPhase$Instance;
0 14 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
4 14 2 wholeGraph Z
MethodParameters:
Name Flags
graph
private void processWorkSet(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: new org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$1
dup
aload 0
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$1.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;)V
astore 2
start local 2 1: aconst_null
astore 3
aconst_null
astore 4
2: aload 1
aload 2
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.trackNodeEvents:(Lorg/graalvm/compiler/graph/Graph$NodeEventListener;)Lorg/graalvm/compiler/graph/Graph$NodeEventScope;
astore 5
start local 5 3: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
invokevirtual org.graalvm.compiler.graph.NodeWorkList.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.Graph$NodeEventListener java.lang.Throwable java.lang.Throwable org.graalvm.compiler.graph.Graph$NodeEventScope top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 6
start local 6 5: aload 0
aload 6
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.processNode:(Lorg/graalvm/compiler/graph/Node;)Z
istore 8
start local 8 6: iload 8
ifeq 8
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
invokevirtual org.graalvm.compiler.debug.DebugContext.isDumpEnabled:(I)Z
ifeq 8
7: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_4
aload 1
ldc "CanonicalizerPhase %s"
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.dump:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
end local 8 end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 5
ifnull 15
aload 5
invokevirtual org.graalvm.compiler.graph.Graph$NodeEventScope.close:()V
goto 15
StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.graph.Graph$NodeEventListener java.lang.Throwable java.lang.Throwable org.graalvm.compiler.graph.Graph$NodeEventScope
StackMap stack: java.lang.Throwable
10: astore 3
aload 5
ifnull 11
aload 5
invokevirtual org.graalvm.compiler.graph.Graph$NodeEventScope.close:()V
end local 5 StackMap locals:
StackMap stack:
11: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 4
aload 3
ifnonnull 13
aload 4
astore 3
goto 14
StackMap locals:
StackMap stack:
13: aload 3
aload 4
if_acmpeq 14
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
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/CanonicalizerPhase$Instance;
0 16 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
1 16 2 listener Lorg/graalvm/compiler/graph/Graph$NodeEventListener;
3 11 5 nes Lorg/graalvm/compiler/graph/Graph$NodeEventScope;
5 8 6 n Lorg/graalvm/compiler/graph/Node;
6 8 8 changed Z
Exception table:
from to target type
3 9 10 any
2 12 12 any
MethodParameters:
Name Flags
graph
private boolean processNode(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_PROCESSED_NODES:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
3: aload 1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.tryKillUnused:(Lorg/graalvm/compiler/graph/Node;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.graph.Node.getNodeClass:()Lorg/graalvm/compiler/graph/NodeClass;
astore 2
start local 2 6: aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
checkcast org.graalvm.compiler.nodes.StructuredGraph
astore 3
start local 3 7: aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tryCanonicalize:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals: org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase.globalValueNumber:Z
ifeq 11
aload 0
aload 1
aload 2
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tryGlobalValueNumbering:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass;)Z
ifeq 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.ValueNode
ifeq 25
12: aload 1
checkcast org.graalvm.compiler.nodes.ValueNode
astore 4
start local 4 13: aload 0
aload 4
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tryInferStamp:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
istore 5
start local 5 14: aload 4
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.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 6
start local 6 15: aload 6
ifnull 21
aload 1
instanceof org.graalvm.compiler.nodes.ConstantNode
ifne 21
16: aload 4
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 6
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.context:Lorg/graalvm/compiler/phases/tiers/PhaseContext;
invokevirtual org.graalvm.compiler.phases.tiers.PhaseContext.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
aload 3
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 7
start local 7 17: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "Canonicalizer: constant stamp replaces %1s with %1s"
aload 4
aload 7
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
18: aload 4
getstatic org.graalvm.compiler.nodeinfo.InputType.Value:Lorg/graalvm/compiler/nodeinfo/InputType;
aload 7
invokevirtual org.graalvm.compiler.nodes.ValueNode.replaceAtUsages:(Lorg/graalvm/compiler/nodeinfo/InputType;Lorg/graalvm/compiler/graph/Node;)V
19: aload 4
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.tryKillUnused:(Lorg/graalvm/compiler/graph/Node;)Z
pop
20: iconst_1
ireturn
end local 7 21: StackMap locals: org.graalvm.compiler.nodes.ValueNode int jdk.vm.ci.meta.Constant
StackMap stack:
iload 5
ifeq 25
22: aload 0
aload 4
aload 2
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tryCanonicalize:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass;)Z
ifeq 24
23: iconst_1
ireturn
24: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Lorg/graalvm/compiler/graph/NodeWorkList;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/graalvm/compiler/graph/NodeWorkList.add(Lorg/graalvm/compiler/graph/Node;)V (5)
(Lorg/graalvm/compiler/graph/Node;)V
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.forEach:(Ljava/util/function/Consumer;)V
end local 6 end local 5 end local 4 25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 26 1 node Lorg/graalvm/compiler/graph/Node;
6 26 2 nodeClass Lorg/graalvm/compiler/graph/NodeClass<*>;
7 26 3 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
13 25 4 valueNode Lorg/graalvm/compiler/nodes/ValueNode;
14 25 5 improvedStamp Z
15 25 6 constant Ljdk/vm/ci/meta/Constant;
17 21 7 stampConstant Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
node
public boolean tryGlobalValueNumbering(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.NodeClass<?>);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.graph.NodeClass.valueNumberable:()Z
ifeq 9
1: aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
aload 1
invokevirtual org.graalvm.compiler.graph.Graph.findDuplicate:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 3
start local 3 2: aload 3
ifnull 9
3: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 5
aload 1
instanceof org.graalvm.compiler.nodes.FixedNode
ifne 4
aload 3
instanceof org.graalvm.compiler.nodes.FixedNode
ifeq 5
StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
4: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsagesAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
6: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_GLOBAL_VALUE_NUMBERING_HITS:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
7: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "GVN applied and new node is %1s"
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;)V
8: iconst_1
ireturn
end local 3 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 10 1 node Lorg/graalvm/compiler/graph/Node;
0 10 2 nodeClass Lorg/graalvm/compiler/graph/NodeClass<*>;
2 9 3 newNode Lorg/graalvm/compiler/graph/Node;
Signature: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass<*>;)Z
MethodParameters:
Name Flags
node
nodeClass
private java.lang.AutoCloseable getCanonicalizeableContractAssertion(org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;)Ljava/lang/AutoCloseable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 2
iconst_1
dup
istore 2
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
iload 2
ifeq 5
3: aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
invokevirtual org.graalvm.compiler.graph.Graph.getMark:()Lorg/graalvm/compiler/graph/Graph$Mark;
astore 3
start local 3 4: aload 3
aload 1
invokedynamic close(Lorg/graalvm/compiler/graph/Graph$Mark;Lorg/graalvm/compiler/graph/Node;)Ljava/lang/AutoCloseable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/graalvm/compiler/phases/common/CanonicalizerPhase$Instance.lambda$1(Lorg/graalvm/compiler/graph/Graph$Mark;Lorg/graalvm/compiler/graph/Node;)V (6)
()V
areturn
end local 3 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 6 1 node Lorg/graalvm/compiler/graph/Node;
1 6 2 needsAssertion Z
4 5 3 mark Lorg/graalvm/compiler/graph/Graph$Mark;
MethodParameters:
Name Flags
node
public boolean tryCanonicalize(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.NodeClass<?>);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 1
invokevirtual org.graalvm.compiler.graph.Node.withNodeSourcePosition:()Lorg/graalvm/compiler/debug/DebugCloseable;
astore 5
start local 5 2: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase.customCanonicalizer:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$CustomCanonicalizer;
ifnull 11
3: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase.customCanonicalizer:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$CustomCanonicalizer;
aload 1
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer.canonicalize:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 6
start local 6 4: aload 0
aload 1
aload 6
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.performReplacement:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)Z
ifeq 7
5: aload 5
ifnull 6
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
6: StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeClass java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.graph.Node
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase.customCanonicalizer:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$CustomCanonicalizer;
aload 1
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tool:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance$Tool;
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer.simplify:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/spi/SimplifierTool;)V
8: aload 1
invokevirtual org.graalvm.compiler.graph.Node.isDeleted:()Z
ifeq 11
9: aload 5
ifnull 10
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 11: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.graph.NodeClass.isCanonicalizable:()Z
ifeq 29
12: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_CANONICALIZATION_CONSIDERED_NODES:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
13: aconst_null
astore 7
aconst_null
astore 8
14: aload 0
aload 1
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.getCanonicalizeableContractAssertion:(Lorg/graalvm/compiler/graph/Node;)Ljava/lang/AutoCloseable;
astore 9
start local 9 15: aload 1
checkcast org.graalvm.compiler.graph.spi.Canonicalizable
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tool:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance$Tool;
invokeinterface org.graalvm.compiler.graph.spi.Canonicalizable.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;)Lorg/graalvm/compiler/graph/Node;
astore 6
start local 6 16: aload 6
aload 1
if_acmpne 18
aload 2
invokevirtual org.graalvm.compiler.graph.NodeClass.isCommutative:()Z
ifeq 18
17: aload 1
checkcast org.graalvm.compiler.graph.spi.Canonicalizable$BinaryCommutative
invokeinterface org.graalvm.compiler.graph.spi.Canonicalizable$BinaryCommutative.maybeCommuteInputs:()Lorg/graalvm/compiler/graph/Node;
astore 6
18: StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeClass java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable org.graalvm.compiler.graph.Node java.lang.Throwable java.lang.Throwable java.lang.AutoCloseable
StackMap stack:
aload 9
ifnull 26
aload 9
invokeinterface java.lang.AutoCloseable.close:()V
goto 26
end local 6 StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeClass java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable top java.lang.Throwable java.lang.Throwable java.lang.AutoCloseable
StackMap stack: java.lang.Throwable
19: astore 7
aload 9
ifnull 20
aload 9
invokeinterface java.lang.AutoCloseable.close:()V
end local 9 StackMap locals:
StackMap stack:
20: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 8
aload 7
ifnonnull 22
aload 8
astore 7
goto 23
StackMap locals:
StackMap stack:
22: aload 7
aload 8
if_acmpeq 23
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 7
athrow
StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.graph.Node org.graalvm.compiler.graph.NodeClass java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugCloseable
StackMap stack: java.lang.Throwable
24: astore 7
start local 7 25: new org.graalvm.compiler.graph.GraalGraphError
dup
aload 7
invokespecial org.graalvm.compiler.graph.GraalGraphError.<init>:(Ljava/lang/Throwable;)V
aload 1
invokevirtual org.graalvm.compiler.graph.GraalGraphError.addContext:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/GraalGraphError;
athrow
end local 7 start local 6 26: StackMap locals: org.graalvm.compiler.graph.Node
StackMap stack:
aload 0
aload 1
aload 6
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.performReplacement:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)Z
ifeq 29
27: aload 5
ifnull 28
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
28: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 29: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.graph.NodeClass.isSimplifiable:()Z
ifeq 36
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase.simplify:Z
ifeq 36
30: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
ldc "Canonicalizer: simplifying %s"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
31: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_SIMPLIFICATION_CONSIDERED_NODES:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
32: aload 1
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tool:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance$Tool;
invokevirtual org.graalvm.compiler.graph.Node.simplify:(Lorg/graalvm/compiler/graph/spi/SimplifierTool;)V
33: aload 1
invokevirtual org.graalvm.compiler.graph.Node.isDeleted:()Z
34: aload 5
ifnull 35
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
35: StackMap locals:
StackMap stack: int
ireturn
36: StackMap locals:
StackMap stack:
aload 5
ifnull 37
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
37: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
38: astore 3
39: aload 5
ifnull 40
aload 5
invokeinterface org.graalvm.compiler.debug.DebugCloseable.close:()V
end local 5 StackMap locals:
StackMap stack:
40: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
41: astore 4
aload 3
ifnonnull 42
aload 4
astore 3
goto 43
StackMap locals:
StackMap stack:
42: aload 3
aload 4
if_acmpeq 43
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
43: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 44 1 node Lorg/graalvm/compiler/graph/Node;
0 44 2 nodeClass Lorg/graalvm/compiler/graph/NodeClass<*>;
2 40 5 position Lorg/graalvm/compiler/debug/DebugCloseable;
4 11 6 canonical Lorg/graalvm/compiler/graph/Node;
16 19 6 canonical Lorg/graalvm/compiler/graph/Node;
26 29 6 canonical Lorg/graalvm/compiler/graph/Node;
15 20 9 verify Ljava/lang/AutoCloseable;
25 26 7 e Ljava/lang/Throwable;
Exception table:
from to target type
15 18 19 any
14 21 21 any
13 24 24 Class java.lang.Throwable
2 5 38 any
7 9 38 any
11 27 38 any
29 34 38 any
1 6 41 any
7 10 41 any
11 28 41 any
29 35 41 any
36 37 41 any
38 41 41 any
Signature: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/NodeClass<*>;)Z
MethodParameters:
Name Flags
node final
nodeClass
private boolean performReplacement(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
if_acmpne 3
1: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
iconst_3
ldc "Canonicalizer: work on %1s"
aload 1
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 2
astore 3
start local 3 4: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
ldc "Canonicalizer: replacing %1s with %1s"
aload 1
aload 3
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_CANONICALIZED_NODES:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
6: aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
checkcast org.graalvm.compiler.nodes.StructuredGraph
astore 4
start local 4 7: aload 3
ifnull 10
aload 3
invokevirtual org.graalvm.compiler.graph.Node.isAlive:()Z
ifne 10
8: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 9
aload 3
invokevirtual org.graalvm.compiler.graph.Node.isDeleted:()Z
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: org.graalvm.compiler.graph.Node org.graalvm.compiler.nodes.StructuredGraph
StackMap stack:
aload 4
aload 3
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUniqueWithInputs:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 3
10: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.calc.FloatingNode
ifeq 17
11: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 14
aload 3
ifnull 14
aload 3
instanceof org.graalvm.compiler.nodes.FixedNode
ifeq 14
12: aload 3
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
ifnonnull 14
aload 3
instanceof org.graalvm.compiler.nodes.StartNode
ifne 14
aload 3
instanceof org.graalvm.compiler.nodes.AbstractMergeNode
ifne 14
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
13: ldc " -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " : replacement should be floating or fixed and connected"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
14: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
15: aload 1
iconst_1
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killWithUnusedFloatingInputs:(Lorg/graalvm/compiler/graph/Node;Z)V
16: goto 43
17: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 19
aload 1
instanceof org.graalvm.compiler.nodes.FixedNode
ifeq 18
aload 1
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
ifnonnull 19
StackMap locals:
StackMap stack:
18: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " : node should be fixed & connected ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
19: StackMap locals:
StackMap stack:
aload 1
checkcast org.graalvm.compiler.nodes.FixedNode
astore 5
start local 5 20: aload 3
instanceof org.graalvm.compiler.nodes.ControlSinkNode
ifeq 24
21: aload 5
aload 3
invokevirtual org.graalvm.compiler.nodes.FixedNode.replaceAtPredecessor:(Lorg/graalvm/compiler/graph/Node;)V
22: aload 5
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.killCFG:(Lorg/graalvm/compiler/nodes/FixedNode;)V
23: iconst_1
ireturn
24: StackMap locals: org.graalvm.compiler.nodes.FixedNode
StackMap stack:
getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 25
aload 5
instanceof org.graalvm.compiler.nodes.FixedWithNextNode
ifne 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals:
StackMap stack:
aload 5
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
astore 6
start local 6 26: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 27
aload 6
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
ifnonnull 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
27: StackMap locals: org.graalvm.compiler.nodes.FixedWithNextNode
StackMap stack:
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.tool:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance$Tool;
aload 6
invokevirtual org.graalvm.compiler.nodes.FixedWithNextNode.next:()Lorg/graalvm/compiler/nodes/FixedNode;
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$Tool.addToWorkList:(Lorg/graalvm/compiler/graph/Node;)V
28: aload 3
ifnonnull 32
29: aload 1
aconst_null
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
30: aload 6
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
31: goto 43
StackMap locals:
StackMap stack:
32: aload 3
instanceof org.graalvm.compiler.nodes.calc.FloatingNode
ifeq 35
33: aload 4
aload 6
aload 3
checkcast org.graalvm.compiler.nodes.calc.FloatingNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFloating:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
34: goto 43
35: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 36
aload 3
instanceof org.graalvm.compiler.nodes.FixedNode
ifne 36
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
36: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.graph.Node.predecessor:()Lorg/graalvm/compiler/graph/Node;
ifnonnull 40
37: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 38
aload 3
invokevirtual org.graalvm.compiler.graph.Node.cfgSuccessors:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 38
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "replacement "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " shouldn't have successors"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
38: StackMap locals:
StackMap stack:
aload 4
aload 6
aload 3
checkcast org.graalvm.compiler.nodes.FixedWithNextNode
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.replaceFixedWithFixed:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
39: goto 43
40: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 41
aload 3
invokevirtual org.graalvm.compiler.graph.Node.cfgSuccessors:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 41
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "replacement "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " should have successors"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
41: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual org.graalvm.compiler.graph.Node.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;)V
42: aload 6
invokestatic org.graalvm.compiler.nodes.util.GraphUtil.removeFixedWithUnusedInputs:(Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
end local 6 end local 5 43: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 44 1 node Lorg/graalvm/compiler/graph/Node;
0 44 2 newCanonical Lorg/graalvm/compiler/graph/Node;
4 44 3 canonical Lorg/graalvm/compiler/graph/Node;
7 44 4 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
20 43 5 fixed Lorg/graalvm/compiler/nodes/FixedNode;
26 43 6 fixedWithNext Lorg/graalvm/compiler/nodes/FixedWithNextNode;
MethodParameters:
Name Flags
node final
newCanonical
private boolean tryInferStamp(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.isAlive:()Z
ifeq 9
1: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_INFER_STAMP_CALLED:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
2: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.inferStamp:()Z
ifeq 9
3: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase.COUNTER_STAMP_CHANGED:Lorg/graalvm/compiler/debug/CounterKey;
aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.debug:Lorg/graalvm/compiler/debug/DebugContext;
invokeinterface org.graalvm.compiler.debug.CounterKey.increment:(Lorg/graalvm/compiler/debug/DebugContext;)V
4: 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 3
goto 7
StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.nodes.ValueNode top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 6: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.workList:Lorg/graalvm/compiler/graph/NodeWorkList;
aload 2
invokevirtual org.graalvm.compiler.graph.NodeWorkList.add:(Lorg/graalvm/compiler/graph/Node;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: iconst_1
ireturn
9: StackMap locals: org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance org.graalvm.compiler.nodes.ValueNode
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;
0 10 1 node Lorg/graalvm/compiler/nodes/ValueNode;
6 7 2 usage Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
static org.graalvm.compiler.phases.common.CanonicalizerPhase access$0(org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance);
descriptor: (Lorg/graalvm/compiler/phases/common/CanonicalizerPhase$Instance;)Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.this$0:Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$1(org.graalvm.compiler.graph.Graph$Mark, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/Graph$Mark;Lorg/graalvm/compiler/graph/Node;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
0: getstatic org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance.$assertionsDisabled:Z
ifne 2
aload 0
aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
invokevirtual org.graalvm.compiler.graph.Graph.getMark:()Lorg/graalvm/compiler/graph/Graph$Mark;
invokevirtual org.graalvm.compiler.graph.Graph$Mark.equals:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "new node created while canonicalizing "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 1
invokevirtual org.graalvm.compiler.graph.Node.graph:()Lorg/graalvm/compiler/graph/Graph;
aload 0
invokevirtual org.graalvm.compiler.graph.Graph.getNewNodes:(Lorg/graalvm/compiler/graph/Graph$Mark;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "CanonicalizerPhase.java"
NestHost: org.graalvm.compiler.phases.common.CanonicalizerPhase
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Mark = org.graalvm.compiler.graph.Graph$Mark of org.graalvm.compiler.graph.Graph
public abstract NodeEventListener = org.graalvm.compiler.graph.Graph$NodeEventListener of org.graalvm.compiler.graph.Graph
public final NodeEventScope = org.graalvm.compiler.graph.Graph$NodeEventScope of org.graalvm.compiler.graph.Graph
public abstract BinaryCommutative = org.graalvm.compiler.graph.spi.Canonicalizable$BinaryCommutative of org.graalvm.compiler.graph.spi.Canonicalizable
public abstract CustomCanonicalizer = org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer of org.graalvm.compiler.phases.common.CanonicalizerPhase
private final Instance = org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance of org.graalvm.compiler.phases.common.CanonicalizerPhase
org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$1
private final Tool = org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance$Tool of org.graalvm.compiler.phases.common.CanonicalizerPhase$Instance