public final class com.oracle.truffle.llvm.parser.model.IRScope
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.parser.model.IRScope
super_class: java.lang.Object
{
private static final int GLOBAL_SCOPE_START;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private final com.oracle.truffle.llvm.parser.model.SymbolTable symbols;
descriptor: Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<com.oracle.truffle.llvm.runtime.types.Type> valueTypes;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/oracle/truffle/llvm/runtime/types/Type;>;
private final java.util.List<com.oracle.truffle.llvm.parser.model.symbols.instructions.Instruction> instructions;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/oracle/truffle/llvm/parser/model/symbols/instructions/Instruction;>;
private final com.oracle.truffle.llvm.parser.metadata.MetadataValueList metadata;
descriptor: Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.oracle.truffle.llvm.parser.model.functions.FunctionDefinition currentFunction;
descriptor: Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
flags: (0x0002) ACC_PRIVATE
private int valueTypesScopeStart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.oracle.truffle.llvm.parser.model.SymbolTable
dup
invokespecial com.oracle.truffle.llvm.parser.model.SymbolTable.<init>:()V
putfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.oracle.truffle.llvm.parser.model.IRScope.instructions:Ljava/util/List;
4: aload 0
new com.oracle.truffle.llvm.parser.metadata.MetadataValueList
dup
invokespecial com.oracle.truffle.llvm.parser.metadata.MetadataValueList.<init>:()V
putfield com.oracle.truffle.llvm.parser.model.IRScope.metadata:Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
5: aload 0
aconst_null
putfield com.oracle.truffle.llvm.parser.model.IRScope.currentFunction:Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
6: aload 0
iconst_m1
putfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypesScopeStart:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
public void addSymbol(com.oracle.truffle.llvm.parser.model.SymbolImpl, com.oracle.truffle.llvm.runtime.types.Type);
descriptor: (Lcom/oracle/truffle/llvm/parser/model/SymbolImpl;Lcom/oracle/truffle/llvm/runtime/types/Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
aload 1
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.add:(Lcom/oracle/truffle/llvm/parser/ValueList$Value;)V
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 3 1 symbol Lcom/oracle/truffle/llvm/parser/model/SymbolImpl;
0 3 2 type Lcom/oracle/truffle/llvm/runtime/types/Type;
MethodParameters:
Name Flags
symbol
type
public boolean isValueForwardRef(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
invokeinterface java.util.List.size:()I
i2l
lcmp
iflt 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 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 2 1 index J
MethodParameters:
Name Flags
index
public int getNextValueIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
public com.oracle.truffle.llvm.runtime.types.Type getValueType(int);
descriptor: (I)Lcom/oracle/truffle/llvm/runtime/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 2
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.runtime.types.Type
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 3 1 i I
MethodParameters:
Name Flags
i
public void addInstruction(com.oracle.truffle.llvm.parser.model.symbols.instructions.Instruction);
descriptor: (Lcom/oracle/truffle/llvm/parser/model/symbols/instructions/Instruction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.instructions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 2 1 ins Lcom/oracle/truffle/llvm/parser/model/symbols/instructions/Instruction;
MethodParameters:
Name Flags
ins
public void nameSymbol(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
iload 1
aload 2
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.nameSymbol:(ILjava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 2 1 index I
0 2 2 argName Ljava/lang/String;
MethodParameters:
Name Flags
index
argName
public com.oracle.truffle.llvm.parser.model.SymbolTable getSymbols();
descriptor: ()Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
public void nameBlock(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.currentFunction:Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
ifnull 2
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.currentFunction:Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
iload 1
aload 2
invokevirtual com.oracle.truffle.llvm.parser.model.functions.FunctionDefinition.nameBlock:(ILjava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 3 1 index I
0 3 2 name Ljava/lang/String;
MethodParameters:
Name Flags
index
name
public void startLocalScope(com.oracle.truffle.llvm.parser.model.functions.FunctionDefinition);
descriptor: (Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.oracle.truffle.llvm.parser.model.IRScope.currentFunction:Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.metadata:Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
invokevirtual com.oracle.truffle.llvm.parser.metadata.MetadataValueList.startScope:()V
2: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.startScope:()V
3: aload 0
aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
invokeinterface java.util.List.size:()I
putfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypesScopeStart:I
4: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.instructions:Ljava/util/List;
invokeinterface java.util.List.clear:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 6 1 function Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
MethodParameters:
Name Flags
function
public void exitLocalScope();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.metadata:Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
invokevirtual com.oracle.truffle.llvm.parser.metadata.MetadataValueList.endScope:()V
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.endScope:()V
2: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypesScopeStart:I
aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypes:Ljava/util/List;
invokestatic com.oracle.truffle.llvm.parser.ValueList.dropLocalScope:(ILjava/util/List;)V
3: aload 0
iconst_m1
putfield com.oracle.truffle.llvm.parser.model.IRScope.valueTypesScopeStart:I
4: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.instructions:Ljava/util/List;
invokeinterface java.util.List.clear:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
public com.oracle.truffle.llvm.parser.metadata.MetadataValueList getMetadata();
descriptor: ()Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.metadata:Lcom/oracle/truffle/llvm/parser/metadata/MetadataValueList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
public void attachInstructionMetadata(int, com.oracle.truffle.llvm.parser.metadata.MDAttachment);
descriptor: (ILcom/oracle/truffle/llvm/parser/metadata/MDAttachment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.instructions:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpge 2
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.instructions:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.parser.model.symbols.instructions.Instruction
aload 2
invokevirtual com.oracle.truffle.llvm.parser.model.symbols.instructions.Instruction.attachMetadata:(Lcom/oracle/truffle/llvm/parser/metadata/MDAttachment;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 3 1 index I
0 3 2 attachment Lcom/oracle/truffle/llvm/parser/metadata/MDAttachment;
MethodParameters:
Name Flags
index
attachment
public void attachGlobalMetadata(int, com.oracle.truffle.llvm.parser.metadata.MDAttachment);
descriptor: (ILcom/oracle/truffle/llvm/parser/metadata/MDAttachment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.symbols:Lcom/oracle/truffle/llvm/parser/model/SymbolTable;
iload 1
aload 2
invokevirtual com.oracle.truffle.llvm.parser.model.SymbolTable.attachMetadata:(ILcom/oracle/truffle/llvm/parser/metadata/MDAttachment;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 2 1 index I
0 2 2 attachment Lcom/oracle/truffle/llvm/parser/metadata/MDAttachment;
MethodParameters:
Name Flags
index
attachment
public void attachFunctionMetadata(com.oracle.truffle.llvm.parser.metadata.MDAttachment);
descriptor: (Lcom/oracle/truffle/llvm/parser/metadata/MDAttachment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.currentFunction:Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
ifnull 2
1: aload 0
getfield com.oracle.truffle.llvm.parser.model.IRScope.currentFunction:Lcom/oracle/truffle/llvm/parser/model/functions/FunctionDefinition;
aload 1
invokevirtual com.oracle.truffle.llvm.parser.model.functions.FunctionDefinition.attachMetadata:(Lcom/oracle/truffle/llvm/parser/metadata/MDAttachment;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/llvm/parser/model/IRScope;
0 3 1 attachment Lcom/oracle/truffle/llvm/parser/metadata/MDAttachment;
MethodParameters:
Name Flags
attachment
}
SourceFile: "IRScope.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