Searched refs:Mbcnt (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 462 Value *Mbcnt; in optimizeAtomic() local 464 Mbcnt = B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_lo, {}, in optimizeAtomic() 470 Mbcnt = B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_lo, {}, in optimizeAtomic() 472 Mbcnt = in optimizeAtomic() 473 B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_hi, {}, {ExtractHi, Mbcnt}); in optimizeAtomic() 475 Mbcnt = B.CreateIntCast(Mbcnt, Ty, false); in optimizeAtomic() 559 Value *const Cond = B.CreateICmpEQ(Mbcnt, B.getIntN(TyBitWidth, 0)); in optimizeAtomic() 630 LaneOffset = buildMul(B, V, Mbcnt); in optimizeAtomic() 641 LaneOffset = buildMul(B, V, B.CreateAnd(Mbcnt, 1)); in optimizeAtomic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAtomicOptimizer.cpp | 458 Value *Mbcnt; in optimizeAtomic() local 460 Mbcnt = B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_lo, {}, in optimizeAtomic() 466 Mbcnt = B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_lo, {}, in optimizeAtomic() 468 Mbcnt = in optimizeAtomic() 469 B.CreateIntrinsic(Intrinsic::amdgcn_mbcnt_hi, {}, {ExtractHi, Mbcnt}); in optimizeAtomic() 471 Mbcnt = B.CreateIntCast(Mbcnt, Ty, false); in optimizeAtomic() 555 Value *const Cond = B.CreateICmpEQ(Mbcnt, B.getIntN(TyBitWidth, 0)); in optimizeAtomic() 626 LaneOffset = B.CreateMul(V, Mbcnt); in optimizeAtomic() 637 LaneOffset = B.CreateMul(V, B.CreateAnd(Mbcnt, 1)); in optimizeAtomic()
|