public class org.graalvm.compiler.nodes.calc.MulNode extends org.graalvm.compiler.nodes.calc.BinaryArithmeticNode<org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Mul> 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.MulNode
super_class: org.graalvm.compiler.nodes.calc.BinaryArithmeticNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.nodes.calc.MulNode> 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/MulNode;>;
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/MulNode;
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.MulNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/nodes/calc/MulNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.nodes.calc.MulNode.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.MulNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
aload 2
invokespecial org.graalvm.compiler.nodes.calc.MulNode.<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/MulNode;
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.MulNode>, 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.MulNode.getArithmeticOpTable:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable;
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable.getMul:()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/MulNode;
0 2 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/calc/MulNode;>;
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/MulNode;>;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=6, 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.getMul:()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.MulNode.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:
aconst_null
aload 3
aload 4
aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.nodes.calc.MulNode.canonical:(Lorg/graalvm/compiler/nodes/calc/MulNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/core/common/type/Stamp;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 6 0 x Lorg/graalvm/compiler/nodes/ValueNode;
0 6 1 y Lorg/graalvm/compiler/nodes/ValueNode;
0 6 2 view Lorg/graalvm/compiler/nodes/NodeView;
1 6 3 op Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Mul;>;
2 6 4 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
3 6 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$Mul> 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.getMul:()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/MulNode;
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$Mul;>;
MethodParameters:
Name Flags
table
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=6, 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.MulNode.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.MulNode
dup
aload 3
aload 2
invokespecial org.graalvm.compiler.nodes.calc.MulNode.<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.MulNode.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 0
aload 6
invokevirtual org.graalvm.compiler.nodes.calc.MulNode.stamp:(Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 2
aload 3
aload 6
invokestatic org.graalvm.compiler.nodes.calc.MulNode.canonical:(Lorg/graalvm/compiler/nodes/calc/MulNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/core/common/type/Stamp;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/MulNode;
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$Mul;>;
10 11 6 view Lorg/graalvm/compiler/nodes/NodeView;
MethodParameters:
Name Flags
tool
forX
forY
private static org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.nodes.calc.MulNode, org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp<org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Mul>, org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.NodeView);
descriptor: (Lorg/graalvm/compiler/nodes/calc/MulNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp;Lorg/graalvm/compiler/core/common/type/Stamp;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=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 13
1: aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
astore 6
start local 6 2: aload 1
aload 6
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp.isNeutral:(Ljdk/vm/ci/meta/Constant;)Z
ifeq 4
3: aload 3
areturn
4: StackMap locals: jdk.vm.ci.meta.Constant
StackMap stack:
aload 6
instanceof jdk.vm.ci.meta.PrimitiveConstant
ifeq 9
aload 6
checkcast jdk.vm.ci.meta.PrimitiveConstant
invokevirtual jdk.vm.ci.meta.PrimitiveConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.isNumericInteger:()Z
ifeq 9
5: aload 6
checkcast jdk.vm.ci.meta.PrimitiveConstant
invokevirtual jdk.vm.ci.meta.PrimitiveConstant.asLong:()J
lstore 7
start local 7 6: aload 2
aload 3
lload 7
aload 5
invokestatic org.graalvm.compiler.nodes.calc.MulNode.canonical:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;JLorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 9
start local 9 7: aload 9
ifnull 9
8: aload 9
areturn
end local 9 end local 7 9: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp.isAssociative:()Z
ifeq 13
10: aload 0
ifnull 11
aload 0
goto 12
StackMap locals:
StackMap stack:
11: new org.graalvm.compiler.nodes.calc.MulNode
dup
aload 3
aload 4
invokespecial org.graalvm.compiler.nodes.calc.MulNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.calc.MulNode.maybeCommuteInputs:()Lorg/graalvm/compiler/nodes/calc/BinaryNode;
checkcast org.graalvm.compiler.nodes.calc.MulNode
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.calc.MulNode
12: invokestatic org.graalvm.compiler.nodes.ValueNode.isConstantPredicate:()Lorg/graalvm/compiler/graph/iterators/NodePredicate;
aload 3
aload 4
aload 5
invokestatic org.graalvm.compiler.nodes.calc.MulNode.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;
areturn
end local 6 13: StackMap locals:
StackMap stack:
aload 0
ifnull 14
aload 0
goto 15
StackMap locals:
StackMap stack:
14: new org.graalvm.compiler.nodes.calc.MulNode
dup
aload 3
aload 4
invokespecial org.graalvm.compiler.nodes.calc.MulNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.calc.MulNode.maybeCommuteInputs:()Lorg/graalvm/compiler/nodes/calc/BinaryNode;
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.calc.BinaryNode
15: 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 16 0 self Lorg/graalvm/compiler/nodes/calc/MulNode;
0 16 1 op Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Mul;>;
0 16 2 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 16 3 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 16 4 forY Lorg/graalvm/compiler/nodes/ValueNode;
0 16 5 view Lorg/graalvm/compiler/nodes/NodeView;
2 13 6 c Ljdk/vm/ci/meta/Constant;
6 9 7 i J
7 9 9 result Lorg/graalvm/compiler/nodes/ValueNode;
Signature: (Lorg/graalvm/compiler/nodes/calc/MulNode;Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp<Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$BinaryOp$Mul;>;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
self
op
stamp
forX
forY
view
public static org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.nodes.ValueNode, long, org.graalvm.compiler.nodes.NodeView);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;JLorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 4 0: lload 2
lconst_0
lcmp
ifne 2
1: aload 0
lconst_0
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;J)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
2: StackMap locals:
StackMap stack:
lload 2
lconst_1
lcmp
ifne 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
lload 2
ldc -1
lcmp
ifne 6
5: aload 1
aload 4
invokestatic org.graalvm.compiler.nodes.calc.NegateNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
6: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifle 31
7: lload 2
invokestatic jdk.vm.ci.code.CodeUtil.isPowerOf2:(J)Z
ifeq 9
8: new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
lload 2
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
9: StackMap locals:
StackMap stack:
lload 2
lconst_1
lsub
invokestatic jdk.vm.ci.code.CodeUtil.isPowerOf2:(J)Z
ifeq 11
10: new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
lload 2
lconst_1
lsub
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
aload 1
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;
areturn
11: StackMap locals:
StackMap stack:
lload 2
lconst_1
ladd
invokestatic jdk.vm.ci.code.CodeUtil.isPowerOf2:(J)Z
ifeq 13
12: new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
lload 2
lconst_1
ladd
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
aload 1
aload 4
invokestatic org.graalvm.compiler.nodes.calc.SubNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
13: StackMap locals:
StackMap stack:
lload 2
invokestatic java.lang.Long.bitCount:(J)I
istore 5
start local 5 14: lload 2
invokestatic java.lang.Long.highestOneBit:(J)J
lstore 6
start local 6 15: iload 5
iconst_2
if_icmpne 24
16: lload 2
lload 6
lsub
lstore 8
start local 8 17: getstatic org.graalvm.compiler.nodes.calc.MulNode.$assertionsDisabled:Z
ifne 19
lload 6
lconst_0
lcmp
ifle 18
lload 8
lconst_0
lcmp
ifgt 19
StackMap locals: int long long
StackMap stack:
18: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals:
StackMap stack:
new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
lload 6
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
astore 10
start local 10 20: lload 8
lconst_1
lcmp
ifne 21
aload 1
goto 22
StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
21: new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
lload 8
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
StackMap locals:
StackMap stack: org.graalvm.compiler.nodes.ValueNode
22: astore 11
start local 11 23: aload 10
aload 11
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;
areturn
end local 11 end local 10 end local 8 24: StackMap locals:
StackMap stack:
lload 6
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
iconst_1
iadd
istore 8
start local 8 25: iconst_1
iload 8
ishl
i2l
lload 2
lsub
lstore 9
start local 9 26: lload 9
invokestatic jdk.vm.ci.code.CodeUtil.isPowerOf2:(J)Z
ifeq 34
iload 8
aload 0
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
if_icmpge 34
27: getstatic org.graalvm.compiler.nodes.calc.MulNode.$assertionsDisabled:Z
ifne 28
lload 9
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
iconst_1
if_icmpge 28
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
28: StackMap locals: int long
StackMap stack:
new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
iload 8
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
astore 11
start local 11 29: new org.graalvm.compiler.nodes.calc.LeftShiftNode
dup
aload 1
lload 9
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
invokespecial org.graalvm.compiler.nodes.calc.LeftShiftNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
astore 12
start local 12 30: aload 11
aload 12
aload 4
invokestatic org.graalvm.compiler.nodes.calc.SubNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 12 end local 11 end local 9 end local 8 end local 6 end local 5 31: StackMap locals: org.graalvm.compiler.core.common.type.Stamp org.graalvm.compiler.nodes.ValueNode long org.graalvm.compiler.nodes.NodeView
StackMap stack:
lload 2
lconst_0
lcmp
ifge 34
32: lload 2
lneg
invokestatic jdk.vm.ci.code.CodeUtil.isPowerOf2:(J)Z
ifeq 34
33: aload 1
lload 2
lneg
invokestatic jdk.vm.ci.code.CodeUtil.log2:(J)I
invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(I)Lorg/graalvm/compiler/nodes/ConstantNode;
aload 4
invokestatic org.graalvm.compiler.nodes.calc.LeftShiftNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
aload 4
invokestatic org.graalvm.compiler.nodes.calc.NegateNode.create:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/NodeView;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
34: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 stamp Lorg/graalvm/compiler/core/common/type/Stamp;
0 35 1 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 35 2 i J
0 35 4 view Lorg/graalvm/compiler/nodes/NodeView;
14 31 5 bitCount I
15 31 6 highestBitValue J
17 24 8 lowerBitValue J
20 24 10 left Lorg/graalvm/compiler/nodes/ValueNode;
23 24 11 right Lorg/graalvm/compiler/nodes/ValueNode;
25 31 8 shiftToRoundUpToPowerOf2 I
26 31 9 subValue J
29 31 11 left Lorg/graalvm/compiler/nodes/ValueNode;
30 31 12 right Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
stamp
forX
i
view
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.MulNode.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: aload 1
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.MulNode.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 2: aload 0
aload 1
invokevirtual org.graalvm.compiler.nodes.calc.MulNode.shouldSwapInputs:(Lorg/graalvm/compiler/nodes/spi/NodeValueMap;)Z
ifeq 6
3: aload 3
astore 5
start local 5 4: aload 4
astore 3
5: aload 5
astore 4
end local 5 6: StackMap locals: jdk.vm.ci.meta.Value 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.emitMul:(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
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/nodes/calc/MulNode;
0 8 1 nodeValueMap Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
0 8 2 gen Lorg/graalvm/compiler/lir/gen/ArithmeticLIRGeneratorTool;
1 8 3 op1 Ljdk/vm/ci/meta/Value;
2 8 4 op2 Ljdk/vm/ci/meta/Value;
4 6 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.MulNode.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.MulNode.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$Mul;>;Lorg/graalvm/compiler/nodes/calc/NarrowableArithmeticNode;Lorg/graalvm/compiler/graph/spi/Canonicalizable$BinaryCommutative<Lorg/graalvm/compiler/nodes/ValueNode;>;
SourceFile: "MulNode.java"
InnerClasses:
public abstract BinaryOp = org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp of org.graalvm.compiler.core.common.type.ArithmeticOpTable
public abstract Mul = org.graalvm.compiler.core.common.type.ArithmeticOpTable$BinaryOp$Mul 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 = "*", cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_2:Lorg/graalvm/compiler/nodeinfo/NodeCycles;)