Searched refs:FPMO (Results 1 – 11 of 11) sorted by relevance
435 void copyFMF(const FPMathOperator &FPMO) {436 setNoNaNs(FPMO.hasNoNaNs());437 setNoInfs(FPMO.hasNoInfs());438 setNoSignedZeros(FPMO.hasNoSignedZeros());439 setAllowReciprocal(FPMO.hasAllowReciprocal());440 setAllowContract(FPMO.hasAllowContract());441 setApproximateFuncs(FPMO.hasApproxFunc());442 setAllowReassociation(FPMO.hasAllowReassoc());
1169 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local1170 if (!FPMO) in match()1173 if (FPMO->getOpcode() == Instruction::FNeg) in match()1174 return X.match(FPMO->getOperand(0)); in match()1176 if (FPMO->getOpcode() == Instruction::FSub) { in match()1177 if (FPMO->hasNoSignedZeros()) { in match()1179 if (!cstfp_pred_ty<is_any_zero_fp>().match(FPMO->getOperand(0))) in match()1183 if (!cstfp_pred_ty<is_neg_zero_fp>().match(FPMO->getOperand(0))) in match()1187 return X.match(FPMO->getOperand(1)); in match()
758 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local759 if (FPMO->hasAllowReassoc() || FPMO->hasAllowContract()) in getOptimizationFlags()761 if (FPMO->hasNoNaNs()) in getOptimizationFlags()763 if (FPMO->hasNoInfs()) in getOptimizationFlags()765 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()767 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
831 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local832 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
80 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local81 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
1742 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local1743 if (FPMO->hasAllowReassoc()) in getOptimizationFlags()1745 if (FPMO->hasNoNaNs()) in getOptimizationFlags()1747 if (FPMO->hasNoInfs()) in getOptimizationFlags()1749 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()1751 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()1753 if (FPMO->hasAllowContract()) in getOptimizationFlags()1755 if (FPMO->hasApproxFunc()) in getOptimizationFlags()
3723 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local3724 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp()3728 Flags.copyFMF(*FPMO); in visitFCmp()5373 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitTargetIntrinsic() local5374 Flags.copyFMF(*FPMO); in visitTargetIntrinsic()8682 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local8683 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()8709 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local8710 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()10874 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local[all …]
1863 if (auto *FPMO = dyn_cast<FPMathOperator>(Op)) in visitFPTrunc() local1864 FMF &= FPMO->getFastMathFlags(); in visitFPTrunc()
349 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local350 if (!FPMO) { in ClearSubclassDataAfterReassociation()
2636 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local2637 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
22343 if (auto *FPMO = dyn_cast<FPMathOperator>(U)) in tryToReduce() local22344 RdxFMF &= FPMO->getFastMathFlags(); in tryToReduce()