LLVM 20.0.0git
|
MCRegUnitMaskIterator enumerates a list of register units and their associated lane masks for Reg. More...
#include "llvm/MC/MCRegisterInfo.h"
Public Member Functions | |
MCRegUnitMaskIterator ()=default | |
MCRegUnitMaskIterator (MCRegister Reg, const MCRegisterInfo *MCRI) | |
Constructs an iterator that traverses the register units and their associated LaneMasks in Reg. | |
std::pair< unsigned, LaneBitmask > | operator* () const |
Returns a (RegUnit, LaneMask) pair. | |
bool | isValid () const |
Returns true if this iterator is not yet at the end. | |
MCRegUnitMaskIterator & | operator++ () |
Moves to the next position. | |
MCRegUnitMaskIterator enumerates a list of register units and their associated lane masks for Reg.
The register units are in ascending numerical order.
Definition at line 659 of file MCRegisterInfo.h.
|
default |
|
inline |
Constructs an iterator that traverses the register units and their associated LaneMasks in Reg.
Definition at line 668 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::get(), Idx, Reg, and llvm::MCRegisterDesc::RegUnitLaneMasks.
|
inline |
Returns true if this iterator is not yet at the end.
Definition at line 680 of file MCRegisterInfo.h.
References llvm::MCRegUnitIterator::isValid().
Referenced by llvm::rdf::PhysicalRegisterInfo::equal_to(), foreachUnit(), llvm::rdf::PhysicalRegisterInfo::getUnits(), and llvm::rdf::PhysicalRegisterInfo::less().
|
inline |
Returns a (RegUnit, LaneMask) pair.
Definition at line 675 of file MCRegisterInfo.h.
|
inline |
Moves to the next position.
Definition at line 683 of file MCRegisterInfo.h.