LLVM
8.0.1
|
#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. More... | |
bool | isValid () const |
Returns true if this iterator is still pointing at a valid entry. More... | |
unsigned | getSubReg () const |
Returns the current sub-register index. More... | |
const uint32_t * | getMask () const |
Returns the bit mask of register classes that getSubReg() projects into RC. More... | |
void | operator++ () |
Advance iterator to the next entry. More... | |
Definition at line 1022 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 1031 of file TargetRegisterInfo.h.
Returns the bit mask of register classes that getSubReg() projects into RC.
See TargetRegisterClass::getSubClassMask() for how to use it.
Definition at line 1049 of file TargetRegisterInfo.h.
References llvm::BitmaskEnumDetail::Mask().
|
inline |
Returns the current sub-register index.
Definition at line 1044 of file TargetRegisterInfo.h.
References SubReg.
|
inline |
Returns true if this iterator is still pointing at a valid entry.
Definition at line 1041 of file TargetRegisterInfo.h.
Referenced by llvm::TargetLoweringBase::findRepresentativeClass(), llvm::TargetRegisterInfo::getCommonSuperRegClass(), and llvm::TargetRegisterInfo::getMatchingSuperRegClass().
|
inline |
Advance iterator to the next entry.
Definition at line 1052 of file TargetRegisterInfo.h.
References assert().