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

/external/llvm/include/llvm/CodeGen/
H A DRegisterPressure.h101 uint16_t PSetID; // ID+1. 0=Invalid. member in class:llvm::PressureChange
104 PressureChange(): PSetID(0), UnitInc(0) {}
105 PressureChange(unsigned id): PSetID(id+1), UnitInc(0) {
106 assert(id < UINT16_MAX && "PSetID overflow.");
109 bool isValid() const { return PSetID > 0; }
113 return PSetID - 1;
115 // If PSetID is invalid, return UINT16_MAX to give it lowest priority.
116 unsigned getPSetOrMax() const { return (PSetID - 1) & UINT16_MAX; }
123 return PSetID == RHS.PSetID
[all...]
/external/llvm/lib/CodeGen/
H A DRegisterClassInfo.cpp159 const int *PSetID = TRI->getRegClassPressureSets(*RI); local
160 for (; *PSetID != -1; ++PSetID) {
161 if ((unsigned)*PSetID == Idx)
164 if (*PSetID == -1)
H A DRegisterPressure.cpp833 unsigned PSetID = PDiffI->getPSet(); local
834 unsigned Limit = RCI->getRegPressureSetLimit(PSetID);
836 Limit += LiveThruPressure[PSetID];
838 unsigned POld = CurrSetPressure[PSetID];
839 unsigned MOld = P.MaxSetPressure[PSetID];
854 Delta.Excess = PressureChange(PSetID);
862 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID)
865 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) {
868 Delta.CriticalMax = PressureChange(PSetID);
874 if (!Delta.CurrentMax.isValid() && MNew > MaxPressureLimit[PSetID]) {
[all...]

Completed in 575 milliseconds