LLVM: llvm::MCOperandInfo Class Reference (original) (raw)
This holds information about one operand of a machine instruction, indicating the register class for register operands, etc. More...
#include "[llvm/MC/MCInstrDesc.h](MCInstrDesc%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| bool | isLookupRegClassByHwMode () const |
| Set if this operand is a value that requires the current hwmode to look up its register class. | |
| bool | isPredicate () const |
| Set if this is one of the operands that made up of the predicate operand that controls an isPredicable() instruction. | |
| bool | isOptionalDef () const |
| Set if this operand is a optional def. | |
| bool | isBranchTarget () const |
| Set if this operand is a branch target. | |
| bool | isGenericType () const |
| unsigned | getGenericTypeIndex () const |
| bool | isGenericImm () const |
| unsigned | getGenericImmIndex () const |
| Public Attributes | |
|---|---|
| int16_t | RegClass |
| This specifies the register class enumeration of the operand if the operand is a register. | |
| uint8_t | Flags |
| These are flags from the MCOI::OperandFlags enum. | |
| uint8_t | OperandType |
| Information about the type of the operand. | |
| uint16_t | Constraints |
| Operand constraints (see OperandConstraint enum). |
This holds information about one operand of a machine instruction, indicating the register class for register operands, etc.
Definition at line 86 of file MCInstrDesc.h.
◆ getGenericImmIndex()
| unsigned llvm::MCOperandInfo::getGenericImmIndex ( ) const | inline |
|---|
◆ getGenericTypeIndex()
| unsigned llvm::MCOperandInfo::getGenericTypeIndex ( ) const | inline |
|---|
◆ isBranchTarget()
| bool llvm::MCOperandInfo::isBranchTarget ( ) const | inline |
|---|
◆ isGenericImm()
| bool llvm::MCOperandInfo::isGenericImm ( ) const | inline |
|---|
◆ isGenericType()
| bool llvm::MCOperandInfo::isGenericType ( ) const | inline |
|---|
◆ isLookupRegClassByHwMode()
| bool llvm::MCOperandInfo::isLookupRegClassByHwMode ( ) const | inline |
|---|
◆ isOptionalDef()
| bool llvm::MCOperandInfo::isOptionalDef ( ) const | inline |
|---|
◆ isPredicate()
| bool llvm::MCOperandInfo::isPredicate ( ) const | inline |
|---|
◆ Constraints
uint16_t llvm::MCOperandInfo::Constraints
Operand constraints (see OperandConstraint enum).
Definition at line 101 of file MCInstrDesc.h.
◆ Flags
◆ OperandType
uint8_t llvm::MCOperandInfo::OperandType
◆ RegClass
int16_t llvm::MCOperandInfo::RegClass
The documentation for this class was generated from the following file:
- include/llvm/MC/MCInstrDesc.h