LLVM
8.0.1
|
This class encapuslates the logic to iterate over bitmask returned by the various RegClass related APIs. More...
#include "llvm/CodeGen/TargetRegisterInfo.h"
Public Member Functions | |
BitMaskClassIterator (const uint32_t *Mask, const TargetRegisterInfo &TRI) | |
Create a BitMaskClassIterator that visits all the register classes represented by Mask . More... | |
bool | isValid () const |
Returns true if this iterator is still pointing at a valid entry. More... | |
unsigned | getID () const |
Returns the current register class ID. More... | |
void | operator++ () |
Advance iterator to the next entry. More... | |
This class encapuslates the logic to iterate over bitmask returned by the various RegClass related APIs.
E.g., this class can be used to iterate over the subclasses provided by TargetRegisterClass::getSubClassMask or SuperRegClassIterator::getMask.
Definition at line 1068 of file TargetRegisterInfo.h.
|
inline |
Create a BitMaskClassIterator that visits all the register classes represented by Mask
.
Mask
!= nullptr Definition at line 1132 of file TargetRegisterInfo.h.
|
inline |
Returns the current register class ID.
Definition at line 1142 of file TargetRegisterInfo.h.
|
inline |
Returns true if this iterator is still pointing at a valid entry.
Definition at line 1139 of file TargetRegisterInfo.h.
References llvm::TargetRegisterClass::getID().
Referenced by llvm::TargetRegisterInfo::getAllocatableClass().
|
inline |
Advance iterator to the next entry.
Definition at line 1145 of file TargetRegisterInfo.h.
References assert().