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