LLVM 20.0.0git
|
Iterator that enumerates the sub-registers of a Reg and the associated sub-register indices. More...
#include "llvm/MC/MCRegisterInfo.h"
Public Member Functions | |
MCSubRegIndexIterator (MCRegister Reg, const MCRegisterInfo *MCRI) | |
Constructs an iterator that traverses subregisters and their associated subregister indices. | |
MCRegister | getSubReg () const |
Returns current sub-register. | |
unsigned | getSubRegIndex () const |
Returns sub-register index of the current sub-register. | |
bool | isValid () const |
Returns true if this iterator is not yet at the end. | |
MCSubRegIndexIterator & | operator++ () |
Moves to the next position. | |
Iterator that enumerates the sub-registers of a Reg and the associated sub-register indices.
Definition at line 555 of file MCRegisterInfo.h.
|
inline |
Constructs an iterator that traverses subregisters and their associated subregister indices.
Definition at line 562 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::get(), Reg, and llvm::MCRegisterDesc::SubRegIndices.
|
inline |
Returns current sub-register.
Definition at line 568 of file MCRegisterInfo.h.
Referenced by llvm::rdf::Liveness::resetKills().
|
inline |
Returns sub-register index of the current sub-register.
Definition at line 573 of file MCRegisterInfo.h.
Referenced by llvm::rdf::Liveness::resetKills().
|
inline |
Returns true if this iterator is not yet at the end.
Definition at line 578 of file MCRegisterInfo.h.
References llvm::MCSubRegIterator::isValid().
Referenced by llvm::rdf::Liveness::resetKills(), and llvm::rdf::CopyPropagation::run().
|
inline |
Moves to the next position.
Definition at line 581 of file MCRegisterInfo.h.