LLVM  8.0.1
Public Member Functions | List of all members
llvm::MCSuperRegIterator Class Reference

MCSuperRegIterator enumerates all super-registers of Reg. More...

#include "llvm/MC/MCRegisterInfo.h"

Inheritance diagram for llvm::MCSuperRegIterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::MCSuperRegIterator:
Collaboration graph
[legend]

Public Member Functions

 MCSuperRegIterator ()=default
 
 MCSuperRegIterator (unsigned Reg, const MCRegisterInfo *MCRI, bool IncludeSelf=false)
 
- Public Member Functions inherited from llvm::MCRegisterInfo::DiffListIterator
bool isValid () const
 isValid - returns true if this iterator is not yet at the end. More...
 
unsigned operator* () const
 Dereference the iterator to get the value at the current position. More...
 
void operator++ ()
 Pre-increment to move to the next position. More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::MCRegisterInfo::DiffListIterator
 DiffListIterator ()=default
 Create an invalid iterator. Call init() to point to something useful. More...
 
void init (MCPhysReg InitVal, const MCPhysReg *DiffList)
 init - Point the iterator to InitVal, decoding subsequent values from DiffList. More...
 
unsigned advance ()
 advance - Move to the next list position, return the applied differential. More...
 

Detailed Description

MCSuperRegIterator enumerates all super-registers of Reg.

If IncludeSelf is set, Reg itself is included in the list.

Definition at line 531 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

◆ MCSuperRegIterator() [1/2]

llvm::MCSuperRegIterator::MCSuperRegIterator ( )
default

◆ MCSuperRegIterator() [2/2]

llvm::MCSuperRegIterator::MCSuperRegIterator ( unsigned  Reg,
const MCRegisterInfo MCRI,
bool  IncludeSelf = false 
)
inline

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