Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp563 auto *WaveTy = B.getIntNTy(ST->getWavefrontSize()); in buildScanIteratively() local
568 B.CreateIntrinsic(Intrinsic::amdgcn_ballot, WaveTy, B.getTrue()); in buildScanIteratively()
580 auto *ActiveBits = B.CreatePHI(WaveTy, 2, "ActiveBits"); in buildScanIteratively()
585 B.CreateIntrinsic(Intrinsic::cttz, WaveTy, {ActiveBits, B.getTrue()}); in buildScanIteratively()
608 auto *Mask = B.CreateShl(ConstantInt::get(WaveTy, 1), FF1); in buildScanIteratively()
610 auto *InverseMask = B.CreateXor(Mask, ConstantInt::get(WaveTy, -1)); in buildScanIteratively()
615 auto *IsEnd = B.CreateICmpEQ(NewActiveBits, ConstantInt::get(WaveTy, 0)); in buildScanIteratively()
709 Type *const WaveTy = B.getIntNTy(ST->getWavefrontSize()); in optimizeAtomic() local
711 B.CreateIntrinsic(Intrinsic::amdgcn_ballot, WaveTy, B.getTrue()); in optimizeAtomic()