Home
last modified time | relevance | path

Searched refs:PSetID (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DRegisterPressure.h86 uint16_t PSetID; // ID+1. 0=Invalid. variable
89 PressureChange(): PSetID(0), UnitInc(0) {} in PressureChange()
90 PressureChange(unsigned id): PSetID(id+1), UnitInc(0) { in PressureChange()
94 bool isValid() const { return PSetID > 0; } in isValid()
98 return PSetID - 1; in getPSet()
101 unsigned getPSetOrMax() const { return (PSetID - 1) & UINT16_MAX; } in getPSetOrMax()
108 return PSetID == RHS.PSetID && UnitInc == RHS.UnitInc;
/external/llvm/lib/CodeGen/
DRegisterClassInfo.cpp161 const int *PSetID = TRI->getRegClassPressureSets(*RI); in computePSetLimit() local
162 for (; *PSetID != -1; ++PSetID) { in computePSetLimit()
163 if ((unsigned)*PSetID == Idx) in computePSetLimit()
166 if (*PSetID == -1) in computePSetLimit()
DRegisterPressure.cpp834 unsigned PSetID = PDiffI->getPSet(); in getUpwardPressureDelta() local
835 unsigned Limit = RCI->getRegPressureSetLimit(PSetID); in getUpwardPressureDelta()
837 Limit += LiveThruPressure[PSetID]; in getUpwardPressureDelta()
839 unsigned POld = CurrSetPressure[PSetID]; in getUpwardPressureDelta()
840 unsigned MOld = P.MaxSetPressure[PSetID]; in getUpwardPressureDelta()
855 Delta.Excess = PressureChange(PSetID); in getUpwardPressureDelta()
863 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID) in getUpwardPressureDelta()
866 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) { in getUpwardPressureDelta()
869 Delta.CriticalMax = PressureChange(PSetID); in getUpwardPressureDelta()
875 if (!Delta.CurrentMax.isValid() && MNew > MaxPressureLimit[PSetID]) { in getUpwardPressureDelta()
[all …]