|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.ir.InstructionFormat
public abstract class InstructionFormat
Abstract parent class of all InstructionFormat classes.
The header comment for Instruction contains
an explanation of the role of InstructionFormats in the
opt compiler's IR.
| Field Summary | |
|---|---|
static byte |
ALoad_format
Typecode for the ALoad InstructionFormat |
static int |
ALoad_traits
Shared traits for operators of the ALoad InstructionFormat |
static byte |
ARCH_INDEPENDENT_INSTR_FORMAT_END_format
Typecode for the ARCH_INDEPENDENT_INSTR_FORMAT_END InstructionFormat |
static byte |
AStore_format
Typecode for the AStore InstructionFormat |
static int |
AStore_traits
Shared traits for operators of the AStore InstructionFormat |
static byte |
Athrow_format
Typecode for the Athrow InstructionFormat |
static int |
Athrow_traits
Shared traits for operators of the Athrow InstructionFormat |
static byte |
Attempt_format
Typecode for the Attempt InstructionFormat |
static int |
Attempt_traits
Shared traits for operators of the Attempt InstructionFormat |
static byte |
BBend_format
Typecode for the BBend InstructionFormat |
static int |
BBend_traits
Shared traits for operators of the BBend InstructionFormat |
static byte |
Binary_format
Typecode for the Binary InstructionFormat |
static int |
Binary_traits
Shared traits for operators of the Binary InstructionFormat |
static byte |
BooleanCmp_format
Typecode for the BooleanCmp InstructionFormat |
static int |
BooleanCmp_traits
Shared traits for operators of the BooleanCmp InstructionFormat |
static byte |
BoundsCheck_format
Typecode for the BoundsCheck InstructionFormat |
static int |
BoundsCheck_traits
Shared traits for operators of the BoundsCheck InstructionFormat |
static byte |
CacheOp_format
Typecode for the CacheOp InstructionFormat |
static int |
CacheOp_traits
Shared traits for operators of the CacheOp InstructionFormat |
static byte |
Call_format
Typecode for the Call InstructionFormat |
static int |
Call_traits
Shared traits for operators of the Call InstructionFormat |
static byte |
CondMove_format
Typecode for the CondMove InstructionFormat |
static int |
CondMove_traits
Shared traits for operators of the CondMove InstructionFormat |
static byte |
Empty_format
Typecode for the Empty InstructionFormat |
static int |
Empty_traits
Shared traits for operators of the Empty InstructionFormat |
static byte |
GetField_format
Typecode for the GetField InstructionFormat |
static int |
GetField_traits
Shared traits for operators of the GetField InstructionFormat |
static byte |
GetStatic_format
Typecode for the GetStatic InstructionFormat |
static int |
GetStatic_traits
Shared traits for operators of the GetStatic InstructionFormat |
static byte |
Goto_format
Typecode for the Goto InstructionFormat |
static int |
Goto_traits
Shared traits for operators of the Goto InstructionFormat |
static byte |
GuardedBinary_format
Typecode for the GuardedBinary InstructionFormat |
static int |
GuardedBinary_traits
Shared traits for operators of the GuardedBinary InstructionFormat |
static byte |
GuardedSet_format
Typecode for the GuardedSet InstructionFormat |
static int |
GuardedSet_traits
Shared traits for operators of the GuardedSet InstructionFormat |
static byte |
GuardedUnary_format
Typecode for the GuardedUnary InstructionFormat |
static int |
GuardedUnary_traits
Shared traits for operators of the GuardedUnary InstructionFormat |
static byte |
IfCmp_format
Typecode for the IfCmp InstructionFormat |
static int |
IfCmp_traits
Shared traits for operators of the IfCmp InstructionFormat |
static byte |
IfCmp2_format
Typecode for the IfCmp2 InstructionFormat |
static int |
IfCmp2_traits
Shared traits for operators of the IfCmp2 InstructionFormat |
static byte |
InlineGuard_format
Typecode for the InlineGuard InstructionFormat |
static int |
InlineGuard_traits
Shared traits for operators of the InlineGuard InstructionFormat |
static byte |
InstanceOf_format
Typecode for the InstanceOf InstructionFormat |
static int |
InstanceOf_traits
Shared traits for operators of the InstanceOf InstructionFormat |
static byte |
InstrumentedCounter_format
Typecode for the InstrumentedCounter InstructionFormat |
static int |
InstrumentedCounter_traits
Shared traits for operators of the InstrumentedCounter InstructionFormat |
static byte |
Label_format
Typecode for the Label InstructionFormat |
static int |
Label_traits
Shared traits for operators of the Label InstructionFormat |
static byte |
Load_format
Typecode for the Load InstructionFormat |
static int |
Load_traits
Shared traits for operators of the Load InstructionFormat |
static byte |
LookupSwitch_format
Typecode for the LookupSwitch InstructionFormat |
static int |
LookupSwitch_traits
Shared traits for operators of the LookupSwitch InstructionFormat |
static byte |
LowTableSwitch_format
Typecode for the LowTableSwitch InstructionFormat |
static int |
LowTableSwitch_traits
Shared traits for operators of the LowTableSwitch InstructionFormat |
(package private) static int |
MIN_OPERAND_ARRAY_LENGTH
Make all operand arrays created via the InstructionFormat constructors at least this big to reduce the chance of having to resize the array if the instruction is mutated. |
static byte |
MIR_BinaryAcc_format
Typecode for the MIR_BinaryAcc InstructionFormat |
static int |
MIR_BinaryAcc_traits
Shared traits for operators of the MIR_BinaryAcc InstructionFormat |
static byte |
MIR_Branch_format
Typecode for the MIR_Branch InstructionFormat |
static int |
MIR_Branch_traits
Shared traits for operators of the MIR_Branch InstructionFormat |
static byte |
MIR_CacheOp_format
Typecode for the MIR_CacheOp InstructionFormat |
static int |
MIR_CacheOp_traits
Shared traits for operators of the MIR_CacheOp InstructionFormat |
static byte |
MIR_Call_format
Typecode for the MIR_Call InstructionFormat |
static int |
MIR_Call_traits
Shared traits for operators of the MIR_Call InstructionFormat |
static byte |
MIR_CaseLabel_format
Typecode for the MIR_CaseLabel InstructionFormat |
static int |
MIR_CaseLabel_traits
Shared traits for operators of the MIR_CaseLabel InstructionFormat |
static byte |
MIR_Compare_format
Typecode for the MIR_Compare InstructionFormat |
static int |
MIR_Compare_traits
Shared traits for operators of the MIR_Compare InstructionFormat |
static byte |
MIR_CompareExchange_format
Typecode for the MIR_CompareExchange InstructionFormat |
static int |
MIR_CompareExchange_traits
Shared traits for operators of the MIR_CompareExchange InstructionFormat |
static byte |
MIR_CompareExchange8B_format
Typecode for the MIR_CompareExchange8B InstructionFormat |
static int |
MIR_CompareExchange8B_traits
Shared traits for operators of the MIR_CompareExchange8B InstructionFormat |
static byte |
MIR_CondBranch_format
Typecode for the MIR_CondBranch InstructionFormat |
static int |
MIR_CondBranch_traits
Shared traits for operators of the MIR_CondBranch InstructionFormat |
static byte |
MIR_CondBranch2_format
Typecode for the MIR_CondBranch2 InstructionFormat |
static int |
MIR_CondBranch2_traits
Shared traits for operators of the MIR_CondBranch2 InstructionFormat |
static byte |
MIR_CondMove_format
Typecode for the MIR_CondMove InstructionFormat |
static int |
MIR_CondMove_traits
Shared traits for operators of the MIR_CondMove InstructionFormat |
static byte |
MIR_ConvertDW2QW_format
Typecode for the MIR_ConvertDW2QW InstructionFormat |
static int |
MIR_ConvertDW2QW_traits
Shared traits for operators of the MIR_ConvertDW2QW InstructionFormat |
static byte |
MIR_Divide_format
Typecode for the MIR_Divide InstructionFormat |
static int |
MIR_Divide_traits
Shared traits for operators of the MIR_Divide InstructionFormat |
static byte |
MIR_DoubleShift_format
Typecode for the MIR_DoubleShift InstructionFormat |
static int |
MIR_DoubleShift_traits
Shared traits for operators of the MIR_DoubleShift InstructionFormat |
static byte |
MIR_Empty_format
Typecode for the MIR_Empty InstructionFormat |
static int |
MIR_Empty_traits
Shared traits for operators of the MIR_Empty InstructionFormat |
static byte |
MIR_FSave_format
Typecode for the MIR_FSave InstructionFormat |
static int |
MIR_FSave_traits
Shared traits for operators of the MIR_FSave InstructionFormat |
static byte |
MIR_Lea_format
Typecode for the MIR_Lea InstructionFormat |
static int |
MIR_Lea_traits
Shared traits for operators of the MIR_Lea InstructionFormat |
static byte |
MIR_LowTableSwitch_format
Typecode for the MIR_LowTableSwitch InstructionFormat |
static int |
MIR_LowTableSwitch_traits
Shared traits for operators of the MIR_LowTableSwitch InstructionFormat |
static byte |
MIR_Move_format
Typecode for the MIR_Move InstructionFormat |
static int |
MIR_Move_traits
Shared traits for operators of the MIR_Move InstructionFormat |
static byte |
MIR_Multiply_format
Typecode for the MIR_Multiply InstructionFormat |
static int |
MIR_Multiply_traits
Shared traits for operators of the MIR_Multiply InstructionFormat |
static byte |
MIR_Nullary_format
Typecode for the MIR_Nullary InstructionFormat |
static int |
MIR_Nullary_traits
Shared traits for operators of the MIR_Nullary InstructionFormat |
static byte |
MIR_RDTSC_format
Typecode for the MIR_RDTSC InstructionFormat |
static int |
MIR_RDTSC_traits
Shared traits for operators of the MIR_RDTSC InstructionFormat |
static byte |
MIR_Return_format
Typecode for the MIR_Return InstructionFormat |
static int |
MIR_Return_traits
Shared traits for operators of the MIR_Return InstructionFormat |
static byte |
MIR_Set_format
Typecode for the MIR_Set InstructionFormat |
static int |
MIR_Set_traits
Shared traits for operators of the MIR_Set InstructionFormat |
static byte |
MIR_Test_format
Typecode for the MIR_Test InstructionFormat |
static int |
MIR_Test_traits
Shared traits for operators of the MIR_Test InstructionFormat |
static byte |
MIR_Trap_format
Typecode for the MIR_Trap InstructionFormat |
static int |
MIR_Trap_traits
Shared traits for operators of the MIR_Trap InstructionFormat |
static byte |
MIR_TrapIf_format
Typecode for the MIR_TrapIf InstructionFormat |
static int |
MIR_TrapIf_traits
Shared traits for operators of the MIR_TrapIf InstructionFormat |
static byte |
MIR_Unary_format
Typecode for the MIR_Unary InstructionFormat |
static int |
MIR_Unary_traits
Shared traits for operators of the MIR_Unary InstructionFormat |
static byte |
MIR_UnaryAcc_format
Typecode for the MIR_UnaryAcc InstructionFormat |
static int |
MIR_UnaryAcc_traits
Shared traits for operators of the MIR_UnaryAcc InstructionFormat |
static byte |
MIR_UnaryNoRes_format
Typecode for the MIR_UnaryNoRes InstructionFormat |
static int |
MIR_UnaryNoRes_traits
Shared traits for operators of the MIR_UnaryNoRes InstructionFormat |
static byte |
MIR_XChng_format
Typecode for the MIR_XChng InstructionFormat |
static int |
MIR_XChng_traits
Shared traits for operators of the MIR_XChng InstructionFormat |
static byte |
MonitorOp_format
Typecode for the MonitorOp InstructionFormat |
static int |
MonitorOp_traits
Shared traits for operators of the MonitorOp InstructionFormat |
static byte |
Move_format
Typecode for the Move InstructionFormat |
static int |
Move_traits
Shared traits for operators of the Move InstructionFormat |
static byte |
Multianewarray_format
Typecode for the Multianewarray InstructionFormat |
static int |
Multianewarray_traits
Shared traits for operators of the Multianewarray InstructionFormat |
static byte |
New_format
Typecode for the New InstructionFormat |
static int |
New_traits
Shared traits for operators of the New InstructionFormat |
static byte |
NewArray_format
Typecode for the NewArray InstructionFormat |
static int |
NewArray_traits
Shared traits for operators of the NewArray InstructionFormat |
static byte |
Nullary_format
Typecode for the Nullary InstructionFormat |
static int |
Nullary_traits
Shared traits for operators of the Nullary InstructionFormat |
static byte |
NullCheck_format
Typecode for the NullCheck InstructionFormat |
static int |
NullCheck_traits
Shared traits for operators of the NullCheck InstructionFormat |
static byte |
OsrBarrier_format
Typecode for the OsrBarrier InstructionFormat |
static int |
OsrBarrier_traits
Shared traits for operators of the OsrBarrier InstructionFormat |
static byte |
OsrPoint_format
Typecode for the OsrPoint InstructionFormat |
static int |
OsrPoint_traits
Shared traits for operators of the OsrPoint InstructionFormat |
static byte |
Phi_format
Typecode for the Phi InstructionFormat |
static int |
Phi_traits
Shared traits for operators of the Phi InstructionFormat |
static byte |
Prepare_format
Typecode for the Prepare InstructionFormat |
static int |
Prepare_traits
Shared traits for operators of the Prepare InstructionFormat |
static byte |
Prologue_format
Typecode for the Prologue InstructionFormat |
static int |
Prologue_traits
Shared traits for operators of the Prologue InstructionFormat |
static byte |
PutField_format
Typecode for the PutField InstructionFormat |
static int |
PutField_traits
Shared traits for operators of the PutField InstructionFormat |
static byte |
PutStatic_format
Typecode for the PutStatic InstructionFormat |
static int |
PutStatic_traits
Shared traits for operators of the PutStatic InstructionFormat |
static byte |
Return_format
Typecode for the Return InstructionFormat |
static int |
Return_traits
Shared traits for operators of the Return InstructionFormat |
static byte |
Store_format
Typecode for the Store InstructionFormat |
static int |
Store_traits
Shared traits for operators of the Store InstructionFormat |
static byte |
StoreCheck_format
Typecode for the StoreCheck InstructionFormat |
static int |
StoreCheck_traits
Shared traits for operators of the StoreCheck InstructionFormat |
static byte |
TableSwitch_format
Typecode for the TableSwitch InstructionFormat |
static int |
TableSwitch_traits
Shared traits for operators of the TableSwitch InstructionFormat |
static byte |
Trap_format
Typecode for the Trap InstructionFormat |
static int |
Trap_traits
Shared traits for operators of the Trap InstructionFormat |
static byte |
TrapIf_format
Typecode for the TrapIf InstructionFormat |
static int |
TrapIf_traits
Shared traits for operators of the TrapIf InstructionFormat |
static byte |
TypeCheck_format
Typecode for the TypeCheck InstructionFormat |
static int |
TypeCheck_traits
Shared traits for operators of the TypeCheck InstructionFormat |
static byte |
Unary_format
Typecode for the Unary InstructionFormat |
static int |
Unary_traits
Shared traits for operators of the Unary InstructionFormat |
static byte |
Unassigned_format
Typecode for the Unassigned InstructionFormat |
static byte |
ZeroCheck_format
Typecode for the ZeroCheck InstructionFormat |
static int |
ZeroCheck_traits
Shared traits for operators of the ZeroCheck InstructionFormat |
| Constructor Summary | |
|---|---|
InstructionFormat()
|
|
| Method Summary | |
|---|---|
protected static void |
fail(Instruction i,
String name)
Called to generate a (possibly fatal) error message when it is detected that an InstructionFormat method was invoked on an instruction/operator that does not conform to that format. |
protected static void |
fail(Operator op,
String name)
Called to generate a (possibly fatal) error message when it is detected that an InstructionFormat method was invoked on an operator that does not conform to that format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int MIN_OPERAND_ARRAY_LENGTH
public static final byte Unassigned_format
public static final byte Move_format
public static final byte Return_format
public static final byte Prologue_format
public static final byte InstrumentedCounter_format
public static final byte Empty_format
public static final byte Nullary_format
public static final byte New_format
public static final byte NewArray_format
public static final byte Multianewarray_format
public static final byte Athrow_format
public static final byte MonitorOp_format
public static final byte CacheOp_format
public static final byte NullCheck_format
public static final byte ZeroCheck_format
public static final byte BoundsCheck_format
public static final byte StoreCheck_format
public static final byte TypeCheck_format
public static final byte InstanceOf_format
public static final byte Trap_format
public static final byte TrapIf_format
public static final byte IfCmp_format
public static final byte IfCmp2_format
public static final byte InlineGuard_format
public static final byte BooleanCmp_format
public static final byte CondMove_format
public static final byte Goto_format
public static final byte Label_format
public static final byte BBend_format
public static final byte Unary_format
public static final byte GuardedUnary_format
public static final byte Binary_format
public static final byte GuardedBinary_format
public static final byte GuardedSet_format
public static final byte ALoad_format
public static final byte GetField_format
public static final byte GetStatic_format
public static final byte Load_format
public static final byte AStore_format
public static final byte PutField_format
public static final byte PutStatic_format
public static final byte Store_format
public static final byte Prepare_format
public static final byte Attempt_format
public static final byte Call_format
public static final byte TableSwitch_format
public static final byte LookupSwitch_format
public static final byte LowTableSwitch_format
public static final byte Phi_format
public static final byte OsrBarrier_format
public static final byte OsrPoint_format
public static final byte ARCH_INDEPENDENT_INSTR_FORMAT_END_format
public static final byte MIR_LowTableSwitch_format
public static final byte MIR_Move_format
public static final byte MIR_CondMove_format
public static final byte MIR_Lea_format
public static final byte MIR_BinaryAcc_format
public static final byte MIR_Divide_format
public static final byte MIR_Multiply_format
public static final byte MIR_ConvertDW2QW_format
public static final byte MIR_UnaryAcc_format
public static final byte MIR_Compare_format
public static final byte MIR_CompareExchange_format
public static final byte MIR_CompareExchange8B_format
public static final byte MIR_Trap_format
public static final byte MIR_TrapIf_format
public static final byte MIR_Branch_format
public static final byte MIR_CondBranch_format
public static final byte MIR_CondBranch2_format
public static final byte MIR_Call_format
public static final byte MIR_Empty_format
public static final byte MIR_Return_format
public static final byte MIR_Set_format
public static final byte MIR_Test_format
public static final byte MIR_Nullary_format
public static final byte MIR_UnaryNoRes_format
public static final byte MIR_Unary_format
public static final byte MIR_XChng_format
public static final byte MIR_DoubleShift_format
public static final byte MIR_CaseLabel_format
public static final byte MIR_FSave_format
public static final byte MIR_RDTSC_format
public static final byte MIR_CacheOp_format
public static final int Move_traits
public static final int Return_traits
public static final int Prologue_traits
public static final int InstrumentedCounter_traits
public static final int Empty_traits
public static final int Nullary_traits
public static final int New_traits
public static final int NewArray_traits
public static final int Multianewarray_traits
public static final int Athrow_traits
public static final int MonitorOp_traits
public static final int CacheOp_traits
public static final int NullCheck_traits
public static final int ZeroCheck_traits
public static final int BoundsCheck_traits
public static final int StoreCheck_traits
public static final int TypeCheck_traits
public static final int InstanceOf_traits
public static final int Trap_traits
public static final int TrapIf_traits
public static final int IfCmp_traits
public static final int IfCmp2_traits
public static final int InlineGuard_traits
public static final int BooleanCmp_traits
public static final int CondMove_traits
public static final int Goto_traits
public static final int Label_traits
public static final int BBend_traits
public static final int Unary_traits
public static final int GuardedUnary_traits
public static final int Binary_traits
public static final int GuardedBinary_traits
public static final int GuardedSet_traits
public static final int ALoad_traits
public static final int GetField_traits
public static final int GetStatic_traits
public static final int Load_traits
public static final int AStore_traits
public static final int PutField_traits
public static final int PutStatic_traits
public static final int Store_traits
public static final int Prepare_traits
public static final int Attempt_traits
public static final int Call_traits
public static final int TableSwitch_traits
public static final int LookupSwitch_traits
public static final int LowTableSwitch_traits
public static final int Phi_traits
public static final int OsrBarrier_traits
public static final int OsrPoint_traits
public static final int MIR_LowTableSwitch_traits
public static final int MIR_Move_traits
public static final int MIR_CondMove_traits
public static final int MIR_Lea_traits
public static final int MIR_BinaryAcc_traits
public static final int MIR_Divide_traits
public static final int MIR_Multiply_traits
public static final int MIR_ConvertDW2QW_traits
public static final int MIR_UnaryAcc_traits
public static final int MIR_Compare_traits
public static final int MIR_CompareExchange_traits
public static final int MIR_CompareExchange8B_traits
public static final int MIR_Trap_traits
public static final int MIR_TrapIf_traits
public static final int MIR_Branch_traits
public static final int MIR_CondBranch_traits
public static final int MIR_CondBranch2_traits
public static final int MIR_Call_traits
public static final int MIR_Empty_traits
public static final int MIR_Return_traits
public static final int MIR_Set_traits
public static final int MIR_Test_traits
public static final int MIR_Nullary_traits
public static final int MIR_UnaryNoRes_traits
public static final int MIR_Unary_traits
public static final int MIR_XChng_traits
public static final int MIR_DoubleShift_traits
public static final int MIR_CaseLabel_traits
public static final int MIR_FSave_traits
public static final int MIR_RDTSC_traits
public static final int MIR_CacheOp_traits
| Constructor Detail |
|---|
public InstructionFormat()
| Method Detail |
|---|
protected static void fail(Instruction i,
String name)
i - the instruction that failed to conform to the
expected format.name - the name of the instruction format that the
instruction was expected to conform to.
protected static void fail(Operator op,
String name)
op - the operator that failed to conform to the
expected format.name - the name of the instruction format that the
operator was expected to conform to.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||