|
LLVM
4.0.0
|
List of PressureChanges in order of increasing, unique PSetID. More...
#include <RegisterPressure.h>
Public Types | |
| typedef const PressureChange * | const_iterator |
Public Member Functions | |
| const_iterator | begin () const |
| const_iterator | end () const |
| void | addPressureChange (unsigned RegUnit, bool IsDec, const MachineRegisterInfo *MRI) |
| Add a change in pressure to the pressure diff of a given instruction. More... | |
| LLVM_DUMP_METHOD void | dump (const TargetRegisterInfo &TRI) const |
List of PressureChanges in order of increasing, unique PSetID.
Use a small fixed number, because we can fit more PressureChanges in an empty SmallVector than ever need to be tracked per register class. If more PSets are affected, then we only track the most constrained.
Definition at line 129 of file RegisterPressure.h.
Definition at line 142 of file RegisterPressure.h.
| void PressureDiff::addPressureChange | ( | unsigned | RegUnit, |
| bool | IsDec, | ||
| const MachineRegisterInfo * | MRI | ||
| ) |
Add a change in pressure to the pressure diff of a given instruction.
Definition at line 628 of file RegisterPressure.cpp.
References E, llvm::MachineRegisterInfo::getPressureSets(), llvm::PressureChange::getPSet(), llvm::PressureChange::getUnitInc(), llvm::PSetIterator::getWeight(), I, llvm::PressureChange::isValid(), llvm::PSetIterator::isValid(), llvm::PressureChange::setUnitInc(), and std::swap().
Referenced by llvm::PressureDiffs::addInstruction(), and llvm::ScheduleDAGMILive::updatePressureDiffs().
|
inline |
Definition at line 143 of file RegisterPressure.h.
Referenced by llvm::PressureDiffs::addInstruction(), llvm::RegPressureTracker::getUpwardPressureDelta(), and llvm::ScheduleDAGMILive::updateScheduledPressure().
| void PressureDiff::dump | ( | const TargetRegisterInfo & | TRI | ) | const |
Definition at line 100 of file RegisterPressure.cpp.
References llvm::dbgs(), llvm::PressureChange::getPSet(), llvm::TargetRegisterInfo::getRegPressureSetName(), llvm::PressureChange::getUnitInc(), and llvm::PressureChange::isValid().
Referenced by llvm::RegPressureTracker::getMaxUpwardPressureDelta(), llvm::ScheduleDAGMILive::schedule(), and llvm::ScheduleDAGMILive::updatePressureDiffs().
|
inline |
Definition at line 144 of file RegisterPressure.h.
Referenced by llvm::RegPressureTracker::getUpwardPressureDelta(), and llvm::ScheduleDAGMILive::updateScheduledPressure().
1.8.6