Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegisterPressure.cpp698 unsigned CritIdx = 0, CritEnd = CriticalPSets.size(); in computeMaxPressureDelta() local
706 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < i) in computeMaxPressureDelta()
707 ++CritIdx; in computeMaxPressureDelta()
709 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == i) { in computeMaxPressureDelta()
710 int PDiff = (int)PNew - (int)CriticalPSets[CritIdx].getUnitInc(); in computeMaxPressureDelta()
722 if (CritIdx == CritEnd || Delta.CriticalMax.isValid()) in computeMaxPressureDelta()
842 unsigned CritIdx = 0, CritEnd = CriticalPSets.size(); in getUpwardPressureDelta() local
877 while (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() < PSetID) in getUpwardPressureDelta()
878 ++CritIdx; in getUpwardPressureDelta()
880 if (CritIdx != CritEnd && CriticalPSets[CritIdx].getPSet() == PSetID) { in getUpwardPressureDelta()
[all …]
DMachineScheduler.cpp947 unsigned CritIdx = 0, CritEnd = RegionCriticalPSets.size(); in updateScheduledPressure() local
953 while (CritIdx != CritEnd && RegionCriticalPSets[CritIdx].getPSet() < ID) in updateScheduledPressure()
954 ++CritIdx; in updateScheduledPressure()
955 if (CritIdx != CritEnd && RegionCriticalPSets[CritIdx].getPSet() == ID) { in updateScheduledPressure()
956 if ((int)NewMaxPressure[ID] > RegionCriticalPSets[CritIdx].getUnitInc() in updateScheduledPressure()
958 RegionCriticalPSets[CritIdx].setUnitInc(NewMaxPressure[ID]); in updateScheduledPressure()