/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 808 Value *Rcp = Builder.CreateUnaryIntrinsic(Intrinsic::amdgcn_rcp, FrexpMant); in emitRcpIEEE1ULP() 828 Builder.CreateUnaryIntrinsic(Intrinsic::amdgcn_rcp, FrexpMantRHS); in emitFrexpDiv() 883 Value *Rsq = Builder.CreateUnaryIntrinsic(Intrinsic::amdgcn_rsq, ScaledInput); in emitRsqIEEE1ULP() 927 Value *Result = Builder.CreateUnaryIntrinsic(Intrinsic::amdgcn_rsq, Den); in optimizeWithRsq() 975 return Builder.CreateUnaryIntrinsic(Intrinsic::amdgcn_rcp, Src); in optimizeWithRcp() 990 Value *Recip = Builder.CreateUnaryIntrinsic(Intrinsic::amdgcn_rcp, Den); in optimizeWithRcp() 1269 CallInst *FQ = Builder.CreateUnaryIntrinsic(Intrinsic::trunc, FQM); in expandDivRem24Impl() 1287 FR = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, FR, FQ); in expandDivRem24Impl() 1290 FB = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, FB, FQ); in expandDivRem24Impl()
|
H A D | AMDGPUAtomicOptimizer.cpp | 795 B.CreateUnaryIntrinsic(Intrinsic::ctpop, Ballot), Ty, false); in optimizeAtomic() 802 B.CreateUnaryIntrinsic(Intrinsic::ctpop, Ballot), Int32Ty, false); in optimizeAtomic() 824 B.CreateUnaryIntrinsic(Intrinsic::ctpop, Ballot), Ty, false); in optimizeAtomic()
|
H A D | AMDGPULibCalls.cpp | 1104 nval = B.CreateUnaryIntrinsic(Intrinsic::fabs, opr0, nullptr, "__fabs"); in fold_pow() 1183 CallInst *NewCall = B.CreateUnaryIntrinsic(Intrinsic::sqrt, opr0, CI); in fold_rootn() 1229 CallInst *Sqrt = B.CreateUnaryIntrinsic(Intrinsic::sqrt, opr0, CI); in fold_rootn()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1859 CallInst *NewCall = B.CreateUnaryIntrinsic(IID, CI->getArgOperand(0), CI); in replaceUnaryCall() 1998 *CI, B.CreateUnaryIntrinsic(Intrinsic::fabs, AbsOp, nullptr, "cabs")); in optimizeCAbs() 2012 return copyFlags(*CI, B.CreateUnaryIntrinsic(Intrinsic::sqrt, in optimizeCAbs() 2097 ? B.CreateUnaryIntrinsic(ID, FMul, nullptr, ExpName) in replacePowWithExp() 2159 return copyFlags(*Pow, B.CreateUnaryIntrinsic(Intrinsic::exp2, FMul, in replacePowWithExp() 2200 return copyFlags(*Pow, B.CreateUnaryIntrinsic(Intrinsic::exp2, FMul, in replacePowWithExp() 2218 return B.CreateUnaryIntrinsic(Intrinsic::sqrt, V, nullptr, "sqrt"); in getSqrtCall() 2264 Sqrt = B.CreateUnaryIntrinsic(Intrinsic::fabs, Sqrt, nullptr, "abs"); in replacePowWithSqrt() 2595 ? B.CreateUnaryIntrinsic(LogID, Arg->getOperand(0), nullptr, "log") in optimizeLog() 2621 ? B.CreateUnaryIntrinsic(LogID, Eul, nullptr, "log") in optimizeLog() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 669 Value *NarrowPop = IC.Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, X); in foldCtpop() 943 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, Src0); in foldIntrinsicIsFPClass() 1420 Value *NewReorder = Builder.CreateUnaryIntrinsic(IntrID, Y); in foldBitOrderCrossLogicOp() 1425 Value *NewReorder = Builder.CreateUnaryIntrinsic(IntrID, X); in foldBitOrderCrossLogicOp() 1940 Value *NewSwap = Builder.CreateUnaryIntrinsic(Intrinsic::bswap, X); in visitCallInst() 2402 Value *R = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, II); in visitCallInst() 2525 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, Mag, II); in visitCallInst() 2531 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, Mag, II); in visitCallInst() 2565 CallInst *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, II); in visitCallInst() 2611 Value *NarrowII = Builder.CreateUnaryIntrinsic(IID, ExtSrc, II); in visitCallInst() [all …]
|
H A D | InstCombineMulDivRem.cpp | 596 Value *Fabs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, XY); in foldFPSignBitOps() 756 Value *Sqrt = Builder.CreateUnaryIntrinsic(Intrinsic::sqrt, XY, &I); in foldFMulReassoc() 824 Value *Exp = Builder.CreateUnaryIntrinsic(Intrinsic::exp, XY, &I); in foldFMulReassoc() 832 Value *Exp2 = Builder.CreateUnaryIntrinsic(Intrinsic::exp2, XY, &I); in foldFMulReassoc() 950 Value *Log2 = Builder.CreateUnaryIntrinsic(Intrinsic::log2, X, &I); in visitFMul() 1871 Builder.CreateUnaryIntrinsic(II->getIntrinsicID(), SwapDiv, II); in foldFDivSqrtDivisor()
|
H A D | InstCombineSelect.cpp | 2845 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); in foldSelectWithFCmpToFabs() 2849 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); in foldSelectWithFCmpToFabs() 2892 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); in foldSelectWithFCmpToFabs() 2896 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); in foldSelectWithFCmpToFabs() 2927 Value *Fabs = IC.Builder.CreateUnaryIntrinsic(Intrinsic::fabs, X, &SI); in foldSelectWithFCmpToFabs()
|
H A D | InstCombineAndOrXor.cpp | 1497 Value *FAbs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, LHS0); in foldLogicOfFCmps() 2583 Value *FAbs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, CastOp); in visitAnd() 4015 Value *FAbs = Builder.CreateUnaryIntrinsic(Intrinsic::fabs, CastOp); in visitOr()
|
H A D | InstCombineSimplifyDemanded.cpp | 289 return Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, Xor); in SimplifyDemandedUseBits()
|
H A D | InstCombineShifts.cpp | 1548 Value *NarrowSwap = Builder.CreateUnaryIntrinsic(Intrinsic::bswap, X); in visitLShr()
|
H A D | InstCombineCompares.cpp | 5558 CallInst *CtPop = Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, A); in foldICmpPow2Test()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 914 CallInst *IRBuilderBase::CreateUnaryIntrinsic(Intrinsic::ID ID, Value *V, in CreateUnaryIntrinsic() function in IRBuilderBase
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 962 CallInst *CreateUnaryIntrinsic(Intrinsic::ID ID, Value *V,
|