LLVM  4.0.0
Public Member Functions | List of all members
llvm::SuperRegClassIterator Class Reference

#include <TargetRegisterInfo.h>

Public Member Functions

 SuperRegClassIterator (const TargetRegisterClass *RC, const TargetRegisterInfo *TRI, bool IncludeSelf=false)
 Create a SuperRegClassIterator that visits all the super-register classes of RC. More...
 
bool isValid () const
 Returns true if this iterator is still pointing at a valid entry. More...
 
unsigned getSubReg () const
 Returns the current sub-register index. More...
 
const uint32_tgetMask () const
 Returns the bit mask of register classes that getSubReg() projects into RC. More...
 
void operator++ ()
 Advance iterator to the next entry. More...
 

Detailed Description

Definition at line 961 of file TargetRegisterInfo.h.

Constructor & Destructor Documentation

llvm::SuperRegClassIterator::SuperRegClassIterator ( const TargetRegisterClass RC,
const TargetRegisterInfo TRI,
bool  IncludeSelf = false 
)
inline

Create a SuperRegClassIterator that visits all the super-register classes of RC.

When IncludeSelf is set, also include the (0, sub-classes) entry.

Definition at line 970 of file TargetRegisterInfo.h.

Member Function Documentation

const uint32_t* llvm::SuperRegClassIterator::getMask ( ) const
inline

Returns the bit mask of register classes that getSubReg() projects into RC.

See TargetRegisterClass::getSubClassMask() for how to use it.

Definition at line 990 of file TargetRegisterInfo.h.

unsigned llvm::SuperRegClassIterator::getSubReg ( ) const
inline

Returns the current sub-register index.

Definition at line 985 of file TargetRegisterInfo.h.

bool llvm::SuperRegClassIterator::isValid ( ) const
inline
void llvm::SuperRegClassIterator::operator++ ( )
inline

Advance iterator to the next entry.

Definition at line 993 of file TargetRegisterInfo.h.

References assert(), and isValid().


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