public class org.graalvm.compiler.core.test.ConditionalEliminationMulTest 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.ConditionalEliminationMulTest
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/ConditionalEliminationMulTest;
public static void snippet01(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_3
if_icmpne 3
1: iload 0
bipush 11
imul
bipush 33
if_icmpeq 3
2: invokestatic org.graalvm.compiler.core.test.ConditionalEliminationMulTest.shouldBeOptimizedAway:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 a I
MethodParameters:
Name Flags
a
public static void snippet02(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ifne 3
1: iload 0
bipush 11
imul
ifeq 3
2: invokestatic org.graalvm.compiler.core.test.ConditionalEliminationMulTest.shouldBeOptimizedAway:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 a I
MethodParameters:
Name Flags
a
public static void snippet03(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_0
imul
bipush 6
if_icmpne 2
1: invokestatic org.graalvm.compiler.core.test.ConditionalEliminationMulTest.shouldBeOptimizedAway:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a I
MethodParameters:
Name Flags
a
public void testConditionalEliminated01();
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/ConditionalEliminationMulTest;
RuntimeInvisibleAnnotations:
Test()
public void testConditionalEliminated02();
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/ConditionalEliminationMulTest;
RuntimeInvisibleAnnotations:
Test()
public void testConditionalEliminated03();
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/ConditionalEliminationMulTest;
RuntimeInvisibleAnnotations:
Test()
private void assertOptimized(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationMulTest.prepareGraph:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationMulTest.assertOptimizedAway:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/core/test/ConditionalEliminationMulTest;
0 2 1 snippet Ljava/lang/String;
MethodParameters:
Name Flags
snippet
private org.graalvm.compiler.nodes.StructuredGraph prepareGraph(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationMulTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
astore 2
start local 2 1: aload 0
invokevirtual org.graalvm.compiler.core.test.ConditionalEliminationMulTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
astore 3
start local 3 2: new org.graalvm.compiler.phases.common.ConditionalEliminationPhase
dup
iconst_0
invokespecial org.graalvm.compiler.phases.common.ConditionalEliminationPhase.<init>:(Z)V
aload 2
aload 3
invokevirtual org.graalvm.compiler.phases.common.ConditionalEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
3: new org.graalvm.compiler.phases.common.CanonicalizerPhase
dup
invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
astore 4
start local 4 4: aload 4
aload 2
aload 3
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
5: new org.graalvm.compiler.phases.common.ConditionalEliminationPhase
dup
iconst_0
invokespecial org.graalvm.compiler.phases.common.ConditionalEliminationPhase.<init>:(Z)V
aload 2
aload 3
invokevirtual org.graalvm.compiler.phases.common.ConditionalEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
6: aload 4
aload 2
aload 3
invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
7: aload 2
areturn
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/core/test/ConditionalEliminationMulTest;
0 8 1 snippet Ljava/lang/String;
1 8 2 graph Lorg/graalvm/compiler/nodes/StructuredGraph;
2 8 3 context Lorg/graalvm/compiler/phases/tiers/HighTierContext;
4 8 4 c Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
MethodParameters:
Name Flags
snippet
}
SourceFile: "ConditionalEliminationMulTest.java"
InnerClasses:
public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph