public class org.graalvm.compiler.loop.MathUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.loop.MathUtil
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/loop/MathUtil;
private static boolean isConstantOne(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.IntegerStamp
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lconst_1
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v1 Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
v1
private static boolean isConstantZero(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.IntegerStamp
ifeq 1
aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lconst_0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v1 Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
v1
public static org.graalvm.compiler.nodes.ValueNode add(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.loop.MathUtil.isConstantZero:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.loop.MathUtil.isConstantZero:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.add:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/calc/AddNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 5 1 v1 Lorg/graalvm/compiler/nodes/ValueNode;
0 5 2 v2 Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
graph
v1
v2
public static org.graalvm.compiler.nodes.ValueNode mul(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.graalvm.compiler.loop.MathUtil.isConstantOne:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokestatic org.graalvm.compiler.loop.MathUtil.isConstantOne:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 4
3: aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.mul:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/calc/MulNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 5 1 v1 Lorg/graalvm/compiler/nodes/ValueNode;
0 5 2 v2 Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
graph
v1
v2
public static org.graalvm.compiler.nodes.ValueNode sub(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.graalvm.compiler.loop.MathUtil.isConstantZero:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.nodes.calc.BinaryArithmeticNode.sub:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/calc/SubNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 3 1 v1 Lorg/graalvm/compiler/nodes/ValueNode;
0 3 2 v2 Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
graph
v1
v2
public static org.graalvm.compiler.nodes.ValueNode divBefore(org.graalvm.compiler.nodes.StructuredGraph, org.graalvm.compiler.nodes.FixedNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokestatic org.graalvm.compiler.loop.MathUtil.isConstantOne:(Lorg/graalvm/compiler/nodes/ValueNode;)Z
ifeq 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 0
new org.graalvm.compiler.nodes.calc.SignedDivNode
dup
aload 2
aload 3
invokespecial org.graalvm.compiler.nodes.calc.SignedDivNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.add:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.calc.SignedDivNode
astore 4
start local 4 3: aload 0
aload 1
aload 4
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addBeforeFixed:(Lorg/graalvm/compiler/nodes/FixedNode;Lorg/graalvm/compiler/nodes/FixedWithNextNode;)V
4: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
0 5 1 before Lorg/graalvm/compiler/nodes/FixedNode;
0 5 2 dividend Lorg/graalvm/compiler/nodes/ValueNode;
0 5 3 divisor Lorg/graalvm/compiler/nodes/ValueNode;
3 5 4 div Lorg/graalvm/compiler/nodes/calc/SignedDivNode;
MethodParameters:
Name Flags
graph
before
dividend
divisor
}
SourceFile: "MathUtil.java"