Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h435 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());
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h1169 auto *FPMO = dyn_cast<FPMathOperator>(V); in match() local
1170 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp758 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local
759 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp831 if (auto *FPMO = dyn_cast<FPMathOperator>(II)) in computeBBInlineCost() local
832 FMF = FPMO->getFastMathFlags(); in computeBBInlineCost()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp80 if (const auto *FPMO = dyn_cast<FPMathOperator>(&CI)) in IntrinsicCostAttributes() local
81 FMF = FPMO->getFastMathFlags(); in IntrinsicCostAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1742 } else if (const auto *FPMO = dyn_cast<FPMathOperator>(V)) { in getOptimizationFlags() local
1743 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3723 auto *FPMO = cast<FPMathOperator>(&I); in visitFCmp() local
3724 if (FPMO->hasNoNaNs() || TM.Options.NoNaNsFPMath) in visitFCmp()
3728 Flags.copyFMF(*FPMO); in visitFCmp()
5373 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitTargetIntrinsic() local
5374 Flags.copyFMF(*FPMO); in visitTargetIntrinsic()
8682 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local
8683 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()
8709 if (auto *FPMO = dyn_cast<FPMathOperator>(&VPIntrin)) in visitVectorPredicationIntrinsic() local
8710 SDFlags.copyFMF(*FPMO); in visitVectorPredicationIntrinsic()
10874 if (auto *FPMO = dyn_cast<FPMathOperator>(&I)) in visitVectorReduce() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1863 if (auto *FPMO = dyn_cast<FPMathOperator>(Op)) in visitFPTrunc() local
1864 FMF &= FPMO->getFastMathFlags(); in visitFPTrunc()
H A DInstructionCombining.cpp349 FPMathOperator *FPMO = dyn_cast<FPMathOperator>(&I); in ClearSubclassDataAfterReassociation() local
350 if (!FPMO) { in ClearSubclassDataAfterReassociation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2636 if (auto *FPMO = dyn_cast<FPMathOperator>(CI)) in getVectorIntrinsicCost() local
2637 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
H A DSLPVectorizer.cpp22343 if (auto *FPMO = dyn_cast<FPMathOperator>(U)) in tryToReduce() local
22344 RdxFMF &= FPMO->getFastMathFlags(); in tryToReduce()