LLVM  6.0.0svn
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 666 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 691 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::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::calculateDbgValueHistory(), CheckForLiveRegDef(), collectChangingRegs(), llvm::MachineBasicBlock::computeRegisterLiveness(), llvm::X86InstrInfo::copyPhysReg(), 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(), llvm::MachineRegisterInfo::isConstantPhysReg(), llvm::MachineRegisterInfo::isPhysRegModified(), llvm::MachineRegisterInfo::isPhysRegUsed(), llvm::CCState::IsShadowAllocatedReg(), needToReserveScavengingSpillSlots(), llvm::rdf::Liveness::resetKills(), llvm::RegisterClassInfo::runOnMachineFunction(), llvm::ExecutionDepsFix::runOnMachineFunction(), llvm::RegScavenger::scavengeRegister(), setAliasRegs(), llvm::SIRegisterInfo::SIRegisterInfo(), llvm::X86FrameLowering::spillCalleeSavedRegisters(), llvm::CriticalAntiDepBreaker::StartBlock(), llvm::AggressiveAntiDepBreaker::StartBlock(), and trackRegDefsUses().

◆ operator*()

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

Definition at line 693 of file MCRegisterInfo.h.

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

◆ operator++()

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

Definition at line 716 of file MCRegisterInfo.h.

References assert().


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