Home
last modified time | relevance | path

Searched refs:CritIdx (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
DRegisterPressure.cpp672 unsigned CritIdx = 0, CritEnd = CriticalPSets.size(); in computeMaxPressureDelta() local
680 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < i) in computeMaxPressureDelta()
681 ++CritIdx; in computeMaxPressureDelta()
683 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == i) { in computeMaxPressureDelta()
684 int PDiff = (int)PNew - (int)CriticalPSets[CritIdx].getUnitInc(); in computeMaxPressureDelta()
696 if (CritIdx == CritEnd || Delta.CriticalMax.isValid()) in computeMaxPressureDelta()
829 unsigned CritIdx = 0, CritEnd = CriticalPSets.size(); in getUpwardPressureDelta() local
863 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID) in getUpwardPressureDelta()
864 ++CritIdx; in getUpwardPressureDelta()
866 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) { in getUpwardPressureDelta()
[all …]
DMachineScheduler.cpp930 unsigned CritIdx = 0, CritEnd = RegionCriticalPSets.size(); in updateScheduledPressure() local
936 while (CritIdx != CritEnd && RegionCriticalPSets[CritIdx].getPSet() < ID) in updateScheduledPressure()
937 ++CritIdx; in updateScheduledPressure()
938 if (CritIdx != CritEnd && RegionCriticalPSets[CritIdx].getPSet() == ID) { in updateScheduledPressure()
939 if ((int)NewMaxPressure[ID] > RegionCriticalPSets[CritIdx].getUnitInc() in updateScheduledPressure()
941 RegionCriticalPSets[CritIdx].setUnitInc(NewMaxPressure[ID]); in updateScheduledPressure()