LLVM: llvm::MCOI Namespace Reference (original) (raw)

Enumerations
enum OperandConstraint { TIED_TO = 0 , EARLY_CLOBBER }
Operand constraints. More...
enum OperandFlags { LookupRegClassByHwMode = 0 , Predicate, OptionalDef, BranchTarget }
These are flags set on operands, but should be considered private, all access should go through the MCOperandInfo accessors. More...
enum OperandType { OPERAND_UNKNOWN = 0 , OPERAND_IMMEDIATE = 1 , OPERAND_REGISTER = 2 , OPERAND_MEMORY = 3 , OPERAND_PCREL = 4 , OPERAND_FIRST_GENERIC = 6 , OPERAND_GENERIC_0 = 6 , OPERAND_GENERIC_1 = 7 , OPERAND_GENERIC_2 = 8 , OPERAND_GENERIC_3 = 9 , OPERAND_GENERIC_4 = 10 , OPERAND_GENERIC_5 = 11 , OPERAND_LAST_GENERIC = 11 , OPERAND_FIRST_GENERIC_IMM = 12 , OPERAND_GENERIC_IMM_0 = 12 , OPERAND_LAST_GENERIC_IMM = 12 , OPERAND_FIRST_TARGET = 13 }
Operands are tagged with one of the values of this enum. More...

OperandConstraint

Operand constraints.

These are encoded in 16 bits with one of the low-order 3 bits specifying that a constraint is present and the corresponding high-order hex digit specifying the constraint value. This allows for a maximum of 3 constraints.

Enumerator
TIED_TO
EARLY_CLOBBER

Definition at line 36 of file MCInstrDesc.h.

OperandFlags

These are flags set on operands, but should be considered private, all access should go through the MCOperandInfo accessors.

See the accessors for a description of what these are.

Enumerator
LookupRegClassByHwMode
Predicate
OptionalDef
BranchTarget

Definition at line 51 of file MCInstrDesc.h.

OperandType

Operands are tagged with one of the values of this enum.

Enumerator
OPERAND_UNKNOWN
OPERAND_IMMEDIATE
OPERAND_REGISTER
OPERAND_MEMORY
OPERAND_PCREL
OPERAND_FIRST_GENERIC
OPERAND_GENERIC_0
OPERAND_GENERIC_1
OPERAND_GENERIC_2
OPERAND_GENERIC_3
OPERAND_GENERIC_4
OPERAND_GENERIC_5
OPERAND_LAST_GENERIC
OPERAND_FIRST_GENERIC_IMM
OPERAND_GENERIC_IMM_0
OPERAND_LAST_GENERIC_IMM
OPERAND_FIRST_TARGET

Definition at line 59 of file MCInstrDesc.h.