Home
last modified time | relevance | path

Searched refs:roundingMode (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFloat.h188 using roundingMode = llvm::RoundingMode; member
275 opStatus add(const IEEEFloat &, roundingMode);
278 opStatus divide(const IEEEFloat &, roundingMode);
284 opStatus roundToIntegral(roundingMode);
527 opStatus normalize(roundingMode, lostFraction);
529 opStatus handleOverflow(roundingMode);
535 roundingMode);
647 opStatus roundToIntegral(roundingMode RM);
1025 roundingMode RM) { in fusedMultiplyAdd()
1037 opStatus roundToIntegral(roundingMode RM) { in roundToIntegral()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFloat.cpp1334 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero()
1807 roundingMode rounding_mode) { in add()
1837 roundingMode rounding_mode) { in divide()
2188 roundingMode rounding_mode, in convert()
2306 roundingMode rounding_mode, bool *isExact) const { in convertToSignExtendedInteger()
4307 roundingMode RM) { in addImpl()
4431 roundingMode RM) { in add()
4436 roundingMode RM) { in subtract()
4559 APFloat::roundingMode RM) { in fusedMultiplyAdd()
4790 APFloat::roundingMode RM) { in scalbn()
[all …]
H A DAPFixedPoint.cpp460 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
461 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in convertToFloat()
508 APFloat::roundingMode RM = APFloat::rmTowardZero; in getFromFloatValue()
509 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in getFromFloatValue()
/llvm-project-15.0.7/libc/src/__support/FPUtil/aarch64/
H A DFEnvImpl.h189 uint32_t roundingMode = in get_round() local
191 switch (roundingMode) { in get_round()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DMagicNumbersCheck.h94 constexpr static llvm::APFloat::roundingMode DefaultRoundingMode =
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtarget.h48 Rounding roundingMode() const { return roundingMode_; } in roundingMode() function
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dhost.cpp88 switch (context.targetCharacteristics().roundingMode().mode) { in SetUpHostFloatingPointEnvironment()
H A Dfold-implementation.h1766 folded->second, context.targetCharacteristics().roundingMode())}; in FoldOperation()
1792 folded->second, context.targetCharacteristics().roundingMode())}; in FoldOperation()
1818 folded->second, context.targetCharacteristics().roundingMode())}; in FoldOperation()
1863 folded->second, context.targetCharacteristics().roundingMode())}; in FoldOperation()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DUniformSupport.h169 const llvm::APFloat::roundingMode roundMode;
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DAPFloatTest.cpp471 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
616 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
2554 APFloat::roundingMode roundingMode = APFloat::rmNearestTiesToEven; in TEST() member
2858 APFloat::roundingMode roundingMode = APFloat::rmNearestTiesToEven; in TEST() member
4136 APFloat::roundingMode RM; in TEST()
4164 uint64_t, APFloat::roundingMode>; in TEST()
4200 APFloat::roundingMode RM; in TEST()
4250 APFloat::roundingMode RM; in TEST()
4304 APFloat::roundingMode RM; in TEST()
4377 APFloat::roundingMode RM; in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstantFolding.cpp1866 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldSSEConvertToInt()
2091 Optional<APFloat::roundingMode> RM; in ConstantFoldScalarCall1()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dexpression.cpp556 Scalar<TYPE>::Read(p, context.targetCharacteristics().roundingMode())}; in ReadRealLiteral()