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

Iterate over the pressure sets affected by the given physical or virtual register. More...

#include "llvm/CodeGen/MachineRegisterInfo.h"

Public Member Functions

 PSetIterator ()=default
 
 PSetIterator (unsigned RegUnit, const MachineRegisterInfo *MRI)
 
bool isValid () const
 
unsigned getWeight () const
 
unsigned operator* () const
 
void operator++ ()
 

Detailed Description

Iterate over the pressure sets affected by the given physical or virtual register.

If Reg is physical, it must be a register unit (from MCRegUnitIterator).

Definition at line 1154 of file MachineRegisterInfo.h.

Constructor & Destructor Documentation

◆ PSetIterator() [1/2]

llvm::PSetIterator::PSetIterator ( )
default

◆ PSetIterator() [2/2]

llvm::PSetIterator::PSetIterator ( unsigned  RegUnit,
const MachineRegisterInfo MRI 
)
inline

Member Function Documentation

◆ getWeight()

unsigned llvm::PSetIterator::getWeight ( ) const
inline

◆ isValid()

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

◆ operator*()

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

Definition at line 1180 of file MachineRegisterInfo.h.

◆ operator++()

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

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