LLVM: llvm::TargetInstrInfo::RegSubRegPairAndIdx Struct Reference (original) (raw)
A pair composed of a pair of a register and a sub-register index, and another sub-register index. More...
#include "[llvm/CodeGen/TargetInstrInfo.h](TargetInstrInfo%5F8h%5Fsource.html)"
Inheritance diagram for llvm::TargetInstrInfo::RegSubRegPairAndIdx:
[legend]
| Public Member Functions | |
|---|---|
| RegSubRegPairAndIdx (Register Reg=Register(), unsigned SubReg=0, unsigned SubIdx=0) | |
| Public Member Functions inherited from llvm::TargetInstrInfo::RegSubRegPair | |
| RegSubRegPair (Register Reg=Register(), unsigned SubReg=0) | |
| bool | operator== (const RegSubRegPair &P) const |
| bool | operator!= (const RegSubRegPair &P) const |
| Public Attributes | |
|---|---|
| unsigned | SubIdx |
| Public Attributes inherited from llvm::TargetInstrInfo::RegSubRegPair | |
| Register | Reg |
| unsigned | SubReg |
Detailed Description
A pair composed of a pair of a register and a sub-register index, and another sub-register index.
Used to give some type checking when modeling Reg:SubReg1, SubReg2.
Definition at line 581 of file TargetInstrInfo.h.
Constructor & Destructor Documentation
| llvm::TargetInstrInfo::RegSubRegPairAndIdx::RegSubRegPairAndIdx ( Register Reg = Register(), unsigned SubReg = 0, unsigned SubIdx = 0 ) | inline |
|---|
Definition at line 584 of file TargetInstrInfo.h.
References llvm::TargetInstrInfo::RegSubRegPair::Reg, llvm::TargetInstrInfo::RegSubRegPair::RegSubRegPair(), SubIdx, and llvm::TargetInstrInfo::RegSubRegPair::SubReg.
Member Data Documentation
◆ SubIdx
unsigned llvm::TargetInstrInfo::RegSubRegPairAndIdx::SubIdx
Definition at line 582 of file TargetInstrInfo.h.
Referenced by llvm::TargetInstrInfo::getExtractSubregInputs(), llvm::ARMBaseInstrInfo::getExtractSubregLikeInputs(), llvm::TargetInstrInfo::getInsertSubregInputs(), llvm::ARMBaseInstrInfo::getInsertSubregLikeInputs(), and RegSubRegPairAndIdx().
The documentation for this struct was generated from the following file:
- include/llvm/CodeGen/TargetInstrInfo.h