public final class com.oracle.truffle.llvm.parser.metadata.ParseUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.parser.metadata.ParseUtil
super_class: java.lang.Object
{
private static final long DEFAULT_NUMBER;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final long BYTE_MASK;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 255
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/metadata/ParseUtil;
public static int checkInt(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lload 0
l2i
i2l
lcmp
ifeq 2
1: new com.oracle.truffle.llvm.runtime.except.LLVMParserException
dup
ldc "value in 'int' range expected"
invokespecial com.oracle.truffle.llvm.runtime.except.LLVMParserException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 0
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value J
MethodParameters:
Name Flags
value
public static boolean isInteger(long[], int, com.oracle.truffle.llvm.parser.listeners.Metadata);
descriptor: ([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
ishl
istore 3
start local 3 1: aload 2
aload 0
iload 3
laload
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getTypeById:(J)Lcom/oracle/truffle/llvm/runtime/types/Type;
astore 4
start local 4 2: aload 4
getstatic com.oracle.truffle.llvm.runtime.types.MetaType.METADATA:Lcom/oracle/truffle/llvm/runtime/types/MetaType;
if_acmpeq 3
getstatic com.oracle.truffle.llvm.runtime.types.VoidType.INSTANCE:Lcom/oracle/truffle/llvm/runtime/types/VoidType;
aload 4
invokevirtual com.oracle.truffle.llvm.runtime.types.VoidType.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals: int com.oracle.truffle.llvm.runtime.types.Type
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
istore 5
start local 5 5: aload 2
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getScope:()Lcom/oracle/truffle/llvm/parser/model/IRScope;
invokevirtual com.oracle.truffle.llvm.parser.model.IRScope.getSymbols:()Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
aload 0
iload 5
laload
l2i
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.getOrNull:(I)Lcom/oracle/truffle/llvm/parser/ValueList$Value;
checkcast com.oracle.truffle.llvm.parser.model.SymbolImpl
astore 6
start local 6 6: aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.integer.IntegerConstant
ifne 7
aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.integer.BigIntegerConstant
ifne 7
aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.NullConstant
ifne 7
aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.UndefinedConstant
ifne 7
iconst_0
ireturn
StackMap locals: int com.oracle.truffle.llvm.parser.model.SymbolImpl
StackMap stack:
7: iconst_1
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 args [J
0 8 1 index I
0 8 2 md Lcom/oracle/truffle/llvm/parser/listeners/Metadata;
1 8 3 typeIndex I
2 8 4 type Lcom/oracle/truffle/llvm/runtime/types/Type;
5 8 5 valueIndex I
6 8 6 value Lcom/oracle/truffle/llvm/parser/model/SymbolImpl;
MethodParameters:
Name Flags
args
index
md
public static long asLong(long[], int, com.oracle.truffle.llvm.parser.listeners.Metadata);
descriptor: ([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
ishl
istore 3
start local 3 1: iload 3
aload 0
arraylength
if_icmplt 3
2: lconst_0
lreturn
3: StackMap locals: int
StackMap stack:
aload 2
aload 0
iload 3
laload
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getTypeById:(J)Lcom/oracle/truffle/llvm/runtime/types/Type;
astore 4
start local 4 4: aload 4
getstatic com.oracle.truffle.llvm.runtime.types.MetaType.METADATA:Lcom/oracle/truffle/llvm/runtime/types/MetaType;
if_acmpeq 5
getstatic com.oracle.truffle.llvm.runtime.types.VoidType.INSTANCE:Lcom/oracle/truffle/llvm/runtime/types/VoidType;
aload 4
invokevirtual com.oracle.truffle.llvm.runtime.types.VoidType.equals:(Ljava/lang/Object;)Z
ifeq 6
5: StackMap locals: com.oracle.truffle.llvm.runtime.types.Type
StackMap stack:
lconst_0
lreturn
6: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
istore 5
start local 5 7: aload 2
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getScope:()Lcom/oracle/truffle/llvm/parser/model/IRScope;
invokevirtual com.oracle.truffle.llvm.parser.model.IRScope.getSymbols:()Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
aload 0
iload 5
laload
l2i
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.getOrNull:(I)Lcom/oracle/truffle/llvm/parser/ValueList$Value;
checkcast com.oracle.truffle.llvm.parser.model.SymbolImpl
astore 6
start local 6 8: aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.integer.IntegerConstant
ifeq 10
9: aload 6
checkcast com.oracle.truffle.llvm.parser.model.symbols.constants.integer.IntegerConstant
invokevirtual com.oracle.truffle.llvm.parser.model.symbols.constants.integer.IntegerConstant.getValue:()J
lreturn
10: StackMap locals: int com.oracle.truffle.llvm.parser.model.SymbolImpl
StackMap stack:
aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.integer.BigIntegerConstant
ifeq 12
11: aload 6
checkcast com.oracle.truffle.llvm.parser.model.symbols.constants.integer.BigIntegerConstant
invokevirtual com.oracle.truffle.llvm.parser.model.symbols.constants.integer.BigIntegerConstant.getValue:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.longValue:()J
lreturn
12: StackMap locals:
StackMap stack:
aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.NullConstant
ifne 13
aload 6
instanceof com.oracle.truffle.llvm.parser.model.symbols.constants.UndefinedConstant
ifeq 14
13: StackMap locals:
StackMap stack:
lconst_0
lreturn
14: StackMap locals:
StackMap stack:
lconst_0
lreturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 args [J
0 15 1 index I
0 15 2 md Lcom/oracle/truffle/llvm/parser/listeners/Metadata;
1 15 3 typeIndex I
4 15 4 type Lcom/oracle/truffle/llvm/runtime/types/Type;
7 15 5 valueIndex I
8 15 6 value Lcom/oracle/truffle/llvm/parser/model/SymbolImpl;
MethodParameters:
Name Flags
args
index
md
public static int asInt(long[], int, com.oracle.truffle.llvm.parser.listeners.Metadata);
descriptor: ([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic com.oracle.truffle.llvm.parser.metadata.ParseUtil.asLong:([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)J
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [J
0 1 1 index I
0 1 2 md Lcom/oracle/truffle/llvm/parser/listeners/Metadata;
MethodParameters:
Name Flags
args
index
md
static boolean asBoolean(long[], int, com.oracle.truffle.llvm.parser.listeners.Metadata);
descriptor: ([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokestatic com.oracle.truffle.llvm.parser.metadata.ParseUtil.asLong:([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)J
lconst_0
lcmp
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 args [J
0 2 1 index I
0 2 2 md Lcom/oracle/truffle/llvm/parser/listeners/Metadata;
MethodParameters:
Name Flags
args
index
md
static com.oracle.truffle.llvm.parser.metadata.MDBaseNode resolveReference(long[], int, com.oracle.truffle.llvm.parser.metadata.MDBaseNode, com.oracle.truffle.llvm.parser.listeners.Metadata);
descriptor: ([JILcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;Lcom/oracle/truffle/llvm/parser/listeners/Metadata;)Lcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iconst_1
ishl
istore 4
start local 4 1: iload 4
aload 0
arraylength
if_icmplt 3
2: getstatic com.oracle.truffle.llvm.parser.metadata.MDVoidNode.INSTANCE:Lcom/oracle/truffle/llvm/parser/metadata/MDVoidNode;
areturn
3: StackMap locals: int
StackMap stack:
iload 4
iconst_1
iadd
istore 5
start local 5 4: aload 3
aload 0
iload 4
laload
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getTypeById:(J)Lcom/oracle/truffle/llvm/runtime/types/Type;
astore 6
start local 6 5: aload 0
iload 5
laload
lstore 7
start local 7 6: aload 6
getstatic com.oracle.truffle.llvm.runtime.types.MetaType.METADATA:Lcom/oracle/truffle/llvm/runtime/types/MetaType;
if_acmpne 8
7: aload 3
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getScope:()Lcom/oracle/truffle/llvm/parser/model/IRScope;
invokevirtual com.oracle.truffle.llvm.parser.model.IRScope.getMetadata:()Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
lload 7
aload 2
invokevirtual com.oracle.truffle.llvm.parser.metadata.MetadataValueList.getNonNullable:(JLcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;)Lcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;
areturn
8: StackMap locals: int com.oracle.truffle.llvm.runtime.types.Type long
StackMap stack:
aload 6
getstatic com.oracle.truffle.llvm.runtime.types.VoidType.INSTANCE:Lcom/oracle/truffle/llvm/runtime/types/VoidType;
if_acmpeq 10
9: lload 7
aload 3
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getScope:()Lcom/oracle/truffle/llvm/parser/model/IRScope;
invokestatic com.oracle.truffle.llvm.parser.metadata.MDValue.create:(JLcom/oracle/truffle/llvm/parser/model/IRScope;)Lcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;
areturn
10: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.llvm.parser.metadata.MDVoidNode.INSTANCE:Lcom/oracle/truffle/llvm/parser/metadata/MDVoidNode;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 args [J
0 11 1 index I
0 11 2 dependent Lcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;
0 11 3 md Lcom/oracle/truffle/llvm/parser/listeners/Metadata;
1 11 4 typeIndex I
4 11 5 valueIndex I
5 11 6 type Lcom/oracle/truffle/llvm/runtime/types/Type;
6 11 7 value J
MethodParameters:
Name Flags
args
index
dependent
md
static com.oracle.truffle.llvm.parser.metadata.MDBaseNode resolveSymbol(long[], int, com.oracle.truffle.llvm.parser.listeners.Metadata);
descriptor: ([JILcom/oracle/truffle/llvm/parser/listeners/Metadata;)Lcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
ishl
istore 3
start local 3 1: iload 3
aload 0
arraylength
if_icmplt 3
2: getstatic com.oracle.truffle.llvm.parser.metadata.MDVoidNode.INSTANCE:Lcom/oracle/truffle/llvm/parser/metadata/MDVoidNode;
areturn
3: StackMap locals: int
StackMap stack:
iload 3
iconst_1
iadd
istore 4
start local 4 4: aload 2
aload 0
iload 3
laload
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getTypeById:(J)Lcom/oracle/truffle/llvm/runtime/types/Type;
astore 5
start local 5 5: aload 0
iload 4
laload
l2i
i2l
lstore 6
start local 6 6: aload 5
getstatic com.oracle.truffle.llvm.runtime.types.MetaType.METADATA:Lcom/oracle/truffle/llvm/runtime/types/MetaType;
if_acmpeq 8
getstatic com.oracle.truffle.llvm.runtime.types.VoidType.INSTANCE:Lcom/oracle/truffle/llvm/runtime/types/VoidType;
aload 5
invokevirtual com.oracle.truffle.llvm.runtime.types.VoidType.equals:(Ljava/lang/Object;)Z
ifne 8
7: lload 6
aload 2
invokevirtual com.oracle.truffle.llvm.parser.listeners.Metadata.getScope:()Lcom/oracle/truffle/llvm/parser/model/IRScope;
invokestatic com.oracle.truffle.llvm.parser.metadata.MDValue.create:(JLcom/oracle/truffle/llvm/parser/model/IRScope;)Lcom/oracle/truffle/llvm/parser/metadata/MDBaseNode;
areturn
8: StackMap locals: int com.oracle.truffle.llvm.runtime.types.Type long
StackMap stack:
getstatic com.oracle.truffle.llvm.parser.metadata.MDVoidNode.INSTANCE:Lcom/oracle/truffle/llvm/parser/metadata/MDVoidNode;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 args [J
0 9 1 index I
0 9 2 md Lcom/oracle/truffle/llvm/parser/listeners/Metadata;
1 9 3 typeIndex I
4 9 4 valueIndex I
5 9 5 type Lcom/oracle/truffle/llvm/runtime/types/Type;
6 9 6 value J
MethodParameters:
Name Flags
args
index
md
public static java.lang.String longArrayToString(int, long[]);
descriptor: (I[J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iload 0
isub
newarray 8
astore 2
start local 2 1: iload 0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: byte[] int int
StackMap stack:
aload 2
iload 4
aload 1
iload 3
laload
ldc 255
land
l2i
i2b
bastore
5: iinc 3 1
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 end local 3 7: new java.lang.String
dup
aload 2
invokespecial java.lang.String.<init>:([B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 startIndex I
0 8 1 chars [J
1 8 2 bytes [B
2 7 3 from I
3 7 4 to I
MethodParameters:
Name Flags
startIndex
chars
static long unrotateSign(long);
descriptor: (J)J
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_1
land
lconst_1
lcmp
ifne 1
lload 0
iconst_1
lshr
ldc -1
lxor
goto 2
StackMap locals:
StackMap stack:
1: lload 0
iconst_1
lshr
StackMap locals:
StackMap stack: long
2: lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 u J
MethodParameters:
Name Flags
u
}
SourceFile: "ParseUtil.java"
InnerClasses:
public abstract Value = com.oracle.truffle.llvm.parser.ValueList$Value of com.oracle.truffle.llvm.parser.ValueList
public abstract ValueVisitor = com.oracle.truffle.llvm.parser.ValueList$ValueVisitor of com.oracle.truffle.llvm.parser.ValueList