public final class org.graalvm.compiler.lir.LIRValueUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.lir.LIRValueUtil
super_class: java.lang.Object
{
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/lir/LIRValueUtil;
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.lir.LIRValueUtil.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/lir/LIRValueUtil;
public static boolean isVariable(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.lir.Variable
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static org.graalvm.compiler.lir.Variable asVariable(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/Variable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.graalvm.compiler.lir.Variable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static boolean isConstantValue(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.lir.ConstantValue
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static org.graalvm.compiler.lir.ConstantValue asConstantValue(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/ConstantValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.graalvm.compiler.lir.ConstantValue
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static jdk.vm.ci.meta.Constant asConstant(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/Constant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asConstantValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/ConstantValue;
invokevirtual org.graalvm.compiler.lir.ConstantValue.getConstant:()Ljdk/vm/ci/meta/Constant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static boolean isJavaConstant(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isConstantValue:(Ljdk/vm/ci/meta/Value;)Z
ifeq 1
aload 0
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asConstantValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/ConstantValue;
invokevirtual org.graalvm.compiler.lir.ConstantValue.isJavaConstant:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static jdk.vm.ci.meta.JavaConstant asJavaConstant(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/JavaConstant;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asConstantValue:(Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/ConstantValue;
invokevirtual org.graalvm.compiler.lir.ConstantValue.getJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static boolean isStackSlotValue(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.vm.ci.code.StackSlot
ifne 2
aload 0
instanceof org.graalvm.compiler.lir.VirtualStackSlot
ifne 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static boolean isVirtualStackSlot(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.lir.VirtualStackSlot
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static org.graalvm.compiler.lir.VirtualStackSlot asVirtualStackSlot(jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;)Lorg/graalvm/compiler/lir/VirtualStackSlot;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.graalvm.compiler.lir.LIRValueUtil.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.graalvm.compiler.lir.VirtualStackSlot
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
value
public static boolean sameRegister(jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.vm.ci.code.ValueUtil.isRegister:(Ljdk/vm/ci/meta/Value;)Z
ifeq 1
aload 1
invokestatic jdk.vm.ci.code.ValueUtil.isRegister:(Ljdk/vm/ci/meta/Value;)Z
ifeq 1
aload 0
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
aload 1
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
invokevirtual jdk.vm.ci.code.Register.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v1 Ljdk/vm/ci/meta/Value;
0 2 1 v2 Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
v1
v2
public static boolean sameRegister(jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value, jdk.vm.ci.meta.Value);
descriptor: (Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.sameRegister:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)Z
ifeq 1
aload 0
aload 2
invokestatic org.graalvm.compiler.lir.LIRValueUtil.sameRegister:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 v1 Ljdk/vm/ci/meta/Value;
0 2 1 v2 Ljdk/vm/ci/meta/Value;
0 2 2 v3 Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
v1
v2
v3
public static boolean differentRegisters(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokestatic org.graalvm.compiler.lir.LIRValueUtil.collectRegisters:([Ljava/lang/Object;Ljava/util/List;)Ljava/util/List;
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 12
3: StackMap locals: java.util.List int
StackMap stack:
aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.vm.ci.code.Register
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: jdk.vm.ci.code.Register int
StackMap stack:
aload 1
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.vm.ci.code.Register
astore 5
start local 5 7: aload 3
aload 5
invokevirtual jdk.vm.ci.code.Register.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_0
ireturn
end local 5 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 2
if_icmplt 6
end local 4 end local 3 11: iinc 2 1
StackMap locals:
StackMap stack:
12: iload 2
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 2 13: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 values [Ljava/lang/Object;
1 14 1 registers Ljava/util/List<Ljdk/vm/ci/code/Register;>;
2 13 2 i I
4 11 3 r1 Ljdk/vm/ci/code/Register;
5 11 4 j I
7 9 5 r2 Ljdk/vm/ci/code/Register;
MethodParameters:
Name Flags
values
private static java.util.List<jdk.vm.ci.code.Register> collectRegisters([], java.util.List<jdk.vm.ci.code.Register>);
descriptor: ([Ljava/lang/Object;Ljava/util/List;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 14
StackMap locals: java.lang.Object[] java.util.List top int int java.lang.Object[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
instanceof jdk.vm.ci.code.Register
ifeq 5
3: aload 1
aload 2
checkcast jdk.vm.ci.code.Register
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: goto 13
StackMap locals: java.lang.Object[] java.util.List java.lang.Object int int java.lang.Object[]
StackMap stack:
5: aload 2
instanceof jdk.vm.ci.meta.Value
ifeq 9
6: aload 2
checkcast jdk.vm.ci.meta.Value
invokestatic jdk.vm.ci.code.ValueUtil.isRegister:(Ljdk/vm/ci/meta/Value;)Z
ifeq 13
7: aload 1
aload 2
checkcast jdk.vm.ci.meta.Value
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: goto 13
StackMap locals:
StackMap stack:
9: aload 2
instanceof java.lang.Object[]
ifeq 12
10: aload 2
checkcast java.lang.Object[]
aload 1
invokestatic org.graalvm.compiler.lir.LIRValueUtil.collectRegisters:([Ljava/lang/Object;Ljava/util/List;)Ljava/util/List;
pop
11: goto 13
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Not a Register or Value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals: java.lang.Object[] java.util.List top int int java.lang.Object[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 4
if_icmplt 1
15: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 values [Ljava/lang/Object;
0 16 1 registers Ljava/util/List<Ljdk/vm/ci/code/Register;>;
2 13 2 o Ljava/lang/Object;
Signature: ([Ljava/lang/Object;Ljava/util/List<Ljdk/vm/ci/code/Register;>;)Ljava/util/List<Ljdk/vm/ci/code/Register;>;
MethodParameters:
Name Flags
values
registers
public static jdk.vm.ci.meta.Value[] subtractRegisters(jdk.vm.ci.meta.Value[], jdk.vm.ci.meta.Value[]);
descriptor: ([Ljdk/vm/ci/meta/Value;[Ljdk/vm/ci/meta/Value;)[Ljdk/vm/ci/meta/Value;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=12, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 14
StackMap locals: jdk.vm.ci.meta.Value[] jdk.vm.ci.meta.Value[] java.util.ArrayList top int int jdk.vm.ci.meta.Value[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: iconst_1
istore 7
start local 7 4: aload 1
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 10
StackMap locals: jdk.vm.ci.meta.Value[] jdk.vm.ci.meta.Value[] java.util.ArrayList jdk.vm.ci.meta.Value int int jdk.vm.ci.meta.Value[] int top int int jdk.vm.ci.meta.Value[]
StackMap stack:
5: aload 11
iload 9
aaload
astore 8
start local 8 6: aload 3
aload 8
invokestatic org.graalvm.compiler.lir.LIRValueUtil.sameRegister:(Ljdk/vm/ci/meta/Value;Ljdk/vm/ci/meta/Value;)Z
ifeq 9
7: iconst_0
istore 7
8: goto 11
end local 8 9: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
10: iload 9
iload 10
if_icmplt 5
11: StackMap locals: jdk.vm.ci.meta.Value[] jdk.vm.ci.meta.Value[] java.util.ArrayList jdk.vm.ci.meta.Value int int jdk.vm.ci.meta.Value[] int
StackMap stack:
iload 7
ifeq 13
12: aload 2
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 3 13: StackMap locals: jdk.vm.ci.meta.Value[] jdk.vm.ci.meta.Value[] java.util.ArrayList top int int jdk.vm.ci.meta.Value[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 5
if_icmplt 2
15: aload 2
invokevirtual java.util.ArrayList.size:()I
anewarray jdk.vm.ci.meta.Value
astore 3
start local 3 16: aload 2
aload 3
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.vm.ci.meta.Value[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 x [Ljdk/vm/ci/meta/Value;
0 17 1 y [Ljdk/vm/ci/meta/Value;
1 17 2 result Ljava/util/ArrayList<Ljdk/vm/ci/meta/Value;>;
3 13 3 i Ljdk/vm/ci/meta/Value;
4 13 7 append Z
6 9 8 j Ljdk/vm/ci/meta/Value;
16 17 3 resultArray [Ljdk/vm/ci/meta/Value;
MethodParameters:
Name Flags
x
y
}
SourceFile: "LIRValueUtil.java"