LLVM 17.0.0git
Public Member Functions | List of all members
llvm::MCSubRegIterator Class Reference

MCSubRegIterator enumerates all sub-registers of Reg. More...

#include "llvm/MC/MCRegisterInfo.h"

Inheritance diagram for llvm::MCSubRegIterator:
Inheritance graph
[legend]

Public Member Functions

 MCSubRegIterator (MCRegister 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.
 
MCRegister operator* () const
 Dereference the iterator to get the value at the current position.
 
void operator++ ()
 Pre-increment to move to the next position.
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::MCRegisterInfo::DiffListIterator
 DiffListIterator ()=default
 Create an invalid iterator. Call init() to point to something useful.
 
void init (unsigned InitVal, const int16_t *DiffList)
 Point the iterator to InitVal, decoding subsequent values from DiffList.
 

Detailed Description

MCSubRegIterator enumerates all sub-registers of Reg.

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

Definition at line 582 of file MCRegisterInfo.h.

Constructor & Destructor Documentation

◆ MCSubRegIterator()

llvm::MCSubRegIterator::MCSubRegIterator ( MCRegister  Reg,
const MCRegisterInfo MCRI,
bool  IncludeSelf = false 
)
inline

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