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

MCRegUnitMaskIterator enumerates a list of register units and their associated lane masks for Reg. More...

#include <MCRegisterInfo.h>

Public Member Functions

 MCRegUnitMaskIterator ()
 
 MCRegUnitMaskIterator (unsigned Reg, const MCRegisterInfo *MCRI)
 Constructs an iterator that traverses the register units and their associated LaneMasks in Reg. More...
 
std::pair< unsigned, LaneBitmaskoperator* () const
 Returns a (RegUnit, LaneMask) pair. More...
 
bool isValid () const
 Returns true if this iterator is not yet at the end. More...
 
void operator++ ()
 Moves to the next position. More...
 

Detailed Description

MCRegUnitMaskIterator enumerates a list of register units and their associated lane masks for Reg.

The register units are in ascending numerical order.

Definition at line 586 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

llvm::MCRegUnitMaskIterator::MCRegUnitMaskIterator ( )
inline

Definition at line 590 of file MCRegisterInfo.h.

llvm::MCRegUnitMaskIterator::MCRegUnitMaskIterator ( unsigned  Reg,
const MCRegisterInfo MCRI 
)
inline

Constructs an iterator that traverses the register units and their associated LaneMasks in Reg.

Definition at line 593 of file MCRegisterInfo.h.

References llvm::MCRegisterInfo::get(), and llvm::MCRegisterDesc::RegUnitLaneMasks.

Member Function Documentation

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

Returns true if this iterator is not yet at the end.

Definition at line 605 of file MCRegisterInfo.h.

References llvm::MCRegisterInfo::DiffListIterator::isValid().

Referenced by llvm::rdf::DataFlowGraph::alias(), foreachUnit(), and llvm::RegScavenger::setRegUsed().

std::pair<unsigned,LaneBitmask> llvm::MCRegUnitMaskIterator::operator* ( ) const
inline

Returns a (RegUnit, LaneMask) pair.

Definition at line 600 of file MCRegisterInfo.h.

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

Moves to the next position.

Definition at line 608 of file MCRegisterInfo.h.


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