LLVM  8.0.1
Public Member Functions | List of all members
llvm::MCRegAliasIterator Class Reference

MCRegAliasIterator enumerates all registers aliasing Reg. More...

#include "llvm/MC/MCRegisterInfo.h"

Public Member Functions

 MCRegAliasIterator (unsigned Reg, const MCRegisterInfo *MCRI, bool IncludeSelf)
 
bool isValid () const
 
unsigned operator* () const
 
void advance ()
 
void operator++ ()
 

Detailed Description

MCRegAliasIterator enumerates all registers aliasing Reg.

If IncludeSelf is set, Reg itself is included in the list. This iterator does not guarantee any ordering or that entries are unique.

Definition at line 669 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

◆ MCRegAliasIterator()

llvm::MCRegAliasIterator::MCRegAliasIterator ( unsigned  Reg,
const MCRegisterInfo MCRI,
bool  IncludeSelf 
)
inline

Member Function Documentation

◆ advance()

void llvm::MCRegAliasIterator::advance ( )
inline

◆ isValid()

bool llvm::MCRegAliasIterator::isValid ( ) const
inline

Definition at line 694 of file MCRegisterInfo.h.

References llvm::MCRegisterInfo::DiffListIterator::isValid().

Referenced by addLiveInRegs(), llvm::ScheduleDAGInstrs::addPhysRegDataDeps(), llvm::ScheduleDAGInstrs::addPhysRegDeps(), addRegAndItsAliases(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), AnyAliasLiveIn(), llvm::HexagonSubtarget::CallMutation::apply(), llvm::calculateDbgEntityHistory(), CheckForLiveRegDef(), collectChangingRegs(), llvm::createLanaiDelaySlotFillerPass(), llvm::createRegUsageInfoCollector(), llvm::createSparcDelaySlotFillerPass(), CriticalPathStep(), llvm::MachineRegisterInfo::disableCalleeSavedRegister(), findDeadCallerSavedReg(), findHoistingInsertPosAndDeps(), llvm::rdf::PhysicalRegisterInfo::getAliasSet(), llvm::RegScavenger::getRegsAvailable(), llvm::SparcRegisterInfo::getReservedRegs(), llvm::X86RegisterInfo::getReservedRegs(), llvm::CCState::HandleByVal(), INITIALIZE_PASS(), InstructionStoresToFI(), isCallerPreservedOrConstPhysReg(), llvm::MachineRegisterInfo::isConstantPhysReg(), llvm::MachineRegisterInfo::isPhysRegModified(), llvm::MachineRegisterInfo::isPhysRegUsed(), llvm::CCState::IsShadowAllocatedReg(), needToReserveScavengingSpillSlots(), llvm::HexagonMCChecker::reportBranchErrors(), llvm::AMDGPURegisterInfo::reserveRegisterTuples(), llvm::R600RegisterInfo::reserveRegisterTuples(), llvm::rdf::Liveness::resetKills(), llvm::RegisterClassInfo::runOnMachineFunction(), llvm::ExecutionDomainFix::runOnMachineFunction(), llvm::RegScavenger::scavengeRegister(), setAliasRegs(), llvm::X86FrameLowering::spillCalleeSavedRegisters(), llvm::CriticalAntiDepBreaker::StartBlock(), and llvm::AggressiveAntiDepBreaker::StartBlock().

◆ operator*()

unsigned llvm::MCRegAliasIterator::operator* ( ) const
inline

Definition at line 696 of file MCRegisterInfo.h.

References assert(), llvm::MCRegisterInfo::DiffListIterator::isValid(), and SI.

◆ operator++()

void llvm::MCRegAliasIterator::operator++ ( )
inline

Definition at line 719 of file MCRegisterInfo.h.

References assert().


The documentation for this class was generated from the following file: