llvm::MCSubRegIterator

MCSubRegIterator enumerates all sub-registers of Reg. If IncludeSelf is set, Reg itself is included in the list.

Synopsis

Declared in <llvm/MC/MCRegisterInfo.h>

class MCSubRegIterator
    : public iterator_adaptor_base<MCSubRegIterator, MCRegisterInfo::DiffListIterator, std::forward_iterator_tag, MCPhysReg const>

Base Classes

NameDescription
iterator_adaptor_base<MCSubRegIterator, MCRegisterInfo::DiffListIterator, std::forward_iterator_tag, MCPhysReg const>CRTP base class for adapting an iterator to a different type.

Type Aliases

NameDescription
difference_type Signed type used to express the distance between iterators.

Member Functions

NameDescription
MCSubRegIterator [constructor]Constructors
isValid Returns true if this iterator is not yet at the end.
operator* Dereference to get the current sub-register.
operator++ Pre-increment to move to the next sub-register.
operator+= Advance the wrapped iterator by n.
operator- Return the distance between this iterator and RHS.
operator-- Pre-decrement the wrapped iterator.
operator-= Retreat the wrapped iterator by n.

Using Declarations

NameDescription
operator++ Bring the postfix increment operator into scope.
operator- Bring the offset-subtraction operator from the facade into scope.
operator-- Bring the postfix decrement operator into scope.

Protected Member Functions

NameDescription
wrapped Return the wrapped underlying iterator.

Protected Data Members

NameDescription
I Wrapped underlying iterator.

Non-Member Functions

NameDescription
operator+Return an iterator n positions after i.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator<Compare two adapted iterators for order.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.
operator==Return true if LHS and RHS wrap equal iterators.