public abstract class org.graalvm.compiler.nodes.calc.ShiftNode<OP> extends org.graalvm.compiler.nodes.calc.BinaryNode implements org.graalvm.compiler.nodes.ArithmeticOperation, org.graalvm.compiler.nodes.spi.ArithmeticLIRLowerable, org.graalvm.compiler.nodes.calc.NarrowableArithmeticNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.nodes.calc.ShiftNode
super_class: org.graalvm.compiler.nodes.calc.BinaryNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.nodes.calc.ShiftNode> 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/ShiftNode;>;
protected final org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction<OP> getOp;
descriptor: Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction<TOP;>;
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/ShiftNode;
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.ShiftNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/nodes/calc/ShiftNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.nodes.calc.ShiftNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.graalvm.compiler.graph.NodeClass<? extends org.graalvm.compiler.nodes.calc.ShiftNode<OP>>, org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction<OP>, org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()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;
invokeinterface org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp
aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp.foldStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/IntegerStamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
aload 3
aload 4
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.nodes.calc.ShiftNode.$assertionsDisabled:Z
ifne 2
aload 4
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
bipush 32
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.nodes.calc.ShiftNode org.graalvm.compiler.graph.NodeClass org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 0
aload 2
putfield org.graalvm.compiler.nodes.calc.ShiftNode.getOp:Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;
0 4 1 c Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;>;
0 4 2 getOp Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction<TOP;>;
0 4 3 x Lorg/graalvm/compiler/nodes/ValueNode;
0 4 4 s Lorg/graalvm/compiler/nodes/ValueNode;
Signature: (Lorg/graalvm/compiler/graph/NodeClass<+Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;>;Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction<TOP;>;Lorg/graalvm/compiler/nodes/ValueNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
MethodParameters:
Name Flags
c
getOp
x
s
protected final org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp<OP> getOp(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.nodes.calc.ShiftNode.getOp:Lorg/graalvm/compiler/nodes/calc/ShiftNode$SerializableShiftFunction;
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()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;
invokeinterface org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;
0 1 1 forValue Lorg/graalvm/compiler/nodes/ValueNode;
Signature: (Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp<TOP;>;
MethodParameters:
Name Flags
forValue
public final org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp<OP> getArithmeticOp();
descriptor: ()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getOp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;
Signature: ()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp<TOP;>;
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getArithmeticOp:()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
aload 1
aload 2
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp.foldStamp:(Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/core/common/type/IntegerStamp;)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/nodes/calc/ShiftNode<TOP;>;
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
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=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 4
aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 4
1: aload 3
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 4
start local 4 2: getstatic org.graalvm.compiler.nodes.calc.ShiftNode.$assertionsDisabled:Z
ifne 3
aload 4
invokeinterface jdk.vm.ci.meta.JavaConstant.getJavaKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: jdk.vm.ci.meta.JavaConstant
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
aload 0
aload 2
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getOp:(Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.asConstant:()Ljdk/vm/ci/meta/Constant;
aload 4
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp.foldConstant:(Ljdk/vm/ci/meta/Constant;I)Ljdk/vm/ci/meta/Constant;
invokestatic org.graalvm.compiler.nodes.ConstantNode.forPrimitive:(Lorg/graalvm/compiler/core/common/type/Stamp;Ljdk/vm/ci/meta/Constant;)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 4 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;
0 5 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
0 5 2 forX Lorg/graalvm/compiler/nodes/ValueNode;
0 5 3 forY Lorg/graalvm/compiler/nodes/ValueNode;
2 4 4 amount Ljdk/vm/ci/meta/JavaConstant;
MethodParameters:
Name Flags
tool
forX
forY
public int getShiftAmountMask();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getArithmeticOp:()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp.getShiftAmountMask:(Lorg/graalvm/compiler/core/common/type/Stamp;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/nodes/calc/ShiftNode<TOP;>;
public boolean isNarrowable(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.nodes.calc.ShiftNode.$assertionsDisabled:Z
ifne 1
iload 1
invokestatic jdk.vm.ci.code.CodeUtil.isPowerOf2:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 1
iconst_1
isub
istore 2
start local 2 2: aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getShiftAmountMask:()I
istore 3
start local 3 3: getstatic org.graalvm.compiler.nodes.calc.ShiftNode.$assertionsDisabled:Z
ifne 4
iload 3
iload 2
iand
iload 2
if_icmpeq 4
new java.lang.AssertionError
dup
ldc "wideMask %x should be wider than narrowMask %x"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.nodes.calc.ShiftNode.getY:()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.IntegerStamp
astore 4
start local 4 5: aload 4
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upMask:()J
iload 3
iload 2
iconst_m1
ixor
iand
i2l
land
lconst_0
lcmp
ifne 6
iconst_1
ireturn
StackMap locals: org.graalvm.compiler.core.common.type.IntegerStamp
StackMap stack:
6: iconst_0
ireturn
end local 4 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/nodes/calc/ShiftNode<TOP;>;
0 7 1 resultBits I
2 7 2 narrowMask I
3 7 3 wideMask I
5 7 4 yStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
MethodParameters:
Name Flags
resultBits
public org.graalvm.compiler.core.common.type.ArithmeticOpTable$Op getArithmeticOp();
descriptor: ()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$Op;
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.ShiftNode.getArithmeticOp:()Lorg/graalvm/compiler/core/common/type/ArithmeticOpTable$ShiftOp;
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.ShiftNode.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: <OP:Ljava/lang/Object;>Lorg/graalvm/compiler/nodes/calc/BinaryNode;Lorg/graalvm/compiler/nodes/ArithmeticOperation;Lorg/graalvm/compiler/nodes/spi/ArithmeticLIRLowerable;Lorg/graalvm/compiler/nodes/calc/NarrowableArithmeticNode;
SourceFile: "ShiftNode.java"
NestMembers:
org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction
InnerClasses:
public abstract Op = org.graalvm.compiler.core.common.type.ArithmeticOpTable$Op of org.graalvm.compiler.core.common.type.ArithmeticOpTable
public abstract ShiftOp = org.graalvm.compiler.core.common.type.ArithmeticOpTable$ShiftOp of org.graalvm.compiler.core.common.type.ArithmeticOpTable
protected abstract SerializableShiftFunction = org.graalvm.compiler.nodes.calc.ShiftNode$SerializableShiftFunction of org.graalvm.compiler.nodes.calc.ShiftNode
RuntimeVisibleAnnotations:
org.graalvm.compiler.nodeinfo.NodeInfo(cycles = org.graalvm.compiler.nodeinfo.NodeCycles.CYCLES_1:Lorg/graalvm/compiler/nodeinfo/NodeCycles;, size = org.graalvm.compiler.nodeinfo.NodeSize.SIZE_1:Lorg/graalvm/compiler/nodeinfo/NodeSize;)