Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DGCNIterativeScheduler.cpp459 auto NewOcc = TargetOcc; in tryMaximizeOccupancy() local
461 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()