Searched refs:FPMO (Results 1 – 10 of 10) sorted by relevance
413 void copyFMF(const FPMathOperator &FPMO) {414 setNoNaNs(FPMO.hasNoNaNs());415 setNoInfs(FPMO.hasNoInfs());416 setNoSignedZeros(FPMO.hasNoSignedZeros());417 setAllowReciprocal(FPMO.hasAllowReciprocal());418 setAllowContract(FPMO.hasAllowContract());419 setApproximateFuncs(FPMO.hasApproxFunc());420 setAllowReassociation(FPMO.hasAllowReassoc());
1120 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local1121 if (!FPMO) in match()1124 if (FPMO->getOpcode() == Instruction::FNeg) in match()1125 return X.match(FPMO->getOperand(0)); in match()1127 if (FPMO->getOpcode() == Instruction::FSub) { in match()1128 if (FPMO->hasNoSignedZeros()) { in match()1130 if (!cstfp_pred_ty<is_any_zero_fp>().match(FPMO->getOperand(0))) in match()1134 if (!cstfp_pred_ty<is_neg_zero_fp>().match(FPMO->getOperand(0))) in match()1138 return X.match(FPMO->getOperand(1)); in match()
751 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local752 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()754 if (FPMO->hasNoNaNs()) in getOptimizationFlags()756 if (FPMO->hasNoInfs()) in getOptimizationFlags()758 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()760 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()762 if (FPMO->hasAllowContract()) in getOptimizationFlags()764 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
836 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local837 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
77 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local78 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
1674 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local1675 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()1677 if (FPMO->hasNoNaNs()) in getOptimizationFlags()1679 if (FPMO->hasNoInfs()) in getOptimizationFlags()1681 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()1683 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()1685 if (FPMO->hasAllowContract()) in getOptimizationFlags()1687 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
3669 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local3670 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp()3674 Flags.copyFMF(*FPMO); in visitFCmp()5288 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitTargetIntrinsic() local5289 Flags.copyFMF(*FPMO); in visitTargetIntrinsic()8528 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local8529 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()8555 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local8556 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()10712 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local[all …]
320 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local321 if (!FPMO) { in ClearSubclassDataAfterReassociation()
2930 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local2931 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
10252 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getSpillCost() local10253 FMF = FPMO->getFastMathFlags(); in getSpillCost()17236 if (auto *FPMO = dyn_cast<FPMathOperator>(U)) in tryToReduce() local17237 RdxFMF &= FPMO->getFastMathFlags(); in tryToReduce()