LLVM 20.0.0git
|
#include "llvm/CodeGen/TargetRegisterInfo.h"
Public Member Functions | |
SuperRegClassIterator (const TargetRegisterClass *RC, const TargetRegisterInfo *TRI, bool IncludeSelf=false) | |
Create a SuperRegClassIterator that visits all the super-register classes of RC. | |
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 |
Returns the bit mask of register classes that getSubReg() projects into RC. | |
void | operator++ () |
Advance iterator to the next entry. | |
Definition at line 1246 of file TargetRegisterInfo.h.
|
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 1255 of file TargetRegisterInfo.h.
References Idx.
Returns the bit mask of register classes that getSubReg() projects into RC.
See TargetRegisterClass::getSubClassMask() for how to use it.
Definition at line 1273 of file TargetRegisterInfo.h.
|
inline |
Returns the current sub-register index.
Definition at line 1268 of file TargetRegisterInfo.h.
References SubReg.
|
inline |
Returns true if this iterator is still pointing at a valid entry.
Definition at line 1265 of file TargetRegisterInfo.h.
References Idx.
Referenced by llvm::TargetLoweringBase::findRepresentativeClass(), llvm::TargetRegisterInfo::getMatchingSuperRegClass(), and operator++().
|
inline |