public abstract class InstructionFormat extends Object
Instruction
contains
an explanation of the role of InstructionFormats in the
opt compiler's IR.Modifier and Type | Field and Description |
---|---|
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
|
protected 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 |
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 and Description |
---|
InstructionFormat() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected 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 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 InstructionFormat()
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.