Searched refs:hasApproxFunc (Results 1 – 13 of 13) sorted by relevance
69 return CI.hasApproxFunc(); in isCandidateSafeToLower()
114 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
283 bool hasApproxFunc() const { in hasApproxFunc() function
583 bool hasApproxFunc() const LLVM_READONLY;
529 bool Instruction::hasApproxFunc() const { in hasApproxFunc() function in Instruction531 return cast<FPMathOperator>(this)->hasApproxFunc(); in hasApproxFunc()
291 [&Inst] { Inst.setHasApproxFunc(!Inst.hasApproxFunc()); }); in mutate()
654 if (SLT == MVT::f32 && ((CxtI && CxtI->hasApproxFunc()) || in getArithmeticInstrCost()
443 (SqrtOp->hasApproxFunc() || SqrtOp->getFPAccuracy() >= 1.0f)) || in canContractSqrtToRsq()
427 (FPOp->hasApproxFunc() && FPOp->hasNoNaNs() && FPOp->hasNoInfs()); in isUnsafeFiniteOnlyMath()
2097 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()2162 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()2217 bool AllowApprox = Pow->hasApproxFunc(); in optimizePow()
419 setApproximateFuncs(FPMO.hasApproxFunc());
765 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
1595 if (FPMO->hasApproxFunc()) in getOptimizationFlags()