LLVM 17.0.0git
|
#include "llvm/MC/MCRegisterInfo.h"
Public Member Functions | |
MCRegUnitIterator ()=default | |
MCRegUnitIterator - Create an iterator that traverses the register units in Reg. | |
MCRegUnitIterator (MCRegister Reg, const MCRegisterInfo *MCRI) | |
MCRegUnitIterator & | operator++ () |
![]() | |
bool | isValid () const |
isValid - returns true if this iterator is not yet at the end. | |
MCRegister | operator* () const |
Dereference the iterator to get the value at the current position. | |
void | operator++ () |
Pre-increment to move to the next position. | |
Additional Inherited Members | |
![]() | |
DiffListIterator ()=default | |
Create an invalid iterator. Call init() to point to something useful. | |
void | init (MCPhysReg InitVal, const MCPhysReg *DiffList) |
init - Point the iterator to InitVal, decoding subsequent values from DiffList. | |
MCRegister | advance () |
advance - Move to the next list position, return the applied differential. | |
Definition at line 677 of file MCRegisterInfo.h.
|
default |
MCRegUnitIterator - Create an iterator that traverses the register units in Reg.
|
inline |
Definition at line 683 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::DiffListIterator::advance(), assert(), llvm::MCRegisterInfo::get(), llvm::MCRegisterInfo::DiffListIterator::init(), llvm::MCRegister::isPhysicalRegister(), llvm::Offset, Reg, and llvm::MCRegisterDesc::RegUnits.
|
inline |
Definition at line 702 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::DiffListIterator::operator++().