Searched refs:Pow (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2049 Value *LibCallSimplifier::replacePowWithExp(CallInst *Pow, IRBuilderBase &B) { in replacePowWithExp() argument 2050 Module *M = Pow->getModule(); in replacePowWithExp() 2051 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp() 2052 Type *Ty = Pow->getType(); in replacePowWithExp() 2071 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp() 2130 const bool UseIntrinsic = Pow->doesNotAccessMemory(); in replacePowWithExp() 2144 return copyFlags(*Pow, B.CreateIntrinsic(Intrinsic::ldexp, in replacePowWithExp() 2146 {One, ExpoI}, Pow, "exp2")); in replacePowWithExp() 2149 return copyFlags(*Pow, emitBinaryFloatFnCall( in replacePowWithExp() 2169 if (Pow->doesNotAccessMemory()) in replacePowWithExp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SimplifyLibCalls.h | 203 Value *replacePowWithExp(CallInst *Pow, IRBuilderBase &B); 204 Value *replacePowWithSqrt(CallInst *Pow, IRBuilderBase &B);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 894 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, X, Y1, &I); in foldFMulReassoc() local 895 return replaceInstUsesWith(I, Pow); in foldFMulReassoc() 2001 Value *Pow = Builder.CreateIntrinsic(IID, Tys, Args, &I); in foldFDivPowDivisor() local 2002 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor() 2011 Value *Pow = Builder.CreateIntrinsic(IID, I.getType(), Args, &I); in foldFDivPowDivisor() local 2012 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor() 2245 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, Op1, Y1, &I); in visitFDiv() local 2246 return replaceInstUsesWith(I, Pow); in visitFDiv()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVBuiltins.td | 410 defm : DemangledExtendedBuiltin<"Pow", GLSL_std_450, 26>;
|
| H A D | SPIRVInstructionSelector.cpp | 696 return selectExtInst(ResVReg, ResType, I, CL::pow, GL::Pow); in spvSelect()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Builtins.td | 3692 def Pow : FPMathTemplate, LibBuiltin<"math.h"> {
|