class org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCalculator implements org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomSimplification
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCalculator
super_class: java.lang.Object
{
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$ImprovementSavingCalculator this
0: .line 307
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCalculator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/NodePropertiesTest$ImprovementSavingCalculator;
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$ImprovementSavingCalculator this
start local 1 // org.graalvm.compiler.graph.Node node
start local 2 // org.graalvm.compiler.graph.spi.SimplifierTool tool
0: .line 312
aload 1 /* node */
instanceof org.graalvm.compiler.graph.spi.Canonicalizable$Binary
ifeq 5
1: .line 314
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 315
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 316
aload 4 /* canonicalized */
aload 1 /* node */
if_acmpeq 5
4: .line 317
aload 0 /* this */
dup
getfield org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCalculator.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$ImprovementSavingCalculator.savedCycles:I
end local 4 // org.graalvm.compiler.graph.Node canonicalized
end local 3 // org.graalvm.compiler.graph.spi.Canonicalizable$Binary bc
5: .line 320
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$ImprovementSavingCalculator this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/core/test/NodePropertiesTest$ImprovementSavingCalculator;
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:
ImprovementSavingCalculator = org.graalvm.compiler.core.test.NodePropertiesTest$ImprovementSavingCalculator 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 CustomSimplification = org.graalvm.compiler.phases.common.CanonicalizerPhase$CustomSimplification of org.graalvm.compiler.phases.common.CanonicalizerPhase