Searched refs:FPMO (Results 1 – 10 of 10) sorted by relevance
400 void copyFMF(const FPMathOperator &FPMO) {401 setNoNaNs(FPMO.hasNoNaNs());402 setNoInfs(FPMO.hasNoInfs());403 setNoSignedZeros(FPMO.hasNoSignedZeros());404 setAllowReciprocal(FPMO.hasAllowReciprocal());405 setAllowContract(FPMO.hasAllowContract());406 setApproximateFuncs(FPMO.hasApproxFunc());407 setAllowReassociation(FPMO.hasAllowReassoc());
1007 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local1008 if (!FPMO) in match()1011 if (FPMO->getOpcode() == Instruction::FNeg) in match()1012 return X.match(FPMO->getOperand(0)); in match()1014 if (FPMO->getOpcode() == Instruction::FSub) { in match()1015 if (FPMO->hasNoSignedZeros()) { in match()1017 if (!cstfp_pred_ty<is_any_zero_fp>().match(FPMO->getOperand(0))) in match()1021 if (!cstfp_pred_ty<is_neg_zero_fp>().match(FPMO->getOperand(0))) in match()1025 return X.match(FPMO->getOperand(1)); in match()
780 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local781 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()783 if (FPMO->hasNoNaNs()) in getOptimizationFlags()785 if (FPMO->hasNoInfs()) in getOptimizationFlags()787 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()789 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()791 if (FPMO->hasAllowContract()) in getOptimizationFlags()793 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
66 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local67 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
883 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local884 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
1500 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local1501 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()1503 if (FPMO->hasNoNaNs()) in getOptimizationFlags()1505 if (FPMO->hasNoInfs()) in getOptimizationFlags()1507 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()1509 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()1511 if (FPMO->hasAllowContract()) in getOptimizationFlags()1513 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
3238 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local3239 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp()3243 Flags.copyFMF(*FPMO); in visitFCmp()4823 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitTargetIntrinsic() local4824 Flags.copyFMF(*FPMO); in visitTargetIntrinsic()7622 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local7623 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()9549 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local9550 SDFlags.copyFMF(*FPMO); in visitVectorReduce()
312 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local313 if (!FPMO) { in ClearSubclassDataAfterReassociation()
3481 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local3482 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
11221 if (auto *FPMO = dyn_cast<FPMathOperator>(U)) in tryToReduce() local11222 RdxFMF &= FPMO->getFastMathFlags(); in tryToReduce()