LLVM API Documentation
#include <RegisterPressure.h>
Public Member Functions | |
RegPressureDelta () | |
bool | operator== (const RegPressureDelta &RHS) const |
bool | operator!= (const RegPressureDelta &RHS) const |
Public Attributes | |
PressureChange | Excess |
PressureChange | CriticalMax |
PressureChange | CurrentMax |
Store the effects of a change in pressure on things that MI scheduler cares about.
Excess records the value of the largest difference in register units beyond the target's pressure limits across the affected pressure sets, where largest is defined as the absolute value of the difference. Negative ExcessUnits indicates a reduction in pressure that had already exceeded the target's limits.
CriticalMax records the largest increase in the tracker's max pressure that exceeds the critical limit for some pressure set determined by the client.
CurrentMax records the largest increase in the tracker's max pressure that exceeds the current limit for some pressure set determined by the client.
Definition at line 191 of file RegisterPressure.h.
llvm::RegPressureDelta::RegPressureDelta | ( | ) | [inline] |
Definition at line 196 of file RegisterPressure.h.
bool llvm::RegPressureDelta::operator!= | ( | const RegPressureDelta & | RHS | ) | const [inline] |
Definition at line 202 of file RegisterPressure.h.
References operator==().
bool llvm::RegPressureDelta::operator== | ( | const RegPressureDelta & | RHS | ) | const [inline] |
Definition at line 198 of file RegisterPressure.h.
References CriticalMax, CurrentMax, and Excess.
Referenced by operator!=().
Definition at line 193 of file RegisterPressure.h.
Referenced by computeMaxPressureDelta(), llvm::RegPressureTracker::getMaxDownwardPressureDelta(), llvm::RegPressureTracker::getMaxUpwardPressureDelta(), llvm::RegPressureTracker::getUpwardPressureDelta(), operator==(), llvm::ConvergingVLIWScheduler::SchedulingCost(), llvm::GenericSchedulerBase::traceCandidate(), and llvm::GenericScheduler::tryCandidate().
Definition at line 194 of file RegisterPressure.h.
Referenced by computeMaxPressureDelta(), llvm::RegPressureTracker::getMaxDownwardPressureDelta(), llvm::RegPressureTracker::getMaxUpwardPressureDelta(), llvm::RegPressureTracker::getUpwardPressureDelta(), operator==(), llvm::GenericSchedulerBase::traceCandidate(), and llvm::GenericScheduler::tryCandidate().
Definition at line 192 of file RegisterPressure.h.
Referenced by computeExcessPressureDelta(), llvm::RegPressureTracker::getMaxUpwardPressureDelta(), llvm::RegPressureTracker::getUpwardPressureDelta(), operator==(), llvm::ConvergingVLIWScheduler::SchedulingCost(), llvm::GenericSchedulerBase::traceCandidate(), and llvm::GenericScheduler::tryCandidate().