public final class org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode extends org.graalvm.compiler.nodes.calc.BinaryNode implements org.graalvm.compiler.nodes.spi.ArithmeticLIRLowerable, org.graalvm.compiler.nodes.spi.Lowerable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode
super_class: org.graalvm.compiler.nodes.calc.BinaryNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode> TYPE;
descriptor: Lorg/graalvm/compiler/graph/NodeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/graph/NodeClass<Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;>;
protected final org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation operation;
descriptor: Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$org$graalvm$compiler$replacements$nodes$BinaryMathIntrinsicNode$BinaryOperation;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
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.replacements.nodes.BinaryMathIntrinsicNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation getOperation();
descriptor: ()Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.operation:Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
public static org.graalvm.compiler.nodes.ValueNode create(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.tryConstantFold:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
new org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode
dup
aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 4 1 forY Lorg/graalvm/compiler/nodes/ValueNode;
0 4 2 op Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
1 4 3 c Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
forX
forY
op
protected static org.graalvm.compiler.nodes.ValueNode tryConstantFold(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 3
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 3
1: aload 0
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asDouble:()D
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asDouble:()D
aload 2
invokestatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.doCompute:(DDLorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)D
dstore 3
start local 3 2: dload 3
invokestatic org.graalvm.compiler.nodes.ConstantNode.forDouble:(D)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 3 3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 4 1 forY Lorg/graalvm/compiler/nodes/ValueNode;
0 4 2 op Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
2 3 3 ret D
MethodParameters:
Name Flags
forX
forY
op
public org.graalvm.compiler.core.common.type.Stamp foldStamp(org.graalvm.compiler.core.common.type.Stamp, org.graalvm.compiler.core.common.type.Stamp);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
0 1 1 stampX Lorg/graalvm/compiler/core/common/type/Stamp;
0 1 2 stampY Lorg/graalvm/compiler/core/common/type/Stamp;
MethodParameters:
Name Flags
stampX
stampY
protected void <init>(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)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
getstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
getstatic jdk.vm.ci.meta.JavaKind.Double:Ljdk/vm/ci/meta/JavaKind;
invokestatic org.graalvm.compiler.core.common.type.StampFactory.forKind:(Ljdk/vm/ci/meta/JavaKind;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 1
aload 2
invokespecial org.graalvm.compiler.nodes.calc.BinaryNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
1: getstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.FloatStamp
ifeq 2
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.core.common.type.PrimitiveStamp.getBits:(Lorg/graalvm/compiler/core/common/type/Stamp;)I
bipush 64
if_icmpeq 3
StackMap locals: org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.$assertionsDisabled:Z
ifne 5
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.FloatStamp
ifeq 4
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokestatic org.graalvm.compiler.core.common.type.PrimitiveStamp.getBits:(Lorg/graalvm/compiler/core/common/type/Stamp;)I
bipush 64
if_icmpeq 5
StackMap locals:
StackMap stack:
4: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.operation:Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
0 7 1 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 7 2 forY Lorg/graalvm/compiler/nodes/ValueNode;
0 7 3 op Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
MethodParameters:
Name Flags
forX
forY
op
public void lower(org.graalvm.compiler.nodes.spi.LoweringTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringTool.getLowerer:()Lorg/graalvm/compiler/nodes/spi/LoweringProvider;
aload 0
aload 1
invokeinterface org.graalvm.compiler.nodes.spi.LoweringProvider.lower:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/nodes/spi/LoweringTool;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
0 2 1 tool Lorg/graalvm/compiler/nodes/spi/LoweringTool;
MethodParameters:
Name Flags
tool
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=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.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.replacements.nodes.BinaryMathIntrinsicNode.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: invokestatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.$SWITCH_TABLE$org$graalvm$compiler$replacements$nodes$BinaryMathIntrinsicNode$BinaryOperation:()[I
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.getOperation:()Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 3
default: 5
}
3: StackMap locals: jdk.vm.ci.meta.Value jdk.vm.ci.meta.Value
StackMap stack:
aload 2
aload 3
aload 4
invokeinterface org.graalvm.compiler.lir.gen.ArithmeticLIRGeneratorTool.emitMathPow:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
astore 5
start local 5 4: goto 6
end local 5 5: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
start local 5 6: StackMap locals: jdk.vm.ci.meta.Value
StackMap stack:
aload 1
aload 0
aload 5
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 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 this Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
0 8 1 nodeValueMap Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
0 8 2 gen Lorg/graalvm/compiler/lir/gen/ArithmeticLIRGeneratorTool;
1 8 3 xValue Ljdk/vm/ci/meta/Value;
2 8 4 yValue Ljdk/vm/ci/meta/Value;
4 5 5 result Ljdk/vm/ci/meta/Value;
6 8 5 result Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
nodeValueMap
gen
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=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.getOperation:()Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
invokestatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.tryConstantFold:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)Lorg/graalvm/compiler/nodes/ValueNode;
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 4
areturn
3: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 17
4: aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asDouble:()D
dstore 5
start local 5 5: dload 5
dconst_0
dcmpl
ifne 7
6: dconst_1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forDouble:(D)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
7: StackMap locals: double
StackMap stack:
dload 5
dconst_1
dcmpl
ifne 9
8: aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
areturn
9: StackMap locals:
StackMap stack:
dload 5
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 11
10: ldc NaN
invokestatic org.graalvm.compiler.nodes.ConstantNode.forDouble:(D)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
11: StackMap locals:
StackMap stack:
dload 5
ldc -1.0
dcmpl
ifne 13
12: new org.graalvm.compiler.nodes.calc.DivNode
dup
dconst_1
invokestatic org.graalvm.compiler.nodes.ConstantNode.forDouble:(D)Lorg/graalvm/compiler/nodes/ConstantNode;
aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
invokespecial org.graalvm.compiler.nodes.calc.DivNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
13: StackMap locals:
StackMap stack:
dload 5
ldc 2.0
dcmpl
ifne 15
14: new org.graalvm.compiler.nodes.calc.MulNode
dup
aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
invokespecial org.graalvm.compiler.nodes.calc.MulNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
15: StackMap locals:
StackMap stack:
dload 5
ldc 0.5
dcmpl
ifne 17
aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
instanceof org.graalvm.compiler.core.common.type.FloatStamp
ifeq 17
aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.FloatStamp
invokevirtual org.graalvm.compiler.core.common.type.FloatStamp.lowerBound:()D
dconst_0
dcmpl
iflt 17
16: new org.graalvm.compiler.nodes.calc.SqrtNode
dup
aload 0
getfield org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.x:Lorg/graalvm/compiler/nodes/ValueNode;
invokespecial org.graalvm.compiler.nodes.calc.SqrtNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;)V
areturn
end local 5 17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode;
0 18 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
0 18 2 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 18 3 forY Lorg/graalvm/compiler/nodes/ValueNode;
1 18 4 c Lorg/graalvm/compiler/nodes/ValueNode;
5 17 5 yValue D
MethodParameters:
Name Flags
tool
forX
forY
public static native double compute(double, double, org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation);
descriptor: (DDLorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)D
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
RuntimeVisibleAnnotations:
org.graalvm.compiler.graph.Node$NodeIntrinsic()
RuntimeVisibleParameterAnnotations:
0:
1:
2:
org.graalvm.compiler.graph.Node$ConstantNodeParameter()
MethodParameters:
Name Flags
x
y
op
private static double doCompute(double, double, org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation);
descriptor: (DDLorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 2 start local 4 0: invokestatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.$SWITCH_TABLE$org$graalvm$compiler$replacements$nodes$BinaryMathIntrinsicNode$BinaryOperation:()[I
aload 4
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 1
default: 2
}
1: StackMap locals:
StackMap stack:
dload 0
dload 2
invokestatic java.lang.Math.pow:(DD)D
dreturn
2: StackMap locals:
StackMap stack:
new org.graalvm.compiler.debug.GraalError
dup
ldc "unknown op %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x D
0 3 2 y D
0 3 4 op Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
MethodParameters:
Name Flags
x
y
op
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.replacements.nodes.BinaryMathIntrinsicNode.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
static int[] $SWITCH_TABLE$org$graalvm$compiler$replacements$nodes$BinaryMathIntrinsicNode$BinaryOperation();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.$SWITCH_TABLE$org$graalvm$compiler$replacements$nodes$BinaryMathIntrinsicNode$BinaryOperation:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation.values:()[Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation.POW:Lorg/graalvm/compiler/replacements/nodes/BinaryMathIntrinsicNode$BinaryOperation;
invokevirtual org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
dup
putstatic org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode.$SWITCH_TABLE$org$graalvm$compiler$replacements$nodes$BinaryMathIntrinsicNode$BinaryOperation:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
}
SourceFile: "BinaryMathIntrinsicNode.java"
NestMembers:
org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation
InnerClasses:
public abstract ConstantNodeParameter = org.graalvm.compiler.graph.Node$ConstantNodeParameter of org.graalvm.compiler.graph.Node
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
public final BinaryOperation = org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode$BinaryOperation of org.graalvm.compiler.replacements.nodes.BinaryMathIntrinsicNode
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(nameTemplate = "MathIntrinsic#{p#operation/s}", cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_UNKNOWN:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_1:Lorg/graalvm/compiler/nodeinfo/NodeSize;)