Searched refs:hasApproxFunc (Results 1 – 13 of 13) sorted by relevance
69 return CI.hasApproxFunc(); in isCandidateSafeToLower()
116 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
315 bool hasApproxFunc() const {
618 bool hasApproxFunc() const LLVM_READONLY;
605 bool Instruction::hasApproxFunc() const { in hasApproxFunc() function in Instruction607 return cast<FPMathOperator>(this)->hasApproxFunc(); in hasApproxFunc()
292 [&Inst] { Inst.setHasApproxFunc(!Inst.hasApproxFunc()); }); in mutate()
651 if (SLT == MVT::f32 && ((CxtI && CxtI->hasApproxFunc()) || in getArithmeticInstrCost()
439 (SqrtOp->hasApproxFunc() || SqrtOp->getFPAccuracy() >= 1.0f)) || in canContractSqrtToRsq()
428 (FPOp->hasApproxFunc() && FPOp->hasNoNaNs() && FPOp->hasNoInfs()); in isUnsafeFiniteOnlyMath()
2184 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()2245 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()2298 bool AllowApprox = Pow->hasApproxFunc(); in optimizePow()
419 setApproximateFuncs(FPMO.hasApproxFunc());
764 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
1687 if (FPMO->hasApproxFunc()) in getOptimizationFlags()