public class org.graalvm.compiler.core.sparc.SPARCIntegerCompareCanonicalizationPhase extends org.graalvm.compiler.phases.Phase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.sparc.SPARCIntegerCompareCanonicalizationPhase
super_class: org.graalvm.compiler.phases.Phase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.phases.Phase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/sparc/SPARCIntegerCompareCanonicalizationPhase;
protected void run(org.graalvm.compiler.nodes.StructuredGraph);
descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: org.graalvm.compiler.core.sparc.SPARCIntegerCompareCanonicalizationPhase org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.compiler.graph.Node
astore 2
start local 2 2: aload 2
instanceof org.graalvm.compiler.nodes.calc.CompareNode
ifeq 6
3: aload 2
checkcast org.graalvm.compiler.nodes.calc.CompareNode
astore 4
start local 4 4: aload 4
aload 4
invokevirtual org.graalvm.compiler.nodes.calc.CompareNode.getX:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.core.sparc.SPARCIntegerCompareCanonicalizationPhase.min32:(Lorg/graalvm/compiler/nodes/calc/CompareNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
5: aload 4
aload 4
invokevirtual org.graalvm.compiler.nodes.calc.CompareNode.getY:()Lorg/graalvm/compiler/nodes/ValueNode;
invokestatic org.graalvm.compiler.core.sparc.SPARCIntegerCompareCanonicalizationPhase.min32:(Lorg/graalvm/compiler/nodes/calc/CompareNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/core/sparc/SPARCIntegerCompareCanonicalizationPhase;
0 8 1 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 6 2 n Lorg/graalvm/compiler/graph/Node;
4 6 4 enode Lorg/graalvm/compiler/nodes/calc/CompareNode;
MethodParameters:
Name Flags
graph
private static void min32(org.graalvm.compiler.nodes.calc.CompareNode, org.graalvm.compiler.nodes.ValueNode);
descriptor: (Lorg/graalvm/compiler/nodes/calc/CompareNode;Lorg/graalvm/compiler/nodes/ValueNode;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.stamp:()Lorg/graalvm/compiler/core/common/type/Stamp;
astore 2
start local 2 1: aload 2
instanceof org.graalvm.compiler.core.common.type.IntegerStamp
ifeq 21
2: aload 2
checkcast org.graalvm.compiler.core.common.type.IntegerStamp
invokevirtual org.graalvm.compiler.core.common.type.IntegerStamp.getBits:()I
istore 3
start local 3 3: iload 3
bipush 32
if_icmpeq 21
iload 3
bipush 64
if_icmpeq 21
4: iload 3
bipush 32
if_icmpgt 7
5: bipush 32
istore 3
6: goto 8
7: StackMap locals: org.graalvm.compiler.core.common.type.Stamp int
StackMap stack:
bipush 64
istore 3
8: StackMap locals:
StackMap stack:
aload 1
instanceof org.graalvm.compiler.nodes.ConstantNode
ifeq 19
9: iload 3
bipush 32
if_icmpne 12
10: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asInt:()I
invokestatic jdk.vm.ci.meta.JavaConstant.forInt:(I)Ljdk/vm/ci/meta/PrimitiveConstant;
astore 5
start local 5 11: goto 16
end local 5 StackMap locals:
StackMap stack:
12: iload 3
bipush 64
if_icmpne 15
13: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
invokestatic jdk.vm.ci.meta.JavaConstant.forLong:(J)Ljdk/vm/ci/meta/PrimitiveConstant;
astore 5
start local 5 14: goto 16
end local 5 15: StackMap locals:
StackMap stack:
invokestatic org.graalvm.compiler.debug.GraalError.shouldNotReachHere:()Ljava/lang/RuntimeException;
athrow
start local 5 16: StackMap locals: org.graalvm.compiler.nodes.calc.CompareNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.Stamp int top jdk.vm.ci.meta.JavaConstant
StackMap stack:
iload 3
invokestatic jdk.vm.ci.code.CodeUtil.mask:(I)J
lstore 6
start local 6 17: aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.ConstantNode
dup
aload 5
iload 3
aload 5
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lload 6
land
aload 5
invokeinterface jdk.vm.ci.meta.JavaConstant.asLong:()J
lload 6
land
invokestatic org.graalvm.compiler.core.common.type.IntegerStamp.stampForMask:(IJJ)Lorg/graalvm/compiler/core/common/type/IntegerStamp;
invokespecial org.graalvm.compiler.nodes.ConstantNode.<init>:(Ljdk/vm/ci/meta/Constant;Lorg/graalvm/compiler/core/common/type/Stamp;)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 4
end local 6 end local 5 start local 4 18: goto 20
end local 4 19: StackMap locals: org.graalvm.compiler.nodes.calc.CompareNode org.graalvm.compiler.nodes.ValueNode org.graalvm.compiler.core.common.type.Stamp int
StackMap stack:
aload 1
invokevirtual org.graalvm.compiler.nodes.ValueNode.graph:()Lorg/graalvm/compiler/nodes/StructuredGraph;
new org.graalvm.compiler.nodes.calc.SignExtendNode
dup
aload 1
iload 3
invokespecial org.graalvm.compiler.nodes.calc.SignExtendNode.<init>:(Lorg/graalvm/compiler/nodes/ValueNode;I)V
invokevirtual org.graalvm.compiler.nodes.StructuredGraph.addOrUnique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
checkcast org.graalvm.compiler.nodes.ValueNode
astore 4
start local 4 20: StackMap locals: org.graalvm.compiler.nodes.ValueNode
StackMap stack:
aload 1
aload 4
aload 0
invokedynamic test(Lorg/graalvm/compiler/nodes/calc/CompareNode;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
org/graalvm/compiler/core/sparc/SPARCIntegerCompareCanonicalizationPhase.lambda$0(Lorg/graalvm/compiler/nodes/calc/CompareNode;Lorg/graalvm/compiler/graph/Node;)Z (6)
(Lorg/graalvm/compiler/graph/Node;)Z
invokevirtual org.graalvm.compiler.nodes.ValueNode.replaceAtUsages:(Lorg/graalvm/compiler/graph/Node;Ljava/util/function/Predicate;)V
end local 4 end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 enode Lorg/graalvm/compiler/nodes/calc/CompareNode;
0 22 1 v Lorg/graalvm/compiler/nodes/ValueNode;
1 22 2 s Lorg/graalvm/compiler/core/common/type/Stamp;
3 21 3 bits I
18 19 4 replacement Lorg/graalvm/compiler/nodes/ValueNode;
20 21 4 replacement Lorg/graalvm/compiler/nodes/ValueNode;
11 12 5 newConst Ljdk/vm/ci/meta/JavaConstant;
14 15 5 newConst Ljdk/vm/ci/meta/JavaConstant;
16 18 5 newConst Ljdk/vm/ci/meta/JavaConstant;
17 18 6 mask J
MethodParameters:
Name Flags
enode
v
private static boolean lambda$0(org.graalvm.compiler.nodes.calc.CompareNode, org.graalvm.compiler.graph.Node);
descriptor: (Lorg/graalvm/compiler/nodes/calc/CompareNode;Lorg/graalvm/compiler/graph/Node;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 x Lorg/graalvm/compiler/graph/Node;
}
SourceFile: "SPARCIntegerCompareCanonicalizationPhase.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles