LLVM API Documentation
#include <TargetInstrDesc.h>

Public Member Functions | |
| bool | isLookupPtrRegClass () const |
| Currently no other information. | |
| bool | isPredicate () const |
| bool | isOptionalDef () const |
Public Attributes | |
| unsigned short | RegClass |
| unsigned short | Flags |
| unsigned int | Constraints |
Definition at line 45 of file TargetInstrDesc.h.
| bool llvm::TargetOperandInfo::isLookupPtrRegClass | ( | ) | const [inline] |
Currently no other information.
isLookupPtrRegClass - Set if this operand is a pointer value and it requires a callback to look up its register class.
Definition at line 58 of file TargetInstrDesc.h.
References Flags, and llvm::TOI::LookupPtrRegClass.
Referenced by llvm::ScheduleDAGInstrs::BuildSchedGraph(), getInstrOperandRegClass(), and llvm::X86InstrInfo::unfoldMemoryOperand().
| bool llvm::TargetOperandInfo::isPredicate | ( | ) | const [inline] |
isPredicate - Set if this is one of the operands that made up of the predicate operand that controls an isPredicable() instruction.
Definition at line 62 of file TargetInstrDesc.h.
References Flags, and llvm::TOI::Predicate.
Referenced by llvm::MachineInstr::copyPredicates(), llvm::MachineInstr::findFirstPredOperandIdx(), and llvm::TargetInstrInfoImpl::PredicateInstruction().
| bool llvm::TargetOperandInfo::isOptionalDef | ( | ) | const [inline] |
isOptionalDef - Set if this operand is a optional def.
Definition at line 66 of file TargetInstrDesc.h.
References Flags, and llvm::TOI::OptionalDef.
RegClass - This specifies the register class enumeration of the operand if the operand is a register. If not, this contains 0.
Definition at line 49 of file TargetInstrDesc.h.
Referenced by getInstrOperandRegClass(), and llvm::X86InstrInfo::unfoldMemoryOperand().
Definition at line 50 of file TargetInstrDesc.h.
Referenced by isLookupPtrRegClass(), isOptionalDef(), and isPredicate().
Lower 16 bits are used to specify which constraints are set. The higher 16 bits are used to specify the value of constraints (4 bits each).
Definition at line 53 of file TargetInstrDesc.h.
Referenced by llvm::TargetInstrDesc::getOperandConstraint().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.