Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h549 unsigned VsCnt = ~0u; member
552 Waitcnt(unsigned VmCnt, unsigned ExpCnt, unsigned LgkmCnt, unsigned VsCnt) in Waitcnt()
553 : VmCnt(VmCnt), ExpCnt(ExpCnt), LgkmCnt(LgkmCnt), VsCnt(VsCnt) {} in Waitcnt()
561 return VmCnt != ~0u || ExpCnt != ~0u || LgkmCnt != ~0u || VsCnt != ~0u; in hasWait()
569 return VsCnt != ~0u; in hasWaitVsCnt()
574 LgkmCnt <= Other.LgkmCnt && VsCnt <= Other.VsCnt; in dominates()
580 std::min(VsCnt, Other.VsCnt)); in combined()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp145 if (PrevInstWaitInfo.VsCnt) { in handleWaitCnt()
263 InstrWaitCntInfo[Index].VsCnt = true; in generateWaitCntInfo()
273 InstrWaitCntInfo[Index].VsCnt = true; in generateWaitCntInfo()
H A DAMDGPUCustomBehaviour.h44 bool VsCnt = false; member
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInsertWaitcnts.cpp167 Wait.VsCnt = std::min(Wait.VsCnt, Count); in addWait()
742 simplifyWaitcnt(VS_CNT, Wait.VsCnt); in simplifyWaitcnt()
789 applyWaitcnt(VS_CNT, Wait.VsCnt); in applyWaitcnt()
870 Wait.VsCnt = std::min(Wait.VsCnt, OldVSCnt); in applyPreexistingWaitcnt()
916 if (Wait.VsCnt != OldVSCnt) { in applyPreexistingWaitcnt()
918 ->setImm(Wait.VsCnt); in applyPreexistingWaitcnt()
922 Wait.VsCnt = ~0u; in applyPreexistingWaitcnt()
1217 Wait.VsCnt = 0; in generateWaitcntInstBefore()
1298 .addImm(Wait.VsCnt); in generateWaitcnt()