org.jikesrvm.compilers.opt.ir
Class InstructionFormat

java.lang.Object
  extended by org.jikesrvm.compilers.opt.ir.InstructionFormat
Direct Known Subclasses:
ALoad, AStore, Athrow, Attempt, BBend, Binary, BooleanCmp, BoundsCheck, BranchProfileCarrier, CacheOp, Call, CondMove, Empty, GetField, GetStatic, Goto, GuardCarrier, GuardedBinary, GuardedSet, GuardedUnary, GuardResultCarrier, IfCmp, IfCmp2, InlineGuard, InstanceOf, InstrumentedCounter, Label, Load, LocationCarrier, LookupSwitch, LowTableSwitch, MIR_BinaryAcc, MIR_Branch, MIR_CacheOp, MIR_Call, MIR_CaseLabel, MIR_Compare, MIR_CompareExchange, MIR_CompareExchange8B, MIR_CondBranch, MIR_CondBranch2, MIR_CondMove, MIR_ConvertDW2QW, MIR_Divide, MIR_DoubleShift, MIR_Empty, MIR_FSave, MIR_Lea, MIR_LowTableSwitch, MIR_Move, MIR_Multiply, MIR_Nullary, MIR_RDTSC, MIR_Return, MIR_Set, MIR_Test, MIR_Trap, MIR_TrapIf, MIR_Unary, MIR_UnaryAcc, MIR_UnaryNoRes, MIR_XChng, MonitorOp, Move, Multianewarray, New, NewArray, Nullary, NullCheck, OsrBarrier, OsrPoint, Phi, Prepare, Prologue, PutField, PutStatic, ResultCarrier, Return, Store, StoreCheck, TableSwitch, Trap, TrapIf, TypeCheck, Unary, ZeroCheck

public abstract class InstructionFormat
extends Object

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

MIN_OPERAND_ARRAY_LENGTH

static final 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.

See Also:
Constant Field Values

Unassigned_format

public static final byte Unassigned_format
Typecode for the Unassigned InstructionFormat

See Also:
Constant Field Values

Move_format

public static final byte Move_format
Typecode for the Move InstructionFormat

See Also:
Constant Field Values

Return_format

public static final byte Return_format
Typecode for the Return InstructionFormat

See Also:
Constant Field Values

Prologue_format

public static final byte Prologue_format
Typecode for the Prologue InstructionFormat

See Also:
Constant Field Values

InstrumentedCounter_format

public static final byte InstrumentedCounter_format
Typecode for the InstrumentedCounter InstructionFormat

See Also:
Constant Field Values

Empty_format

public static final byte Empty_format
Typecode for the Empty InstructionFormat

See Also:
Constant Field Values

Nullary_format

public static final byte Nullary_format
Typecode for the Nullary InstructionFormat

See Also:
Constant Field Values

New_format

public static final byte New_format
Typecode for the New InstructionFormat

See Also:
Constant Field Values

NewArray_format

public static final byte NewArray_format
Typecode for the NewArray InstructionFormat

See Also:
Constant Field Values

Multianewarray_format

public static final byte Multianewarray_format
Typecode for the Multianewarray InstructionFormat

See Also:
Constant Field Values

Athrow_format

public static final byte Athrow_format
Typecode for the Athrow InstructionFormat

See Also:
Constant Field Values

MonitorOp_format

public static final byte MonitorOp_format
Typecode for the MonitorOp InstructionFormat

See Also:
Constant Field Values

CacheOp_format

public static final byte CacheOp_format
Typecode for the CacheOp InstructionFormat

See Also:
Constant Field Values

NullCheck_format

public static final byte NullCheck_format
Typecode for the NullCheck InstructionFormat

See Also:
Constant Field Values

ZeroCheck_format

public static final byte ZeroCheck_format
Typecode for the ZeroCheck InstructionFormat

See Also:
Constant Field Values

BoundsCheck_format

public static final byte BoundsCheck_format
Typecode for the BoundsCheck InstructionFormat

See Also:
Constant Field Values

StoreCheck_format

public static final byte StoreCheck_format
Typecode for the StoreCheck InstructionFormat

See Also:
Constant Field Values

TypeCheck_format

public static final byte TypeCheck_format
Typecode for the TypeCheck InstructionFormat

See Also:
Constant Field Values

InstanceOf_format

public static final byte InstanceOf_format
Typecode for the InstanceOf InstructionFormat

See Also:
Constant Field Values

Trap_format

public static final byte Trap_format
Typecode for the Trap InstructionFormat

See Also:
Constant Field Values

TrapIf_format

public static final byte TrapIf_format
Typecode for the TrapIf InstructionFormat

See Also:
Constant Field Values

IfCmp_format

public static final byte IfCmp_format
Typecode for the IfCmp InstructionFormat

See Also:
Constant Field Values

IfCmp2_format

public static final byte IfCmp2_format
Typecode for the IfCmp2 InstructionFormat

See Also:
Constant Field Values

InlineGuard_format

public static final byte InlineGuard_format
Typecode for the InlineGuard InstructionFormat

See Also:
Constant Field Values

BooleanCmp_format

public static final byte BooleanCmp_format
Typecode for the BooleanCmp InstructionFormat

See Also:
Constant Field Values

CondMove_format

public static final byte CondMove_format
Typecode for the CondMove InstructionFormat

See Also:
Constant Field Values

Goto_format

public static final byte Goto_format
Typecode for the Goto InstructionFormat

See Also:
Constant Field Values

Label_format

public static final byte Label_format
Typecode for the Label InstructionFormat

See Also:
Constant Field Values

BBend_format

public static final byte BBend_format
Typecode for the BBend InstructionFormat

See Also:
Constant Field Values

Unary_format

public static final byte Unary_format
Typecode for the Unary InstructionFormat

See Also:
Constant Field Values

GuardedUnary_format

public static final byte GuardedUnary_format
Typecode for the GuardedUnary InstructionFormat

See Also:
Constant Field Values

Binary_format

public static final byte Binary_format
Typecode for the Binary InstructionFormat

See Also:
Constant Field Values

GuardedBinary_format

public static final byte GuardedBinary_format
Typecode for the GuardedBinary InstructionFormat

See Also:
Constant Field Values

GuardedSet_format

public static final byte GuardedSet_format
Typecode for the GuardedSet InstructionFormat

See Also:
Constant Field Values

ALoad_format

public static final byte ALoad_format
Typecode for the ALoad InstructionFormat

See Also:
Constant Field Values

GetField_format

public static final byte GetField_format
Typecode for the GetField InstructionFormat

See Also:
Constant Field Values

GetStatic_format

public static final byte GetStatic_format
Typecode for the GetStatic InstructionFormat

See Also:
Constant Field Values

Load_format

public static final byte Load_format
Typecode for the Load InstructionFormat

See Also:
Constant Field Values

AStore_format

public static final byte AStore_format
Typecode for the AStore InstructionFormat

See Also:
Constant Field Values

PutField_format

public static final byte PutField_format
Typecode for the PutField InstructionFormat

See Also:
Constant Field Values

PutStatic_format

public static final byte PutStatic_format
Typecode for the PutStatic InstructionFormat

See Also:
Constant Field Values

Store_format

public static final byte Store_format
Typecode for the Store InstructionFormat

See Also:
Constant Field Values

Prepare_format

public static final byte Prepare_format
Typecode for the Prepare InstructionFormat

See Also:
Constant Field Values

Attempt_format

public static final byte Attempt_format
Typecode for the Attempt InstructionFormat

See Also:
Constant Field Values

Call_format

public static final byte Call_format
Typecode for the Call InstructionFormat

See Also:
Constant Field Values

TableSwitch_format

public static final byte TableSwitch_format
Typecode for the TableSwitch InstructionFormat

See Also:
Constant Field Values

LookupSwitch_format

public static final byte LookupSwitch_format
Typecode for the LookupSwitch InstructionFormat

See Also:
Constant Field Values

LowTableSwitch_format

public static final byte LowTableSwitch_format
Typecode for the LowTableSwitch InstructionFormat

See Also:
Constant Field Values

Phi_format

public static final byte Phi_format
Typecode for the Phi InstructionFormat

See Also:
Constant Field Values

OsrBarrier_format

public static final byte OsrBarrier_format
Typecode for the OsrBarrier InstructionFormat

See Also:
Constant Field Values

OsrPoint_format

public static final byte OsrPoint_format
Typecode for the OsrPoint InstructionFormat

See Also:
Constant Field Values

ARCH_INDEPENDENT_INSTR_FORMAT_END_format

public static final byte ARCH_INDEPENDENT_INSTR_FORMAT_END_format
Typecode for the ARCH_INDEPENDENT_INSTR_FORMAT_END InstructionFormat

See Also:
Constant Field Values

MIR_LowTableSwitch_format

public static final byte MIR_LowTableSwitch_format
Typecode for the MIR_LowTableSwitch InstructionFormat

See Also:
Constant Field Values

MIR_Move_format

public static final byte MIR_Move_format
Typecode for the MIR_Move InstructionFormat

See Also:
Constant Field Values

MIR_CondMove_format

public static final byte MIR_CondMove_format
Typecode for the MIR_CondMove InstructionFormat

See Also:
Constant Field Values

MIR_Lea_format

public static final byte MIR_Lea_format
Typecode for the MIR_Lea InstructionFormat

See Also:
Constant Field Values

MIR_BinaryAcc_format

public static final byte MIR_BinaryAcc_format
Typecode for the MIR_BinaryAcc InstructionFormat

See Also:
Constant Field Values

MIR_Divide_format

public static final byte MIR_Divide_format
Typecode for the MIR_Divide InstructionFormat

See Also:
Constant Field Values

MIR_Multiply_format

public static final byte MIR_Multiply_format
Typecode for the MIR_Multiply InstructionFormat

See Also:
Constant Field Values

MIR_ConvertDW2QW_format

public static final byte MIR_ConvertDW2QW_format
Typecode for the MIR_ConvertDW2QW InstructionFormat

See Also:
Constant Field Values

MIR_UnaryAcc_format

public static final byte MIR_UnaryAcc_format
Typecode for the MIR_UnaryAcc InstructionFormat

See Also:
Constant Field Values

MIR_Compare_format

public static final byte MIR_Compare_format
Typecode for the MIR_Compare InstructionFormat

See Also:
Constant Field Values

MIR_CompareExchange_format

public static final byte MIR_CompareExchange_format
Typecode for the MIR_CompareExchange InstructionFormat

See Also:
Constant Field Values

MIR_CompareExchange8B_format

public static final byte MIR_CompareExchange8B_format
Typecode for the MIR_CompareExchange8B InstructionFormat

See Also:
Constant Field Values

MIR_Trap_format

public static final byte MIR_Trap_format
Typecode for the MIR_Trap InstructionFormat

See Also:
Constant Field Values

MIR_TrapIf_format

public static final byte MIR_TrapIf_format
Typecode for the MIR_TrapIf InstructionFormat

See Also:
Constant Field Values

MIR_Branch_format

public static final byte MIR_Branch_format
Typecode for the MIR_Branch InstructionFormat

See Also:
Constant Field Values

MIR_CondBranch_format

public static final byte MIR_CondBranch_format
Typecode for the MIR_CondBranch InstructionFormat

See Also:
Constant Field Values

MIR_CondBranch2_format

public static final byte MIR_CondBranch2_format
Typecode for the MIR_CondBranch2 InstructionFormat

See Also:
Constant Field Values

MIR_Call_format

public static final byte MIR_Call_format
Typecode for the MIR_Call InstructionFormat

See Also:
Constant Field Values

MIR_Empty_format

public static final byte MIR_Empty_format
Typecode for the MIR_Empty InstructionFormat

See Also:
Constant Field Values

MIR_Return_format

public static final byte MIR_Return_format
Typecode for the MIR_Return InstructionFormat

See Also:
Constant Field Values

MIR_Set_format

public static final byte MIR_Set_format
Typecode for the MIR_Set InstructionFormat

See Also:
Constant Field Values

MIR_Test_format

public static final byte MIR_Test_format
Typecode for the MIR_Test InstructionFormat

See Also:
Constant Field Values

MIR_Nullary_format

public static final byte MIR_Nullary_format
Typecode for the MIR_Nullary InstructionFormat

See Also:
Constant Field Values

MIR_UnaryNoRes_format

public static final byte MIR_UnaryNoRes_format
Typecode for the MIR_UnaryNoRes InstructionFormat

See Also:
Constant Field Values

MIR_Unary_format

public static final byte MIR_Unary_format
Typecode for the MIR_Unary InstructionFormat

See Also:
Constant Field Values

MIR_XChng_format

public static final byte MIR_XChng_format
Typecode for the MIR_XChng InstructionFormat

See Also:
Constant Field Values

MIR_DoubleShift_format

public static final byte MIR_DoubleShift_format
Typecode for the MIR_DoubleShift InstructionFormat

See Also:
Constant Field Values

MIR_CaseLabel_format

public static final byte MIR_CaseLabel_format
Typecode for the MIR_CaseLabel InstructionFormat

See Also:
Constant Field Values

MIR_FSave_format

public static final byte MIR_FSave_format
Typecode for the MIR_FSave InstructionFormat

See Also:
Constant Field Values

MIR_RDTSC_format

public static final byte MIR_RDTSC_format
Typecode for the MIR_RDTSC InstructionFormat

See Also:
Constant Field Values

MIR_CacheOp_format

public static final byte MIR_CacheOp_format
Typecode for the MIR_CacheOp InstructionFormat

See Also:
Constant Field Values

Move_traits

public static final int Move_traits
Shared traits for operators of the Move InstructionFormat

See Also:
Constant Field Values

Return_traits

public static final int Return_traits
Shared traits for operators of the Return InstructionFormat

See Also:
Constant Field Values

Prologue_traits

public static final int Prologue_traits
Shared traits for operators of the Prologue InstructionFormat

See Also:
Constant Field Values

InstrumentedCounter_traits

public static final int InstrumentedCounter_traits
Shared traits for operators of the InstrumentedCounter InstructionFormat

See Also:
Constant Field Values

Empty_traits

public static final int Empty_traits
Shared traits for operators of the Empty InstructionFormat

See Also:
Constant Field Values

Nullary_traits

public static final int Nullary_traits
Shared traits for operators of the Nullary InstructionFormat

See Also:
Constant Field Values

New_traits

public static final int New_traits
Shared traits for operators of the New InstructionFormat

See Also:
Constant Field Values

NewArray_traits

public static final int NewArray_traits
Shared traits for operators of the NewArray InstructionFormat

See Also:
Constant Field Values

Multianewarray_traits

public static final int Multianewarray_traits
Shared traits for operators of the Multianewarray InstructionFormat

See Also:
Constant Field Values

Athrow_traits

public static final int Athrow_traits
Shared traits for operators of the Athrow InstructionFormat

See Also:
Constant Field Values

MonitorOp_traits

public static final int MonitorOp_traits
Shared traits for operators of the MonitorOp InstructionFormat

See Also:
Constant Field Values

CacheOp_traits

public static final int CacheOp_traits
Shared traits for operators of the CacheOp InstructionFormat

See Also:
Constant Field Values

NullCheck_traits

public static final int NullCheck_traits
Shared traits for operators of the NullCheck InstructionFormat

See Also:
Constant Field Values

ZeroCheck_traits

public static final int ZeroCheck_traits
Shared traits for operators of the ZeroCheck InstructionFormat

See Also:
Constant Field Values

BoundsCheck_traits

public static final int BoundsCheck_traits
Shared traits for operators of the BoundsCheck InstructionFormat

See Also:
Constant Field Values

StoreCheck_traits

public static final int StoreCheck_traits
Shared traits for operators of the StoreCheck InstructionFormat

See Also:
Constant Field Values

TypeCheck_traits

public static final int TypeCheck_traits
Shared traits for operators of the TypeCheck InstructionFormat

See Also:
Constant Field Values

InstanceOf_traits

public static final int InstanceOf_traits
Shared traits for operators of the InstanceOf InstructionFormat

See Also:
Constant Field Values

Trap_traits

public static final int Trap_traits
Shared traits for operators of the Trap InstructionFormat

See Also:
Constant Field Values

TrapIf_traits

public static final int TrapIf_traits
Shared traits for operators of the TrapIf InstructionFormat

See Also:
Constant Field Values

IfCmp_traits

public static final int IfCmp_traits
Shared traits for operators of the IfCmp InstructionFormat

See Also:
Constant Field Values

IfCmp2_traits

public static final int IfCmp2_traits
Shared traits for operators of the IfCmp2 InstructionFormat

See Also:
Constant Field Values

InlineGuard_traits

public static final int InlineGuard_traits
Shared traits for operators of the InlineGuard InstructionFormat

See Also:
Constant Field Values

BooleanCmp_traits

public static final int BooleanCmp_traits
Shared traits for operators of the BooleanCmp InstructionFormat

See Also:
Constant Field Values

CondMove_traits

public static final int CondMove_traits
Shared traits for operators of the CondMove InstructionFormat

See Also:
Constant Field Values

Goto_traits

public static final int Goto_traits
Shared traits for operators of the Goto InstructionFormat

See Also:
Constant Field Values

Label_traits

public static final int Label_traits
Shared traits for operators of the Label InstructionFormat

See Also:
Constant Field Values

BBend_traits

public static final int BBend_traits
Shared traits for operators of the BBend InstructionFormat

See Also:
Constant Field Values

Unary_traits

public static final int Unary_traits
Shared traits for operators of the Unary InstructionFormat

See Also:
Constant Field Values

GuardedUnary_traits

public static final int GuardedUnary_traits
Shared traits for operators of the GuardedUnary InstructionFormat

See Also:
Constant Field Values

Binary_traits

public static final int Binary_traits
Shared traits for operators of the Binary InstructionFormat

See Also:
Constant Field Values

GuardedBinary_traits

public static final int GuardedBinary_traits
Shared traits for operators of the GuardedBinary InstructionFormat

See Also:
Constant Field Values

GuardedSet_traits

public static final int GuardedSet_traits
Shared traits for operators of the GuardedSet InstructionFormat

See Also:
Constant Field Values

ALoad_traits

public static final int ALoad_traits
Shared traits for operators of the ALoad InstructionFormat

See Also:
Constant Field Values

GetField_traits

public static final int GetField_traits
Shared traits for operators of the GetField InstructionFormat

See Also:
Constant Field Values

GetStatic_traits

public static final int GetStatic_traits
Shared traits for operators of the GetStatic InstructionFormat

See Also:
Constant Field Values

Load_traits

public static final int Load_traits
Shared traits for operators of the Load InstructionFormat

See Also:
Constant Field Values

AStore_traits

public static final int AStore_traits
Shared traits for operators of the AStore InstructionFormat

See Also:
Constant Field Values

PutField_traits

public static final int PutField_traits
Shared traits for operators of the PutField InstructionFormat

See Also:
Constant Field Values

PutStatic_traits

public static final int PutStatic_traits
Shared traits for operators of the PutStatic InstructionFormat

See Also:
Constant Field Values

Store_traits

public static final int Store_traits
Shared traits for operators of the Store InstructionFormat

See Also:
Constant Field Values

Prepare_traits

public static final int Prepare_traits
Shared traits for operators of the Prepare InstructionFormat

See Also:
Constant Field Values

Attempt_traits

public static final int Attempt_traits
Shared traits for operators of the Attempt InstructionFormat

See Also:
Constant Field Values

Call_traits

public static final int Call_traits
Shared traits for operators of the Call InstructionFormat

See Also:
Constant Field Values

TableSwitch_traits

public static final int TableSwitch_traits
Shared traits for operators of the TableSwitch InstructionFormat

See Also:
Constant Field Values

LookupSwitch_traits

public static final int LookupSwitch_traits
Shared traits for operators of the LookupSwitch InstructionFormat

See Also:
Constant Field Values

LowTableSwitch_traits

public static final int LowTableSwitch_traits
Shared traits for operators of the LowTableSwitch InstructionFormat

See Also:
Constant Field Values

Phi_traits

public static final int Phi_traits
Shared traits for operators of the Phi InstructionFormat

See Also:
Constant Field Values

OsrBarrier_traits

public static final int OsrBarrier_traits
Shared traits for operators of the OsrBarrier InstructionFormat

See Also:
Constant Field Values

OsrPoint_traits

public static final int OsrPoint_traits
Shared traits for operators of the OsrPoint InstructionFormat

See Also:
Constant Field Values

MIR_LowTableSwitch_traits

public static final int MIR_LowTableSwitch_traits
Shared traits for operators of the MIR_LowTableSwitch InstructionFormat

See Also:
Constant Field Values

MIR_Move_traits

public static final int MIR_Move_traits
Shared traits for operators of the MIR_Move InstructionFormat

See Also:
Constant Field Values

MIR_CondMove_traits

public static final int MIR_CondMove_traits
Shared traits for operators of the MIR_CondMove InstructionFormat

See Also:
Constant Field Values

MIR_Lea_traits

public static final int MIR_Lea_traits
Shared traits for operators of the MIR_Lea InstructionFormat

See Also:
Constant Field Values

MIR_BinaryAcc_traits

public static final int MIR_BinaryAcc_traits
Shared traits for operators of the MIR_BinaryAcc InstructionFormat

See Also:
Constant Field Values

MIR_Divide_traits

public static final int MIR_Divide_traits
Shared traits for operators of the MIR_Divide InstructionFormat

See Also:
Constant Field Values

MIR_Multiply_traits

public static final int MIR_Multiply_traits
Shared traits for operators of the MIR_Multiply InstructionFormat

See Also:
Constant Field Values

MIR_ConvertDW2QW_traits

public static final int MIR_ConvertDW2QW_traits
Shared traits for operators of the MIR_ConvertDW2QW InstructionFormat

See Also:
Constant Field Values

MIR_UnaryAcc_traits

public static final int MIR_UnaryAcc_traits
Shared traits for operators of the MIR_UnaryAcc InstructionFormat

See Also:
Constant Field Values

MIR_Compare_traits

public static final int MIR_Compare_traits
Shared traits for operators of the MIR_Compare InstructionFormat

See Also:
Constant Field Values

MIR_CompareExchange_traits

public static final int MIR_CompareExchange_traits
Shared traits for operators of the MIR_CompareExchange InstructionFormat

See Also:
Constant Field Values

MIR_CompareExchange8B_traits

public static final int MIR_CompareExchange8B_traits
Shared traits for operators of the MIR_CompareExchange8B InstructionFormat

See Also:
Constant Field Values

MIR_Trap_traits

public static final int MIR_Trap_traits
Shared traits for operators of the MIR_Trap InstructionFormat

See Also:
Constant Field Values

MIR_TrapIf_traits

public static final int MIR_TrapIf_traits
Shared traits for operators of the MIR_TrapIf InstructionFormat

See Also:
Constant Field Values

MIR_Branch_traits

public static final int MIR_Branch_traits
Shared traits for operators of the MIR_Branch InstructionFormat

See Also:
Constant Field Values

MIR_CondBranch_traits

public static final int MIR_CondBranch_traits
Shared traits for operators of the MIR_CondBranch InstructionFormat

See Also:
Constant Field Values

MIR_CondBranch2_traits

public static final int MIR_CondBranch2_traits
Shared traits for operators of the MIR_CondBranch2 InstructionFormat

See Also:
Constant Field Values

MIR_Call_traits

public static final int MIR_Call_traits
Shared traits for operators of the MIR_Call InstructionFormat

See Also:
Constant Field Values

MIR_Empty_traits

public static final int MIR_Empty_traits
Shared traits for operators of the MIR_Empty InstructionFormat

See Also:
Constant Field Values

MIR_Return_traits

public static final int MIR_Return_traits
Shared traits for operators of the MIR_Return InstructionFormat

See Also:
Constant Field Values

MIR_Set_traits

public static final int MIR_Set_traits
Shared traits for operators of the MIR_Set InstructionFormat

See Also:
Constant Field Values

MIR_Test_traits

public static final int MIR_Test_traits
Shared traits for operators of the MIR_Test InstructionFormat

See Also:
Constant Field Values

MIR_Nullary_traits

public static final int MIR_Nullary_traits
Shared traits for operators of the MIR_Nullary InstructionFormat

See Also:
Constant Field Values

MIR_UnaryNoRes_traits

public static final int MIR_UnaryNoRes_traits
Shared traits for operators of the MIR_UnaryNoRes InstructionFormat

See Also:
Constant Field Values

MIR_Unary_traits

public static final int MIR_Unary_traits
Shared traits for operators of the MIR_Unary InstructionFormat

See Also:
Constant Field Values

MIR_XChng_traits

public static final int MIR_XChng_traits
Shared traits for operators of the MIR_XChng InstructionFormat

See Also:
Constant Field Values

MIR_DoubleShift_traits

public static final int MIR_DoubleShift_traits
Shared traits for operators of the MIR_DoubleShift InstructionFormat

See Also:
Constant Field Values

MIR_CaseLabel_traits

public static final int MIR_CaseLabel_traits
Shared traits for operators of the MIR_CaseLabel InstructionFormat

See Also:
Constant Field Values

MIR_FSave_traits

public static final int MIR_FSave_traits
Shared traits for operators of the MIR_FSave InstructionFormat

See Also:
Constant Field Values

MIR_RDTSC_traits

public static final int MIR_RDTSC_traits
Shared traits for operators of the MIR_RDTSC InstructionFormat

See Also:
Constant Field Values

MIR_CacheOp_traits

public static final int MIR_CacheOp_traits
Shared traits for operators of the MIR_CacheOp InstructionFormat

See Also:
Constant Field Values
Constructor Detail

InstructionFormat

public InstructionFormat()
Method Detail

fail

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.

Parameters:
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.

fail

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.

Parameters:
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.