public class org.graalvm.compiler.nodes.calc.AddNode extends org.graalvm.compiler.nodes.calc.BinaryArithmeticNode<org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Add> implements org.graalvm.compiler.nodes.calc.NarrowableArithmeticNode, org.graalvm.compiler.graph.spi.Canonicalizable$BinaryCommutative<org.graalvm.compiler.nodes.ValueNode>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.nodes.calc.AddNode
super_class: org.graalvm.compiler.nodes.calc.BinaryArithmeticNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.nodes.calc.AddNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/nodes/calc/AddNode;>;
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/nodes/calc/AddNode;
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.nodes.calc.AddNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/nodes/calc/AddNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.nodes.calc.AddNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.graalvm.compiler.nodes.calc.AddNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
aload 2
invokespecial org.graalvm.compiler.nodes.calc.AddNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/nodes/calc/AddNode;
0 2 1 x Lorg/graalvm/compiler/nodes/ValueNode;
0 2 2 y Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
x
y
protected void <init>(org.graalvm.compiler.graph.NodeClass<? extends org.graalvm.compiler.nodes.calc.AddNode>, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.nodes.calc.AddNode.getArithmeticOpTable:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable;
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable.getAdd:()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;
aload 2
aload 3
invokespecial org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)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/nodes/calc/AddNode;
0 2 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/calc/AddNode;>;
0 2 2 x Lorg/graalvm/compiler/nodes/ValueNode;
0 2 3 y Lorg/graalvm/compiler/nodes/ValueNode;
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/calc/AddNode;>;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
MethodParameters:
Name Flags
c
x
y
public static org.graalvm.compiler.nodes.ValueNode create(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.NodeView);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.core.common.type.ArithmeticOpTable.forStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable;
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable.getAdd:()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;
astore 3
start local 3 1: aload 3
aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 1
aload 2
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.ArithmeticOpTable$BinaryOp.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 2: aload 3
aload 0
aload 1
aload 4
aload 2
invokestatic org.graalvm.compiler.nodes.calc.AddNode.tryConstantFold:(Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 5
start local 5 3: aload 5
ifnull 5
4: aload 5
areturn
5: StackMap locals: org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 7
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 7
6: aconst_null
aload 3
aload 1
aload 0
aload 2
invokestatic org.graalvm.compiler.nodes.calc.AddNode.canonical:(Lorg/graalvm/compiler/nodes/calc/AddNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
7: StackMap locals:
StackMap stack:
aconst_null
aload 3
aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.nodes.calc.AddNode.canonical:(Lorg/graalvm/compiler/nodes/calc/AddNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 x Lorg/graalvm/compiler/nodes/ValueNode;
0 8 1 y Lorg/graalvm/compiler/nodes/ValueNode;
0 8 2 view Lorg/graalvm/compiler/nodes/NodeView;
1 8 3 op Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Add;>;
2 8 4 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 8 5 tryConstantFold Lorg/graalvm/compiler/nodes/ConstantNode;
MethodParameters:
Name Flags
x
y
view
protected org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp<org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Add> getOp(org.graalvm.compiler.core.common.type.ArithmeticOpTable);
descriptor: (Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable.getAdd:()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/calc/AddNode;
0 1 1 table Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable;
Signature: (Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Add;>;
MethodParameters:
Name Flags
table
private static org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.nodes.calc.AddNode, org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp<org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Add>, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.NodeView);
descriptor: (Lorg/graalvm/compiler/nodes/calc/AddNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=18, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
astore 5
start local 5 1: aload 1
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp.isAssociative:()Z
istore 6
start local 6 2: iload 6
ifeq 11
3: aload 2
instanceof org.graalvm.compiler.nodes.calc.SubNode
ifeq 7
4: aload 2
checkcast org.graalvm.compiler.nodes.calc.SubNode
astore 7
start local 7 5: aload 7
invokevirtual org.graalvm.compiler.nodes.calc.SubNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 3
if_acmpne 7
6: aload 7
invokevirtual org.graalvm.compiler.nodes.calc.SubNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 7 7: StackMap locals: org.graalvm.compiler.nodes.calc.AddNode int
StackMap stack:
aload 3
instanceof org.graalvm.compiler.nodes.calc.SubNode
ifeq 11
8: aload 3
checkcast org.graalvm.compiler.nodes.calc.SubNode
astore 7
start local 7 9: aload 7
invokevirtual org.graalvm.compiler.nodes.calc.SubNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 2
if_acmpne 11
10: aload 7
invokevirtual org.graalvm.compiler.nodes.calc.SubNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 7 11: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 44
12: aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 7
start local 7 13: aload 1
aload 7
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp.isNeutral:(Ljdk/vm/ci/meta/Constant;)Z
ifeq 15
14: aload 2
areturn
15: StackMap locals: jdk.vm.ci.meta.Constant
StackMap stack:
iload 6
ifeq 19
aload 5
ifnull 19
16: aload 5
invokestatic org.graalvm.compiler.nodes.ValueNode.isConstantPredicate:()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
aload 2
aload 3
aload 4
invokestatic org.graalvm.compiler.nodes.calc.AddNode.reassociate:(Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode;Lorg/graalvm/compiler/graph/iterators/NodePredicate;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 8
start local 8 17: aload 8
aload 5
if_acmpeq 19
18: aload 8
areturn
end local 8 19: StackMap locals:
StackMap stack:
aload 7
instanceof jdk.vm.ci.meta.JavaConstant
ifeq 44
aload 2
instanceof org.graalvm.compiler.nodes.calc.SignExtendNode
ifne 20
aload 2
instanceof org.graalvm.compiler.nodes.calc.ZeroExtendNode
ifeq 44
20: StackMap locals:
StackMap stack:
aload 2
checkcast org.graalvm.compiler.nodes.calc.IntegerConvertNode
astore 8
start local 8 21: aload 8
invokevirtual org.graalvm.compiler.nodes.calc.IntegerConvertNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
astore 9
start local 9 22: aload 7
checkcast jdk.vm.ci.meta.JavaConstant
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lstore 10
start local 10 23: aload 9
instanceof org.graalvm.compiler.nodes.calc.AddNode
ifeq 44
24: aload 9
checkcast org.graalvm.compiler.nodes.calc.AddNode
astore 12
start local 12 25: aload 12
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 44
26: aload 12
aload 4
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 13
start local 13 27: aload 13
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
istore 14
start local 14 28: lload 10
iload 14
invokestatic jdk.vm.ci.code.CodeUtil.minValue:(I)J
lcmp
iflt 44
lload 10
iload 14
invokestatic jdk.vm.ci.code.CodeUtil.maxValue:(I)J
lcmp
ifgt 44
29: iload 14
lload 10
lload 10
invokestatic org.graalvm.compiler.core.common.type.IntegerStamp.create:(IJJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
astore 15
start local 15 30: aload 15
aload 13
invokestatic org.graalvm.compiler.core.common.type.IntegerStamp.addCanOverflow:(Lorg/graalvm/compiler/core/common/type/IntegerStamp;Lorg/graalvm/compiler/core/common/type/IntegerStamp;)Z
ifne 44
31: aload 15
lload 10
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;J)Lorg/graalvm/compiler/nodes/ConstantNode;
astore 16
start local 16 32: aload 2
instanceof org.graalvm.compiler.nodes.calc.SignExtendNode
ifeq 34
33: aload 12
aload 16
aload 4
invokestatic org.graalvm.compiler.nodes.calc.AddNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 8
invokevirtual org.graalvm.compiler.nodes.calc.IntegerConvertNode.getResultBits:()I
aload 4
invokestatic org.graalvm.compiler.nodes.calc.SignExtendNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;ILorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
34: StackMap locals: org.graalvm.compiler.nodes.calc.AddNode org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.NodeView org.graalvm.compiler.nodes.calc.AddNode int jdk.vm.ci.meta.Constant org.graalvm.compiler.nodes.calc.IntegerConvertNode org.graalvm.compiler.nodes.ValueNode long org.graalvm.compiler.nodes.calc.AddNode org.graalvm.compiler.core.common.type.IntegerStamp int org.graalvm.compiler.core.common.type.IntegerStamp org.graalvm.compiler.nodes.ConstantNode
StackMap stack:
getstatic org.graalvm.compiler.nodes.calc.AddNode.$assertionsDisabled:Z
ifne 35
aload 2
instanceof org.graalvm.compiler.nodes.calc.ZeroExtendNode
ifne 35
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
35: StackMap locals:
StackMap stack:
iconst_1
istore 17
start local 17 36: lload 10
lconst_0
lcmp
ifle 40
37: aload 13
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.lowerBound:()J
lconst_0
lcmp
ifge 38
aload 13
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upperBound:()J
lload 10
lneg
lcmp
ifge 42
38: StackMap locals: int
StackMap stack:
iconst_0
istore 17
39: goto 42
40: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.lowerBound:()J
lload 10
lneg
lcmp
ifge 41
aload 13
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upperBound:()J
lconst_0
lcmp
ifge 42
41: StackMap locals:
StackMap stack:
iconst_0
istore 17
42: StackMap locals:
StackMap stack:
iload 17
ifne 44
43: aload 12
aload 16
aload 4
invokestatic org.graalvm.compiler.nodes.calc.AddNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 8
invokevirtual org.graalvm.compiler.nodes.calc.IntegerConvertNode.getResultBits:()I
aload 4
invokestatic org.graalvm.compiler.nodes.calc.ZeroExtendNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;ILorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 10 end local 9 end local 8 end local 7 44: StackMap locals: org.graalvm.compiler.nodes.calc.AddNode org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.NodeView org.graalvm.compiler.nodes.calc.AddNode int
StackMap stack:
aload 2
instanceof org.graalvm.compiler.nodes.calc.NegateNode
ifeq 46
45: aload 3
aload 2
checkcast org.graalvm.compiler.nodes.calc.NegateNode
invokevirtual org.graalvm.compiler.nodes.calc.NegateNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 4
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
46: StackMap locals:
StackMap stack:
aload 3
instanceof org.graalvm.compiler.nodes.calc.NegateNode
ifeq 48
47: aload 2
aload 3
checkcast org.graalvm.compiler.nodes.calc.NegateNode
invokevirtual org.graalvm.compiler.nodes.calc.NegateNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
aload 4
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
48: StackMap locals:
StackMap stack:
aload 5
ifnonnull 50
49: new org.graalvm.compiler.nodes.calc.AddNode
dup
aload 2
aload 3
invokespecial org.graalvm.compiler.nodes.calc.AddNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.maybeCommuteInputs:()Lorg/graalvm/compiler/nodes/calc/BinaryNode;
checkcast org.graalvm.compiler.nodes.calc.AddNode
astore 5
50: StackMap locals:
StackMap stack:
aload 5
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 addNode Lorg/graalvm/compiler/nodes/calc/AddNode;
0 51 1 op Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Add;>;
0 51 2 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 51 3 forY Lorg/graalvm/compiler/nodes/ValueNode;
0 51 4 view Lorg/graalvm/compiler/nodes/NodeView;
1 51 5 self Lorg/graalvm/compiler/nodes/calc/AddNode;
2 51 6 associative Z
5 7 7 sub Lorg/graalvm/compiler/nodes/calc/SubNode;
9 11 7 sub Lorg/graalvm/compiler/nodes/calc/SubNode;
13 44 7 c Ljdk/vm/ci/meta/Constant;
17 19 8 reassociated Lorg/graalvm/compiler/nodes/ValueNode;
21 44 8 integerConvertNode Lorg/graalvm/compiler/nodes/calc/IntegerConvertNode<**>;
22 44 9 valueNode Lorg/graalvm/compiler/nodes/ValueNode;
23 44 10 constant J
25 44 12 addBeforeExtend Lorg/graalvm/compiler/nodes/calc/AddNode;
27 44 13 beforeExtendStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
28 44 14 bits I
30 44 15 narrowConstantStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
32 44 16 constantNode Lorg/graalvm/compiler/nodes/ConstantNode;
36 44 17 crossesZeroPoint Z
Signature: (Lorg/graalvm/compiler/nodes/calc/AddNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Add;>;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
addNode
op
forX
forY
view
public org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 1: aload 4
aload 0
if_acmpeq 3
2: aload 4
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 8
aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifne 8
4: aload 0
aload 1
aload 3
aload 2
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 5
start local 5 5: aload 5
aload 0
if_acmpeq 7
6: aload 5
areturn
7: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
new org.graalvm.compiler.nodes.calc.AddNode
dup
aload 3
aload 2
invokespecial org.graalvm.compiler.nodes.calc.AddNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 5 8: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.getOp:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;
astore 5
start local 5 9: aload 1
invokestatic org.graalvm.compiler.nodes.NodeView.from:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;)Lorg/graalvm/compiler/nodes/NodeView;
astore 6
start local 6 10: aload 0
aload 5
aload 2
aload 3
aload 6
invokestatic org.graalvm.compiler.nodes.calc.AddNode.canonical:(Lorg/graalvm/compiler/nodes/calc/AddNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/compiler/nodes/calc/AddNode;
0 11 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
0 11 2 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 11 3 forY Lorg/graalvm/compiler/nodes/ValueNode;
1 11 4 ret Lorg/graalvm/compiler/nodes/ValueNode;
5 8 5 improvement Lorg/graalvm/compiler/nodes/ValueNode;
9 11 5 op Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Add;>;
10 11 6 view Lorg/graalvm/compiler/nodes/NodeView;
MethodParameters:
Name Flags
tool
forX
forY
public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool, org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;Lorg/graalvm/compiler/lir/gen/ArithmeticLIRGeneratorTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
astore 3
start local 3 1: getstatic org.graalvm.compiler.nodes.calc.AddNode.$assertionsDisabled:Z
ifne 2
aload 3
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", this="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
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: jdk.vm.ci.meta.Value
StackMap stack:
aload 1
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
astore 4
start local 4 3: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.shouldSwapInputs:(Lorg/graalvm/compiler/nodes/spi/NodeValueMap;)Z
ifeq 7
4: aload 3
astore 5
start local 5 5: aload 4
astore 3
6: aload 5
astore 4
end local 5 7: StackMap locals: jdk.vm.ci.meta.Value
StackMap stack:
aload 1
aload 0
aload 2
aload 3
aload 4
iconst_0
invokeinterface org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool.emitAdd:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Z)Ljdk/vm/ci/meta/Value;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.setResult:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
pop
8: return
end local 4 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/nodes/calc/AddNode;
0 9 1 nodeValueMap Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
0 9 2 gen Lorg/graalvm/compiler/lir/gen/ArithmeticLIRGeneratorTool;
1 9 3 op1 Ljdk/vm/ci/meta/Value;
3 9 4 op2 Ljdk/vm/ci/meta/Value;
5 7 5 tmp Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
nodeValueMap
gen
public org.graalvm.compiler.graph.Node maybeCommuteInputs();
descriptor: ()Lorg/graalvm/compiler/graph/Node;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.maybeCommuteInputs:()Lorg/graalvm/compiler/nodes/calc/BinaryNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.graph.Node, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.nodes.ValueNode
aload 3
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.nodes.calc.AddNode.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/graalvm/compiler/nodes/calc/BinaryArithmeticNode<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Add;>;Lorg/graalvm/compiler/nodes/calc/NarrowableArithmeticNode;Lorg/graalvm/compiler/graph/spi/Canonicalizable$BinaryCommutative<Lorg/graalvm/compiler/nodes/ValueNode;>;
SourceFile: "AddNode.java"
InnerClasses:
public abstract BinaryOp = org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp of org.graalvm.compiler.core.common.type.ArithmeticOpTable
public abstract Add = org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Add of org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp
public abstract BinaryCommutative = org.graalvm.compiler.graph.spi.Canonicalizable$BinaryCommutative of org.graalvm.compiler.graph.spi.Canonicalizable
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(shortName = "+")