class org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer extends org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer
super_class: org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer
{
private int savedCycles;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer this
0: .line 303
aload 0 /* this */
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer.<init>:()V
return
end local 0 // org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/NodePropertiesTest$ImprovementSavingCanonicalizer;
public void simplify(org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.spi.SimplifierTool);
descriptor: (Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/spi/SimplifierTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 // org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer this
start local 1 // org.graalvm.compiler.graph.Node node
start local 2 // org.graalvm.compiler.graph.spi.SimplifierTool tool
0: .line 308
aload 1 /* node */
instanceof org.graalvm.compiler.graph.spi.Canonicalizable$Binary
ifeq 5
1: .line 310
aload 1 /* node */
checkcast org.graalvm.compiler.graph.spi.Canonicalizable$Binary
astore 3 /* bc */
start local 3 // org.graalvm.compiler.graph.spi.Canonicalizable$Binary bc
2: .line 311
aload 3 /* bc */
aload 2 /* tool */
aload 3 /* bc */
invokeinterface org.graalvm.compiler.graph.spi.Canonicalizable$Binary.getX:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
aload 3 /* bc */
invokeinterface org.graalvm.compiler.graph.spi.Canonicalizable$Binary.getY:()Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
invokeinterface org.graalvm.compiler.graph.spi.Canonicalizable$Binary.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
astore 4 /* canonicalized */
start local 4 // org.graalvm.compiler.graph.Node canonicalized
3: .line 312
aload 4 /* canonicalized */
aload 1 /* node */
if_acmpeq 5
4: .line 313
aload 0 /* this */
dup
getfield org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer.savedCycles:I
aload 1 /* node */
invokevirtual org.graalvm.compiler.graph.Node.estimatedNodeCycles:()Lorg/graalvm/compiler/nodeinfo/NodeCycles;
getfield org.graalvm.compiler.nodeinfo.NodeCycles.value:I
aload 4 /* canonicalized */
invokevirtual org.graalvm.compiler.graph.Node.estimatedNodeCycles:()Lorg/graalvm/compiler/nodeinfo/NodeCycles;
getfield org.graalvm.compiler.nodeinfo.NodeCycles.value:I
isub
iadd
putfield org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer.savedCycles:I
end local 4 // org.graalvm.compiler.graph.Node canonicalized
end local 3 // org.graalvm.compiler.graph.spi.Canonicalizable$Binary bc
5: .line 316
StackMap locals:
StackMap stack:
return
end local 2 // org.graalvm.compiler.graph.spi.SimplifierTool tool
end local 1 // org.graalvm.compiler.graph.Node node
end local 0 // org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/test/NodePropertiesTest$ImprovementSavingCanonicalizer;
0 6 1 node Lorg/graalvm/compiler/graph/Node;
0 6 2 tool Lorg/graalvm/compiler/graph/spi/SimplifierTool;
2 5 3 bc Lorg/graalvm/compiler/graph/spi/Canonicalizable$Binary<Lorg/graalvm/compiler/nodes/ValueNode;>;
3 5 4 canonicalized Lorg/graalvm/compiler/graph/Node;
MethodParameters:
Name Flags
node
tool
}
SourceFile: "NodePropertiesTest.java"
NestHost: org.graalvm.compiler.core.test.NodePropertiesTest
InnerClasses:
ImprovementSavingCanonicalizer = org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCanonicalizer of org.graalvm.compiler.core.test.NodePropertiesTest
public abstract Binary = org.graalvm.compiler.graph.spi.Canonicalizable$Binary of org.graalvm.compiler.graph.spi.Canonicalizable
public abstract CustomCanonicalizer = org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomCanonicalizer of org.graalvm.compiler.phases.common.CanonicalizerPhase