LLVM API Documentation
#include <TargetRegisterInfo.h>
Public Member Functions | |
| SuperRegClassIterator (const TargetRegisterClass *RC, const TargetRegisterInfo *TRI, bool IncludeSelf=false) | |
| bool | isValid () const |
| Returns true if this iterator is still pointing at a valid entry. | |
| unsigned | getSubReg () const |
| Returns the current sub-register index. | |
| const uint32_t * | getMask () const |
| void | operator++ () |
| Advance iterator to the next entry. | |
Definition at line 847 of file TargetRegisterInfo.h.
| llvm::SuperRegClassIterator::SuperRegClassIterator | ( | const TargetRegisterClass * | RC, |
| const TargetRegisterInfo * | TRI, | ||
| bool | IncludeSelf = false |
||
| ) | [inline] |
Create a SuperRegClassIterator that visits all the super-register classes of RC. When IncludeSelf is set, also include the (0, sub-classes) entry.
Definition at line 856 of file TargetRegisterInfo.h.
| const uint32_t* llvm::SuperRegClassIterator::getMask | ( | ) | const [inline] |
Returns the bit mask if register classes that getSubReg() projects into RC.
Definition at line 875 of file TargetRegisterInfo.h.
| unsigned llvm::SuperRegClassIterator::getSubReg | ( | ) | const [inline] |
Returns the current sub-register index.
Definition at line 871 of file TargetRegisterInfo.h.
| bool llvm::SuperRegClassIterator::isValid | ( | ) | const [inline] |
Returns true if this iterator is still pointing at a valid entry.
Definition at line 868 of file TargetRegisterInfo.h.
Referenced by llvm::TargetLoweringBase::findRepresentativeClass(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), llvm::TargetRegisterInfo::getMatchingSuperRegClass(), and operator++().
| void llvm::SuperRegClassIterator::operator++ | ( | ) | [inline] |
Advance iterator to the next entry.
Definition at line 878 of file TargetRegisterInfo.h.
References isValid().