LLVM 20.0.0git
Enumerations
llvm::MCOI Namespace Reference

Enumerations

enum  OperandConstraint { TIED_TO = 0 , EARLY_CLOBBER }
 Operand constraints. More...
 
enum  OperandFlags { LookupPtrRegClass = 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...
 

Enumeration Type Documentation

◆ 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 35 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
LookupPtrRegClass 
Predicate 
OptionalDef 
BranchTarget 

Definition at line 50 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 58 of file MCInstrDesc.h.