LLVM  14.0.0git
Public Member Functions | List of all members
llvm::MCRegUnitRootIterator Class Reference

MCRegUnitRootIterator enumerates the root registers of a register unit. More...

#include "llvm/MC/MCRegisterInfo.h"

Public Member Functions

 MCRegUnitRootIterator ()=default
 
 MCRegUnitRootIterator (unsigned RegUnit, const MCRegisterInfo *MCRI)
 
unsigned operator* () const
 Dereference to get the current root register. More...
 
bool isValid () const
 Check if the iterator is at the end of the list. More...
 
void operator++ ()
 Preincrement to move to the next root register. More...
 

Detailed Description

MCRegUnitRootIterator enumerates the root registers of a register unit.

Definition at line 746 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

◆ MCRegUnitRootIterator() [1/2]

llvm::MCRegUnitRootIterator::MCRegUnitRootIterator ( )
default

◆ MCRegUnitRootIterator() [2/2]

llvm::MCRegUnitRootIterator::MCRegUnitRootIterator ( unsigned  RegUnit,
const MCRegisterInfo MCRI 
)
inline

Definition at line 753 of file MCRegisterInfo.h.

References assert().

Member Function Documentation

◆ isValid()

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

◆ operator*()

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

Dereference to get the current root register.

Definition at line 760 of file MCRegisterInfo.h.

◆ operator++()

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

Preincrement to move to the next root register.

Definition at line 770 of file MCRegisterInfo.h.

References assert(), and isValid().


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