Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegisterPressure.cpp964 unsigned CritIdx = 0, CritEnd = CriticalPSets.size(); in computeMaxPressureDelta() local
972 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < i) in computeMaxPressureDelta()
973 ++CritIdx; in computeMaxPressureDelta()
975 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == i) { in computeMaxPressureDelta()
976 int PDiff = (int)PNew - (int)CriticalPSets[CritIdx].getUnitInc(); in computeMaxPressureDelta()
988 if (CritIdx == CritEnd || Delta.CriticalMax.isValid()) in computeMaxPressureDelta()
1124 unsigned CritIdx = 0, CritEnd = CriticalPSets.size(); in getUpwardPressureDelta() local
1159 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID) in getUpwardPressureDelta()
1160 ++CritIdx; in getUpwardPressureDelta()
1162 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) { in getUpwardPressureDelta()
[all …]
DMachineScheduler.cpp964 unsigned CritIdx = 0, CritEnd = RegionCriticalPSets.size(); in updateScheduledPressure() local
970 while (CritIdx != CritEnd && RegionCriticalPSets[CritIdx].getPSet() < ID) in updateScheduledPressure()
971 ++CritIdx; in updateScheduledPressure()
972 if (CritIdx != CritEnd && RegionCriticalPSets[CritIdx].getPSet() == ID) { in updateScheduledPressure()
973 if ((int)NewMaxPressure[ID] > RegionCriticalPSets[CritIdx].getUnitInc() in updateScheduledPressure()
975 RegionCriticalPSets[CritIdx].setUnitInc(NewMaxPressure[ID]); in updateScheduledPressure()