Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1858 Value *LibCallSimplifier::replacePowWithExp(CallInst *Pow, IRBuilderBase &B) { in replacePowWithExp() argument
1859 Module *M = Pow->getModule(); in replacePowWithExp()
1860 Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1); in replacePowWithExp()
1861 Module *Mod = Pow->getModule(); in replacePowWithExp()
1862 Type *Ty = Pow->getType(); in replacePowWithExp()
1881 if (BaseFn && BaseFn->hasOneUse() && BaseFn->isFast() && Pow->isFast()) { in replacePowWithExp()
1936 if (!match(Pow->getArgOperand(0), m_APFloat(BaseF))) in replacePowWithExp()
1946 return copyFlags(*Pow, in replacePowWithExp()
1966 if (Pow->doesNotAccessMemory()) in replacePowWithExp()
1967 return copyFlags(*Pow, B.CreateCall(Intrinsic::getDeclaration( in replacePowWithExp()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h195 Value *replacePowWithExp(CallInst *Pow, IRBuilderBase &B);
196 Value *replacePowWithSqrt(CallInst *Pow, IRBuilderBase &B);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp673 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, X, Y1, &I); in visitFMul() local
674 return replaceInstUsesWith(I, Pow); in visitFMul()
1563 Value *Pow = Builder.CreateIntrinsic(IID, Tys, Args, &I); in foldFDivPowDivisor() local
1564 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor()
1573 Value *Pow = Builder.CreateIntrinsic(IID, I.getType(), Args, &I); in foldFDivPowDivisor() local
1574 return BinaryOperator::CreateFMulFMF(Op0, Pow, &I); in foldFDivPowDivisor()
1690 Value *Pow = Builder.CreateBinaryIntrinsic(Intrinsic::pow, Op1, Y1, &I); in visitFDiv() local
1691 return replaceInstUsesWith(I, Pow); in visitFDiv()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp348 return selectExtInst(ResVReg, ResType, I, CL::pow, GL::Pow); in spvSelect()
H A DSPIRVBuiltins.td372 defm : DemangledExtendedBuiltin<"Pow", GLSL_std_450, 26>;