class PressureChange
Declaration
class PressureChange { /* full declaration omitted */ };
Description
Capture a change in pressure for a single pressure set. UnitInc may be expressed in terms of upward or downward pressure depending on the client and will be dynamically adjusted for current liveness. Pressure increments are tiny, typically 1-2 units, and this is only for heuristics, so we don't check UnitInc overflow. Instead, we may have a higher level assert that pressure is consistent within a region. We also effectively ignore dead defs which don't affect heuristics much.
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:103
Method Overview
- public PressureChange()
- public PressureChange(unsigned int id)
- public void dump() const
- public unsigned int getPSet() const
- public unsigned int getPSetOrMax() const
- public int getUnitInc() const
- public bool isValid() const
- public void setUnitInc(int Inc)
Methods
¶PressureChange()
PressureChange()
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:108
¶PressureChange(unsigned int id)
PressureChange(unsigned int id)
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:109
Parameters
- unsigned int id
¶void dump() const
void dump() const
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:133
¶unsigned int getPSet() const
unsigned int getPSet() const
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:115
¶unsigned int getPSetOrMax() const
unsigned int getPSetOrMax() const
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:121
¶int getUnitInc() const
int getUnitInc() const
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:125
¶bool isValid() const
bool isValid() const
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:113
¶void setUnitInc(int Inc)
void setUnitInc(int Inc)
Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:127
Parameters
- int Inc