LLVM 22.0.0git
llvm::MCSuperRegIterator Class Reference

MCSuperRegIterator enumerates all super-registers of Reg. More...

#include "llvm/MC/MCRegisterInfo.h"

Inheritance diagram for llvm::MCSuperRegIterator:
[legend]

Public Member Functions

 MCSuperRegIterator ()=default
 Constructs an end iterator.
 MCSuperRegIterator (MCRegister Reg, const MCRegisterInfo *MCRI, bool IncludeSelf=false)
const MCPhysRegoperator* () const
MCSuperRegIteratoroperator++ ()
bool isValid () const
 Returns true if this iterator is not yet at the end.
Public Member Functions inherited from llvm::iterator_adaptor_base< MCSuperRegIterator, MCRegisterInfo::DiffListIterator, std::forward_iterator_tag, const MCPhysReg >
MCSuperRegIteratoroperator+= (difference_type n)
MCSuperRegIteratoroperator-= (difference_type n)
difference_type operator- (const MCSuperRegIterator &RHS) const
MCSuperRegIteratoroperator++ ()
MCSuperRegIteratoroperator-- ()
std::conditional_t< std::is_same< const MCPhysReg, typename std::iterator_traits< MCRegisterInfo::DiffListIterator >::value_type >::value, typename std::iterator_traits< MCRegisterInfo::DiffListIterator >::reference, const MCPhysReg & > operator* () const
Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
DerivedT operator- (DifferenceTypeT n) const
DerivedT & operator++ ()
DerivedT operator++ (int)
DerivedT & operator-- ()
DerivedT operator-- (int)
bool operator!= (const DerivedT &RHS) const
bool operator> (const DerivedT &RHS) const
bool operator<= (const DerivedT &RHS) const
bool operator>= (const DerivedT &RHS) const
PointerProxy operator-> () const
ReferenceProxy operator[] (DifferenceTypeT n) const

Additional Inherited Members

Public Types inherited from llvm::iterator_adaptor_base< MCSuperRegIterator, MCRegisterInfo::DiffListIterator, std::forward_iterator_tag, const MCPhysReg >
using difference_type
Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
using value_type = T
using difference_type = DifferenceTypeT
using pointer = PointerT
using reference = ReferenceT
Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
Protected Member Functions inherited from llvm::iterator_adaptor_base< MCSuperRegIterator, MCRegisterInfo::DiffListIterator, std::forward_iterator_tag, const MCPhysReg >
 iterator_adaptor_base ()=default
const MCRegisterInfo::DiffListIterator & wrapped () const
Protected Attributes inherited from llvm::iterator_adaptor_base< MCSuperRegIterator, MCRegisterInfo::DiffListIterator, std::forward_iterator_tag, const MCPhysReg >
MCRegisterInfo::DiffListIterator I

Detailed Description

MCSuperRegIterator enumerates all super-registers of Reg.

If IncludeSelf is set, Reg itself is included in the list.

Definition at line 591 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

◆ MCSuperRegIterator() [1/2]

llvm::MCSuperRegIterator::MCSuperRegIterator ( )
default

Constructs an end iterator.

Referenced by operator++().

◆ MCSuperRegIterator() [2/2]

Member Function Documentation

◆ isValid()

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

◆ operator*()

const MCPhysReg & llvm::MCSuperRegIterator::operator* ( ) const
inline

Definition at line 612 of file MCRegisterInfo.h.

◆ operator++()


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