LLVM
8.0.1
|
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 (unsigned Reg, const MCRegisterInfo *MCRI) | |
Constructs an iterator that traverses the register units and their associated LaneMasks in Reg. More... | |
std::pair< unsigned, LaneBitmask > | operator* () const |
Returns a (RegUnit, LaneMask) pair. More... | |
bool | isValid () const |
Returns true if this iterator is not yet at the end. More... | |
void | operator++ () |
Moves to the next position. More... | |
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 595 of file MCRegisterInfo.h.
|
default |
|
inline |
Constructs an iterator that traverses the register units and their associated LaneMasks in Reg.
Definition at line 604 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::get(), and llvm::MCRegisterDesc::RegUnitLaneMasks.
|
inline |
Returns true if this iterator is not yet at the end.
Definition at line 616 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::DiffListIterator::isValid().
Referenced by foreachUnit(), llvm::rdf::PhysicalRegisterInfo::getAliasSet(), llvm::rdf::RegisterAggr::hasAliasOf(), llvm::rdf::RegisterAggr::hasCoverOf(), and llvm::rdf::RegisterAggr::insert().
|
inline |
Returns a (RegUnit, LaneMask) pair.
Definition at line 611 of file MCRegisterInfo.h.
|
inline |
Moves to the next position.
Definition at line 619 of file MCRegisterInfo.h.