Searched refs:NewOcc (Results 1 – 1 of 1) sorted by relevance
459 auto NewOcc = TargetOcc; in tryMaximizeOccupancy() local461 if (R->MaxPressure.getOccupancy(ST) >= NewOcc) in tryMaximizeOccupancy()473 NewOcc = std::min(NewOcc, MaxRP.getOccupancy(ST)); in tryMaximizeOccupancy()474 if (NewOcc <= Occ) in tryMaximizeOccupancy()479 LLVM_DEBUG(dbgs() << "New occupancy = " << NewOcc in tryMaximizeOccupancy()481 if (NewOcc > Occ) { in tryMaximizeOccupancy()483 MFI->increaseOccupancy(MF, NewOcc); in tryMaximizeOccupancy()486 return std::max(NewOcc, Occ); in tryMaximizeOccupancy()