Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h413 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());
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1120 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local
1121 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp751 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local
752 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp836 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local
837 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp77 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local
78 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1674 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local
1675 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3669 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local
3670 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp()
3674 Flags.copyFMF(*FPMO); in visitFCmp()
5288 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitTargetIntrinsic() local
5289 Flags.copyFMF(*FPMO); in visitTargetIntrinsic()
8528 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local
8529 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()
8555 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local
8556 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()
10712 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp320 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local
321 if (!FPMO) { in ClearSubclassDataAfterReassociation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2930 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local
2931 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
H A DSLPVectorizer.cpp10252 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in getSpillCost() local
10253 FMF = FPMO->getFastMathFlags(); in getSpillCost()
17236 if (auto *FPMO = dyn_cast<FPMathOperator>(U)) in tryToReduce() local
17237 RdxFMF &= FPMO->getFastMathFlags(); in tryToReduce()