Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNIterativeScheduler.cpp467 auto TgtOcc = MFI->getMinAllowedOccupancy(); in scheduleLegacyMaxOccupancy() local
469 sortRegionsByPressure(TgtOcc); in scheduleLegacyMaxOccupancy()
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()
482 << TgtOcc << '\n'); in scheduleLegacyMaxOccupancy()
489 LStrgy.setTargetOccupancy(I == 0 ? 0 : TgtOcc); in scheduleLegacyMaxOccupancy()
497 if (RP.getOccupancy(ST) < TgtOcc) { in scheduleLegacyMaxOccupancy()
498 LLVM_DEBUG(dbgs() << "Didn't fit into target occupancy O" << TgtOcc); in scheduleLegacyMaxOccupancy()
[all …]