Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2049 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 DSimplifyLibCalls.h203 Value *replacePowWithExp(CallInst *Pow, IRBuilderBase &B);
204 Value *replacePowWithSqrt(CallInst *Pow, IRBuilderBase &B);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp894 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 DSPIRVBuiltins.td410 defm : DemangledExtendedBuiltin<"Pow", GLSL_std_450, 26>;
H A DSPIRVInstructionSelector.cpp696 return selectExtInst(ResVReg, ResType, I, CL::pow, GL::Pow); in spvSelect()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.td3692 def Pow : FPMathTemplate, LibBuiltin<"math.h"> {