|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Instruction | |
---|---|
at.dms.backend | |
at.dms.classfile | |
at.dms.kjc | |
at.dms.optimize |
Uses of Instruction in at.dms.backend |
---|
Methods in at.dms.backend that return Instruction | |
---|---|
Instruction |
InstructionHandle.getInstruction()
Returns the enclosed instruction. |
Methods in at.dms.backend with parameters of type Instruction | |
---|---|
void |
CodeSequence.plantInstruction(Instruction insn)
Adds an instruction at the end of the sequence |
void |
InstructionHandle.replaceBy(Instruction insn)
replaceBy |
void |
InstructionHandle.replaceBy(Instruction[] insns)
replaceBy |
Constructors in at.dms.backend with parameters of type Instruction | |
---|---|
InstructionHandle(Instruction insn,
InstructionHandle prev)
Creates a new instruction handle. |
Uses of Instruction in at.dms.classfile |
---|
Subclasses of Instruction in at.dms.classfile | |
---|---|
class |
ClassRefInstruction
Instructions that refers to class: opc_anewarray, opc_checkcast, opc_instanceof, opc_new |
class |
FieldRefInstruction
Instructions thar refers to class fields opc_getstatic, opc_putstatic, opc_getfield, opc_putfield |
class |
IincInstruction
Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest. |
class |
InvokeinterfaceInstruction
Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest. |
class |
JumpInstruction
This class represents instructions that take a label as argument. |
class |
LocalVarInstruction
This class represents instructions that take a local variable as argument. |
class |
MethodRefInstruction
Instruction that references method opc_invokevirtual,_invokespecial, opc_invokestatic |
class |
MultiarrayInstruction
Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest. |
class |
NewarrayInstruction
This class represents instructions that take a local variable as argument. |
class |
NoArgInstruction
This class represents instructions that take no arguments. |
class |
PushLiteralInstruction
This class encapsulates the instructions pushing a literal on the stack: bipush, sipush, ldc, ldc_w, ldc2_w, dconst_d, fconst_f, iconst_i, lconst_l |
class |
SwitchInstruction
Some instructions are perniticky enough that its simpler to write them separately instead of smushing them with all the rest. |
Methods in at.dms.classfile that return Instruction | |
---|---|
Instruction[] |
CodeInfo.getInstructions()
Returns the instruction of code |
static Instruction[] |
InstructionIO.read(DataInput in,
ConstantPool cp)
Constructs an array of instructions from a class file stream |
Methods in at.dms.classfile with parameters of type Instruction | |
---|---|
static Attribute |
Attribute.readCodeInfoAttribute(DataInput in,
ConstantPool cp,
Instruction[] insns)
Constructs an sub-attribute of CodeInfo from a class file stream |
Constructors in at.dms.classfile with parameters of type Instruction | |
---|---|
CodeInfo(Instruction[] instructions,
HandlerInfo[] handlers,
LineNumberInfo[] lineNumbers,
LocalVariableInfo[] localVariables)
Make up a new attribute |
|
HandlerInfo(DataInput in,
ConstantPool cp,
Instruction[] insns)
Constructs a new exception handler info entry from a class file |
|
LineNumberInfo(DataInput in,
ConstantPool cp,
Instruction[] insns)
Create an entry in the line number table from a class file stream |
|
LineNumberTable(DataInput in,
ConstantPool cp,
Instruction[] insns)
Constructs a line number table attribute from a class file stream. |
|
LocalVariableInfo(DataInput in,
ConstantPool cp,
Instruction[] insns)
Create an entry in the line number table from a class file stream |
|
LocalVariableTable(DataInput in,
ConstantPool cp,
Instruction[] insns)
Constructs a line number table attribute from a class file stream. |
Uses of Instruction in at.dms.kjc |
---|
Methods in at.dms.kjc that return Instruction | |
---|---|
Instruction[] |
CodeSequence.getInstructionArray()
Return the instruction as a list WARNING: AFTER a call to release() this array will be reused |
Instruction |
CodeSequence.getInstructionAt(int pc)
Returns the instruction at a given position |
Methods in at.dms.kjc with parameters of type Instruction | |
---|---|
void |
CodeSequence.plantInstruction(Instruction insn)
Adds an instruction to the code of the current method. |
Uses of Instruction in at.dms.optimize |
---|
Methods in at.dms.optimize that return Instruction | |
---|---|
Instruction |
InstructionHandle.getInstruction()
Returns the enclosed instruction. |
Methods in at.dms.optimize with parameters of type Instruction | |
---|---|
void |
InstructionHandle.replaceBy(Instruction insn)
replaceBy |
void |
InstructionHandle.replaceBy(Instruction[] insns)
replaceBy |
Constructors in at.dms.optimize with parameters of type Instruction | |
---|---|
InstructionHandle(Instruction insn,
InstructionHandle prev)
Creates a new instruction handle. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |