LLVM 17.0.0git
|
MCSuperRegIterator enumerates all super-registers of Reg. More...
#include "llvm/MC/MCRegisterInfo.h"
Public Member Functions | |
MCSuperRegIterator ()=default | |
MCSuperRegIterator (MCRegister Reg, const MCRegisterInfo *MCRI, bool IncludeSelf=false) | |
![]() | |
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. | |
MCSuperRegIterator enumerates all super-registers of Reg.
If IncludeSelf is set, Reg itself is included in the list.
Definition at line 644 of file MCRegisterInfo.h.
|
default |
|
inline |
Definition at line 648 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::get(), llvm::MCRegisterInfo::DiffListIterator::init(), Reg, and llvm::MCRegisterDesc::SuperRegs.