Lines Matching full:occ
429 const auto Occ = Regions.front()->MaxPressure.getOccupancy(ST); in tryMaximizeOccupancy() local
431 << ", current = " << Occ << '\n'); in tryMaximizeOccupancy()
448 if (NewOcc <= Occ) in tryMaximizeOccupancy()
454 << ", prev occupancy = " << Occ << '\n'); in tryMaximizeOccupancy()
455 if (NewOcc > Occ) { in tryMaximizeOccupancy()
460 return std::max(NewOcc, Occ); in tryMaximizeOccupancy()
470 auto Occ = Regions.front()->MaxPressure.getOccupancy(ST); in scheduleLegacyMaxOccupancy() local
472 if (TryMaximizeOccupancy && Occ < TgtOcc) in scheduleLegacyMaxOccupancy()
473 Occ = tryMaximizeOccupancy(TgtOcc); in scheduleLegacyMaxOccupancy()
477 const int NumPasses = Occ < TgtOcc ? 2 : 1; in scheduleLegacyMaxOccupancy()
479 TgtOcc = std::min(Occ, TgtOcc); in scheduleLegacyMaxOccupancy()
484 unsigned FinalOccupancy = std::min(Occ, MFI->getOccupancy()); in scheduleLegacyMaxOccupancy()
557 auto Occ = Regions.front()->MaxPressure.getOccupancy(ST); in scheduleILP() local
559 if (TryMaximizeOccupancy && Occ < TgtOcc) in scheduleILP()
560 Occ = tryMaximizeOccupancy(TgtOcc); in scheduleILP()
562 TgtOcc = std::min(Occ, TgtOcc); in scheduleILP()
567 unsigned FinalOccupancy = std::min(Occ, MFI->getOccupancy()); in scheduleILP()