public class org.graalvm.compiler.core.test.StampCanonicalizerTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.core.test.StampCanonicalizerTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
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.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
public static int andStamp(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 0
ldc 16776960
iand
iload 1
ldc 267386895
iand
iand
istore 2
start local 2 1: iload 2
iconst_1
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a I
0 2 1 b I
1 2 2 v I
MethodParameters:
Name Flags
a
b
public void testAnd();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
RuntimeInvisibleAnnotations:
Test()
public static int shiftLeftStamp1(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_1
ishl
istore 1
start local 1 1: iload 1
iconst_1
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a I
1 2 1 v I
MethodParameters:
Name Flags
a
public static int shiftLeftStamp2(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_1
ishl
istore 1
start local 1 1: iload 0
bipush 17
if_icmpne 3
2: iload 0
iconst_4
imul
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
iconst_1
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 a I
1 4 1 v I
MethodParameters:
Name Flags
a
public void testShift();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
RuntimeInvisibleAnnotations:
Test()
public static int upperBoundShiftStamp1(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
ldc 65535
iand
istore 1
start local 1 1: iload 1
iconst_4
ishl
ldc 267386880
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a I
1 2 1 v I
MethodParameters:
Name Flags
a
public static int upperBoundShiftStamp2(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
ldc 65535
iand
istore 1
start local 1 1: iload 1
iconst_4
ishr
ldc 61440
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a I
1 2 1 v I
MethodParameters:
Name Flags
a
public void testUpperBoundShift();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
RuntimeInvisibleAnnotations:
Test()
public static int divStamp1(int[]);
descriptor: ([I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
arraylength
iconst_4
idiv
istore 1
start local 1 1: iload 1
ldc -2147483648
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [I
1 2 1 v I
MethodParameters:
Name Flags
a
public static int divStamp2(int[]);
descriptor: ([I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
arraylength
iconst_5
idiv
istore 1
start local 1 1: iload 1
ldc -2147483648
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [I
1 2 1 v I
MethodParameters:
Name Flags
a
public void testDiv();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
RuntimeInvisibleAnnotations:
Test()
public static int distinctMask(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iload 0
ldc 43690
iand
istore 2
start local 2 1: iload 1
sipush 21845
iand
iconst_1
ior
istore 3
start local 3 2: iload 2
iload 3
if_icmpne 3
iconst_1
goto 4
StackMap locals: int int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 a I
0 5 1 b I
1 5 2 x I
2 5 3 y I
MethodParameters:
Name Flags
a
b
public void testDistinctMask();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
RuntimeInvisibleAnnotations:
Test()
private void testZeroReturn(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.StampCanonicalizerTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
aload 2
new org.graalvm.compiler.phases.tiers.PhaseContext
dup
aload 0
invokevirtual org.graalvm.compiler.core.test.StampCanonicalizerTest.getProviders:()Lorg/graalvm/compiler/phases/util/Providers;
invokespecial org.graalvm.compiler.phases.tiers.PhaseContext.<init>:(Lorg/graalvm/compiler/phases/util/Providers;)V
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
2: new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
dup
invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
aload 2
invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
3: aload 0
aload 2
iconst_0
invokevirtual org.graalvm.compiler.core.test.StampCanonicalizerTest.assertConstantReturn:(Lorg/graalvm/compiler/nodes/StructuredGraph;I)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/core/test/StampCanonicalizerTest;
0 5 1 methodName Ljava/lang/String;
1 5 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
MethodParameters:
Name Flags
methodName
}
SourceFile: "StampCanonicalizerTest.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph