LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::MCRegUnitRootIterator Class Reference

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

#include <MCRegisterInfo.h>

Public Member Functions

 MCRegUnitRootIterator ()
 
 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 523 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

llvm::MCRegUnitRootIterator::MCRegUnitRootIterator ( )
inline

Definition at line 527 of file MCRegisterInfo.h.

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

Definition at line 528 of file MCRegisterInfo.h.

Member Function Documentation

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

Check if the iterator is at the end of the list.

Definition at line 540 of file MCRegisterInfo.h.

Referenced by llvm::MCRegAliasIterator::advance(), llvm::MCRegAliasIterator::MCRegAliasIterator(), operator++(), operClobbersUnit(), and llvm::PrintRegUnit::print().

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

Dereference to get the current root register.

Definition at line 535 of file MCRegisterInfo.h.

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

Preincrement to move to the next root register.

Definition at line 545 of file MCRegisterInfo.h.

References isValid().


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