Home
last modified time | relevance | path

Searched refs:FPMO (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h400 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());
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h1007 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local
1008 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()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp780 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local
781 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()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp66 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local
67 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp883 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local
884 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1500 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local
1501 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()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3238 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local
3239 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp()
3243 Flags.copyFMF(*FPMO); in visitFCmp()
4823 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitTargetIntrinsic() local
4824 Flags.copyFMF(*FPMO); in visitTargetIntrinsic()
7622 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local
7623 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()
9549 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local
9550 SDFlags.copyFMF(*FPMO); in visitVectorReduce()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp312 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local
313 if (!FPMO) { in ClearSubclassDataAfterReassociation()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3481 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local
3482 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
H A DSLPVectorizer.cpp11221 if (auto *FPMO = dyn_cast<FPMathOperator>(U)) in tryToReduce() local
11222 RdxFMF &= FPMO->getFastMathFlags(); in tryToReduce()