HomeSort by relevance Sort by last modified time
    Searched refs:PSetID (Results 1 - 3 of 3) sorted by null

  /external/llvm/include/llvm/CodeGen/
RegisterPressure.h 101 uint16_t PSetID; // ID+1. 0=Invalid.
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 && UnitInc == RHS.UnitInc
    [all...]
  /external/llvm/lib/CodeGen/
RegisterClassInfo.cpp 159 const int *PSetID = TRI->getRegClassPressureSets(*RI);
160 for (; *PSetID != -1; ++PSetID) {
161 if ((unsigned)*PSetID == Idx)
164 if (*PSetID == -1)
RegisterPressure.cpp 833 unsigned PSetID = PDiffI->getPSet();
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 136 milliseconds