LLVM 20.0.0git
|
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 (Register RegUnit, const MachineRegisterInfo *MRI) | |
bool | isValid () const |
unsigned | getWeight () const |
unsigned | operator* () const |
void | operator++ () |
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 1246 of file MachineRegisterInfo.h.
|
default |
|
inline |
Definition at line 1253 of file MachineRegisterInfo.h.
References llvm::Register::isVirtual(), MRI, and TRI.
|
inline |
Definition at line 1269 of file MachineRegisterInfo.h.
Referenced by llvm::PressureDiff::addPressureChange(), decreaseSetPressure(), llvm::SIScheduleDAGMI::fillVgprSgprCost(), llvm::RegPressureTracker::increaseRegPressure(), and increaseSetPressure().
|
inline |
Definition at line 1267 of file MachineRegisterInfo.h.
Referenced by llvm::PressureDiff::addPressureChange(), decreaseSetPressure(), llvm::SIScheduleDAGMI::fillVgprSgprCost(), llvm::RegPressureTracker::increaseRegPressure(), increaseSetPressure(), and operator++().
|
inline |
Definition at line 1271 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1273 of file MachineRegisterInfo.h.