Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp717 Value *Mbcnt; in optimizeAtomic() local
719 Mbcnt = B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_lo, {}, in optimizeAtomic()
724 Mbcnt = B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_lo, {}, in optimizeAtomic()
726 Mbcnt = in optimizeAtomic()
727 B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_hi, {}, {ExtractHi, Mbcnt}); in optimizeAtomic()
833 Value *const Cond = B.CreateICmpEQ(Mbcnt, B.getInt32(0)); in optimizeAtomic()
928 Mbcnt = isAtomicFloatingPointTy ? B.CreateUIToFP(Mbcnt, Ty) in optimizeAtomic()
929 : B.CreateIntCast(Mbcnt, Ty, false); in optimizeAtomic()
935 LaneOffset = buildMul(B, V, Mbcnt); in optimizeAtomic()
948 LaneOffset = buildMul(B, V, B.CreateAnd(Mbcnt, 1)); in optimizeAtomic()
[all …]