Searched refs:Pow (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2038 Value *LibCallSimplifier::replacePowWithExp(CallInst *Pow, IRBuilderBase &B) { in replacePowWithExp() argument 2039 Module *M = Pow->getModule(); in replacePowWithExp() 2040 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp() 2041 Type *Ty = Pow->getType(); in replacePowWithExp() 2060 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp() 2119 const bool UseIntrinsic = Pow->doesNotAccessMemory(); in replacePowWithExp() 2133 return copyFlags(*Pow, B.CreateIntrinsic(Intrinsic::ldexp, in replacePowWithExp() 2135 {One, ExpoI}, Pow, "exp2")); in replacePowWithExp() 2138 return copyFlags(*Pow, emitBinaryFloatFnCall( in replacePowWithExp() 2158 if (Pow->doesNotAccessMemory()) in replacePowWithExp() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SimplifyLibCalls.h | 198 Value *replacePowWithExp(CallInst *Pow, IRBuilderBase &B); 199 Value *replacePowWithSqrt(CallInst *Pow, IRBuilderBase &B);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 797 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, X, Y1, &I); in foldFMulReassoc() local 798 return replaceInstUsesWith(I, Pow); in foldFMulReassoc() 1833 Value *Pow = Builder.CreateIntrinsic(IID, Tys, Args, &I); in foldFDivPowDivisor() local 1834 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor() 1843 Value *Pow = Builder.CreateIntrinsic(IID, I.getType(), Args, &I); in foldFDivPowDivisor() local 1844 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor() 1991 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, Op1, Y1, &I); in visitFDiv() local 1992 return replaceInstUsesWith(I, Pow); in visitFDiv()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.td | 400 defm : DemangledExtendedBuiltin<"Pow", GLSL_std_450, 26>;
|
H A D | SPIRVInstructionSelector.cpp | 433 return selectExtInst(ResVReg, ResType, I, CL::pow, GL::Pow); in spvSelect()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Builtins.td | 3524 def Pow : FPMathTemplate, LibBuiltin<"math.h"> {
|