Searched refs:hasApproxFunc (Results 1 – 15 of 15) sorted by relevance
80 bool hasApproxFunc() const { in hasApproxFunc() function81 return cast<llvm::FPMathOperator>(Val)->hasApproxFunc(); in hasApproxFunc()
295 bool hasApproxFunc() const { in hasApproxFunc() function296 return cast<llvm::Instruction>(Val)->hasApproxFunc(); in hasApproxFunc()
68 return CI.hasApproxFunc(); in isCandidateSafeToLower()
116 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
328 bool hasApproxFunc() const {
670 LLVM_ABI bool hasApproxFunc() const LLVM_READONLY;
659 bool Instruction::hasApproxFunc() const { in hasApproxFunc() function in Instruction661 return cast<FPMathOperator>(this)->hasApproxFunc(); in hasApproxFunc()
325 [&Inst] { Inst.setHasApproxFunc(!Inst.hasApproxFunc()); }); in mutate()
653 if (SLT == MVT::f32 && ((CxtI && CxtI->hasApproxFunc()) || in getArithmeticInstrCost()
424 (FPOp->hasApproxFunc() && FPOp->hasNoNaNs() && FPOp->hasNoInfs()); in isUnsafeFiniteOnlyMath()
494 (SqrtOp->hasApproxFunc() || SqrtOp->getFPAccuracy() >= 1.0f)) || in canContractSqrtToRsq()
2195 if (Pow->hasApproxFunc() && Pow->hasNoNaNs() && BaseF->isFiniteNonZero() && in replacePowWithExp()2256 if (ExpoF->isNegative() && (!Pow->hasApproxFunc() && !Pow->hasAllowReassoc())) in replacePowWithSqrt()2309 bool AllowApprox = Pow->hasApproxFunc(); in optimizePow()
277 .emplaceIfTracking<GenericSetter<&Instruction::hasApproxFunc, in setHasApproxFunc()
441 setApproximateFuncs(FPMO.hasApproxFunc());
1755 if (FPMO->hasApproxFunc()) in getOptimizationFlags()