Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1970 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp()
1972 Type *Ty = Pow->getType(); in replacePowWithExp()
2057 return copyFlags(*Pow, in replacePowWithExp()
2097 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()
2151 Value *Sqrt, *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithSqrt()
2153 Type *Ty = Pow->getType(); in replacePowWithSqrt()
2162 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()
2169 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt()
2188 if (!Pow->hasNoInfs()) { in replacePowWithSqrt()
2215 Type *Ty = Pow->getType(); in optimizePow()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp682 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, X, Y1, &I); in foldFMulReassoc() local
683 return replaceInstUsesWith(I, Pow); in foldFMulReassoc()
1696 Value *Pow = Builder.CreateIntrinsic(IID, Tys, Args, &I); in foldFDivPowDivisor() local
1697 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor()
1706 Value *Pow = Builder.CreateIntrinsic(IID, I.getType(), Args, &I); in foldFDivPowDivisor() local
1707 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor()
1823 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, Op1, Y1, &I); in visitFDiv() local
1824 return replaceInstUsesWith(I, Pow); in visitFDiv()
1838 Value *Pow = Builder.CreateIntrinsic(Intrinsic::powi, Types, {Op1, Y1}, &I); in visitFDiv() local
1839 return replaceInstUsesWith(I, Pow); in visitFDiv()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp355 return selectExtInst(ResVReg, ResType, I, CL::pow, GL::Pow); in spvSelect()
H A DSPIRVBuiltins.td372 defm : DemangledExtendedBuiltin<"Pow", GLSL_std_450, 26>;