LLVM 19.0.0git
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 (MCRegister Reg, const MCRegisterInfo *MCRI, bool IncludeSelf)
bool isValid () const
MCRegister operator* () const
void advance ()
MCRegAliasIteratoroperator++ ()

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 723 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

◆ MCRegAliasIterator()

llvm::MCRegAliasIterator::MCRegAliasIterator ( MCRegister  Reg,
const MCRegisterInfo MCRI,
bool  IncludeSelf 

Member Function Documentation

◆ advance()

void llvm::MCRegAliasIterator::advance ( )

◆ isValid()

bool llvm::MCRegAliasIterator::isValid ( ) const

◆ operator*()

MCRegister llvm::MCRegAliasIterator::operator* ( ) const

Definition at line 750 of file MCRegisterInfo.h.

References assert().

◆ operator++()

MCRegAliasIterator & llvm::MCRegAliasIterator::operator++ ( )

Definition at line 773 of file MCRegisterInfo.h.

References advance(), assert(), and isValid().

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