LLVM
8.0.1
|
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 (unsigned Reg, const MCRegisterInfo *MCRI) | |
Constructs an iterator that traverses subregisters and their associated subregister indices. More... | |
unsigned | getSubReg () const |
Returns current sub-register. More... | |
unsigned | getSubRegIndex () const |
Returns sub-register index of the current sub-register. More... | |
bool | isValid () const |
Returns true if this iterator is not yet at the end. More... | |
void | operator++ () |
Moves to the next position. More... | |
Iterator that enumerates the sub-registers of a Reg and the associated sub-register indices.
Definition at line 497 of file MCRegisterInfo.h.
|
inline |
Constructs an iterator that traverses subregisters and their associated subregister indices.
Definition at line 504 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::get(), and llvm::MCRegisterDesc::SubRegIndices.
|
inline |
Returns current sub-register.
Definition at line 510 of file MCRegisterInfo.h.
Referenced by llvm::LivePhysRegs::available(), and llvm::rdf::Liveness::resetKills().
|
inline |
Returns sub-register index of the current sub-register.
Definition at line 515 of file MCRegisterInfo.h.
Referenced by llvm::LivePhysRegs::available(), llvm::HexagonBlockRanges::HexagonBlockRanges(), and llvm::rdf::Liveness::resetKills().
|
inline |
Returns true if this iterator is not yet at the end.
Definition at line 520 of file MCRegisterInfo.h.
References llvm::MCRegisterInfo::DiffListIterator::isValid().
Referenced by llvm::LivePhysRegs::available(), llvm::HexagonBlockRanges::expandToSubRegs(), llvm::HexagonBlockRanges::HexagonBlockRanges(), llvm::rdf::Liveness::resetKills(), and llvm::rdf::CopyPropagation::run().
|
inline |
Moves to the next position.
Definition at line 523 of file MCRegisterInfo.h.