public final class org.graalvm.compiler.replacements.nodes.ReverseBytesNode extends org.graalvm.compiler.nodes.calc.UnaryNode implements org.graalvm.compiler.nodes.spi.LIRLowerable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.replacements.nodes.ReverseBytesNode
super_class: org.graalvm.compiler.nodes.calc.UnaryNode
{
public static final org.graalvm.compiler.graph.NodeClass<org.graalvm.compiler.replacements.nodes.ReverseBytesNode> 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/ReverseBytesNode;>;
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/replacements/nodes/ReverseBytesNode;
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.ReverseBytesNode.$assertionsDisabled:Z
3: ldc Lorg/graalvm/compiler/replacements/nodes/ReverseBytesNode;
invokestatic org.graalvm.compiler.graph.NodeClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/NodeClass;
putstatic org.graalvm.compiler.replacements.nodes.ReverseBytesNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.graalvm.compiler.replacements.nodes.ReverseBytesNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.getStackKind:()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
invokespecial org.graalvm.compiler.nodes.calc.UnaryNode.<init>:(Lorg/graalvm/compiler/graph/NodeClass;Lorg/graalvm/compiler/core/common/type/Stamp;Lorg/graalvm/compiler/nodes/ValueNode;)V
1: getstatic org.graalvm.compiler.replacements.nodes.ReverseBytesNode.$assertionsDisabled:Z
ifne 2
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 2
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.compiler.replacements.nodes.ReverseBytesNode org.graalvm.compiler.nodes.ValueNode
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/nodes/ReverseBytesNode;
0 3 1 value Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
value
public org.graalvm.compiler.core.common.type.Stamp foldStamp(org.graalvm.compiler.core.common.type.Stamp);
descriptor: (Lorg/graalvm/compiler/core/common/type/Stamp;)Lorg/graalvm/compiler/core/common/type/Stamp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.replacements.nodes.ReverseBytesNode.$assertionsDisabled:Z
ifne 1
aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
invokevirtual org.graalvm.compiler.core.common.type.Stamp.isCompatible:(Lorg/graalvm/compiler/core/common/type/Stamp;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
astore 2
start local 2 2: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 5
3: getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
invokevirtual jdk.vm.ci.meta.JavaKind.getBitCount:()I
invokestatic jdk.vm.ci.code.CodeUtil.mask:(I)J
lstore 3
start local 3 4: aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.downMask:()J
l2i
invokestatic java.lang.Integer.reverse:(I)I
i2l
lload 3
land
aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upMask:()J
l2i
invokestatic java.lang.Integer.reverse:(I)I
i2l
lload 3
land
invokestatic org.graalvm.compiler.core.common.type.IntegerStamp.stampForMask:(IJJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
areturn
end local 3 5: StackMap locals: org.graalvm.compiler.core.common.type.IntegerStamp
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Long:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 7
6: aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.downMask:()J
invokestatic java.lang.Long.reverse:(J)J
aload 2
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.upMask:()J
invokestatic java.lang.Long.reverse:(J)J
invokestatic org.graalvm.compiler.core.common.type.IntegerStamp.stampForMask:(IJJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.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 8 0 this Lorg/graalvm/compiler/replacements/nodes/ReverseBytesNode;
0 8 1 newStamp Lorg/graalvm/compiler/core/common/type/Stamp;
2 8 2 valueStamp Lorg/graalvm/compiler/core/common/type/IntegerStamp;
4 5 3 mask J
MethodParameters:
Name Flags
newStamp
public org.graalvm.compiler.nodes.ValueNode canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.isConstant:()Z
ifeq 6
1: aload 2
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
astore 3
start local 3 2: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Int:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 3
aload 3
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
invokestatic java.lang.Integer.reverseBytes:(I)I
i2l
goto 4
StackMap locals: jdk.vm.ci.meta.JavaConstant
StackMap stack:
3: aload 3
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
invokestatic java.lang.Long.reverseBytes:(J)J
StackMap locals:
StackMap stack: long
4: lstore 4
start local 4 5: aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getStackKind:()Ljdk/vm/ci/meta/JavaKind;
lload 4
invokestatic org.graalvm.compiler.nodes.ConstantNode.forIntegerKind:(Ljdk/vm/ci/meta/JavaKind;J)Lorg/graalvm/compiler/nodes/ConstantNode;
areturn
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/replacements/nodes/ReverseBytesNode;
0 7 1 tool Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;
0 7 2 forValue Lorg/graalvm/compiler/nodes/ValueNode;
2 6 3 c Ljdk/vm/ci/meta/JavaConstant;
5 6 4 reversed J
MethodParameters:
Name Flags
tool
forValue
public void generate(org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool);
descriptor: (Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.getLIRGeneratorTool:()Lorg/graalvm/compiler/lir/gen/LIRGeneratorTool;
aload 1
aload 0
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.getValue:()Lorg/graalvm/compiler/nodes/ValueNode;
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.operand:(Lorg/graalvm/compiler/graph/Node;)Ljdk/vm/ci/meta/Value;
invokeinterface org.graalvm.compiler.lir.gen.LIRGeneratorTool.emitByteSwap:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
astore 2
start local 2 1: aload 1
aload 0
aload 2
invokeinterface org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool.setResult:(Lorg/graalvm/compiler/nodes/ValueNode;Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Value;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/replacements/nodes/ReverseBytesNode;
0 3 1 gen Lorg/graalvm/compiler/nodes/spi/NodeLIRBuilderTool;
1 3 2 result Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
gen
public org.graalvm.compiler.graph.Node canonical(org.graalvm.compiler.graph.spi.CanonicalizerTool, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast org.graalvm.compiler.nodes.ValueNode
invokevirtual org.graalvm.compiler.replacements.nodes.ReverseBytesNode.canonical:(Lorg/graalvm/compiler/graph/spi/CanonicalizerTool;Lorg/graalvm/compiler/nodes/ValueNode;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ReverseBytesNode.java"
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;)