LLVM
8.0.1
|
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++ () |
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.
|
default |
|
inline |
Definition at line 1161 of file MachineRegisterInfo.h.
References llvm::MachineRegisterInfo::getRegClass(), llvm::TargetRegisterInfo::getRegClassPressureSets(), llvm::TargetRegisterInfo::getRegClassWeight(), llvm::TargetRegisterInfo::getRegUnitPressureSets(), llvm::TargetRegisterInfo::getRegUnitWeight(), llvm::MachineRegisterInfo::getTargetRegisterInfo(), llvm::TargetRegisterInfo::isVirtualRegister(), and llvm::RegClassWeight::RegWeight.
|
inline |
|
inline |
Definition at line 1176 of file MachineRegisterInfo.h.
Referenced by llvm::PressureDiff::addPressureChange(), decreaseSetPressure(), llvm::RegPressureTracker::increaseRegPressure(), increaseSetPressure(), and llvm::SIScheduleBlockScheduler::SIScheduleBlockScheduler().
|
inline |
Definition at line 1180 of file MachineRegisterInfo.h.
|
inline |
Definition at line 1182 of file MachineRegisterInfo.h.
References assert(), and llvm::MachineRegisterInfo::getPressureSets().