reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/APFloat.h
  269   opStatus add(const IEEEFloat &, roundingMode);
  270   opStatus subtract(const IEEEFloat &, roundingMode);
  271   opStatus multiply(const IEEEFloat &, roundingMode);
  272   opStatus divide(const IEEEFloat &, roundingMode);
  277   opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode);
  278   opStatus roundToIntegral(roundingMode);
  294   opStatus convert(const fltSemantics &, roundingMode, bool *);
  296                             roundingMode, bool *) const;
  297   opStatus convertFromAPInt(const APInt &, bool, roundingMode);
  299                                           bool, roundingMode);
  301                                           bool, roundingMode);
  302   opStatus convertFromString(StringRef, roundingMode);
  325                                   bool upperCase, roundingMode) const;
  448   friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
  450   friend IEEEFloat frexp(const IEEEFloat &X, int &Exp, roundingMode);
  519   opStatus normalize(roundingMode, lostFraction);
  520   opStatus addOrSubtract(const IEEEFloat &, roundingMode, bool subtract);
  521   opStatus handleOverflow(roundingMode);
  522   bool roundAwayFromZero(roundingMode, lostFraction, unsigned int) const;
  524                                         unsigned int, bool, roundingMode,
  527                                     roundingMode);
  528   opStatus convertFromHexadecimalString(StringRef, roundingMode);
  529   opStatus convertFromDecimalString(StringRef, roundingMode);
  531                                  roundingMode) const;
  533                                         roundingMode);
  582 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
  583 IEEEFloat frexp(const IEEEFloat &Val, int &Exp, IEEEFloat::roundingMode RM);
  595                    const APFloat &cc, roundingMode RM);
  598                           DoubleAPFloat &Out, roundingMode RM);
  626   opStatus add(const DoubleAPFloat &RHS, roundingMode RM);
  627   opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM);
  628   opStatus multiply(const DoubleAPFloat &RHS, roundingMode RM);
  629   opStatus divide(const DoubleAPFloat &RHS, roundingMode RM);
  633                             const DoubleAPFloat &Addend, roundingMode RM);
  634   opStatus roundToIntegral(roundingMode RM);
  651   opStatus convertFromString(StringRef, roundingMode);
  655                             unsigned int Width, bool IsSigned, roundingMode RM,
  657   opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
  660                                           roundingMode RM);
  663                                           roundingMode RM);
  665                                   bool UpperCase, roundingMode RM) const;
  678   friend DoubleAPFloat scalbn(DoubleAPFloat X, int Exp, roundingMode);
  679   friend DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, roundingMode);
  956   opStatus add(const APFloat &RHS, roundingMode RM) {
  965   opStatus subtract(const APFloat &RHS, roundingMode RM) {
  974   opStatus multiply(const APFloat &RHS, roundingMode RM) {
  983   opStatus divide(const APFloat &RHS, roundingMode RM) {
 1011                             roundingMode RM) {
 1023   opStatus roundToIntegral(roundingMode RM) {
 1082   opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,
 1085                             unsigned int Width, bool IsSigned, roundingMode RM,
 1090   opStatus convertToInteger(APSInt &Result, roundingMode RM,
 1093                             roundingMode RM) {
 1098                                           roundingMode RM) {
 1104                                           roundingMode RM) {
 1108   opStatus convertFromString(StringRef, roundingMode);
 1153                                   bool UpperCase, roundingMode RM) const {
 1197   friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
 1198   friend APFloat frexp(const APFloat &X, int &Exp, roundingMode RM);
 1208 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) {
 1220 inline APFloat frexp(const APFloat &X, int &Exp, APFloat::roundingMode RM) {
lib/Analysis/ConstantFolding.cpp
 1633   APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero
lib/Support/APFloat.cpp
 1250 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) {
 1274 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode,
 1309 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode,
 1668                                              roundingMode rounding_mode,
 1698                                    roundingMode rounding_mode) {
 1704                                         roundingMode rounding_mode) {
 1710                                         roundingMode rounding_mode) {
 1728                                       roundingMode rounding_mode) {
 1805                                                 roundingMode rounding_mode) {
 1846 IEEEFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mode) {
 1967                                        roundingMode rounding_mode,
 2074     roundingMode rounding_mode, bool *isExact) const {
 2188                             roundingMode rounding_mode, bool *isExact) const {
 2219     const integerPart *src, unsigned int srcCount, roundingMode rounding_mode) {
 2247                                                 roundingMode rounding_mode) {
 2266                                           roundingMode rounding_mode) {
 2292                                           roundingMode rounding_mode) {
 2307                                         roundingMode rounding_mode) {
 2388                                         roundingMode rounding_mode) {
 2471 IEEEFloat::convertFromDecimalString(StringRef str, roundingMode rounding_mode) {
 2612                                                  roundingMode rounding_mode) {
 2664                                            roundingMode rounding_mode) const {
 2711                                           roundingMode rounding_mode) const {
 3845 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode RoundingMode) {
 3866 IEEEFloat frexp(const IEEEFloat &Val, int &Exp, IEEEFloat::roundingMode RM) {
 3951                                          roundingMode RM) {
 4031                                                 roundingMode RM) {
 4075                                      roundingMode RM) {
 4080                                           roundingMode RM) {
 4088                                           APFloat::roundingMode RM) {
 4174                                         APFloat::roundingMode RM) {
 4203                                 APFloat::roundingMode RM) {
 4213 APFloat::opStatus DoubleAPFloat::roundToIntegral(APFloat::roundingMode RM) {
 4319                                                    roundingMode RM) {
 4338                                 roundingMode RM, bool *IsExact) const {
 4346                                                   roundingMode RM) {
 4357                                               bool IsSigned, roundingMode RM) {
 4368                                               bool IsSigned, roundingMode RM) {
 4379                                                roundingMode RM) const {
 4433 DoubleAPFloat scalbn(DoubleAPFloat Arg, int Exp, APFloat::roundingMode RM) {
 4440                     APFloat::roundingMode RM) {
 4466 APFloat::opStatus APFloat::convertFromString(StringRef Str, roundingMode RM) {
 4484                                    roundingMode RM, bool *losesInfo) {
 4549                                             roundingMode rounding_mode,
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 2364     auto roundMode = APFloat::rmNearestTiesToEven;
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  273   enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.h
   81   constexpr static llvm::APFloat::roundingMode DefaultRoundingMode =
unittests/ADT/APFloatTest.cpp
  460   APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven;
  588   APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven;
 3001   const APFloat::roundingMode RM = APFloat::rmNearestTiesToEven;
 3171   const APFloat::roundingMode RM = APFloat::rmNearestTiesToEven;
 3376                               APFloat::fltCategory, APFloat::roundingMode>;
 3404     APFloat::roundingMode RM;
 3432                               uint64_t, APFloat::roundingMode>;
 3468     APFloat::roundingMode RM;
 3504                               uint64_t, APFloat::roundingMode>;
 3518     APFloat::roundingMode RM;
 3538                               APFloat::fltCategory, APFloat::roundingMode>;
 3572     APFloat::roundingMode RM;
 3600                               uint64_t, APFloat::roundingMode>;
 3645     APFloat::roundingMode RM;
 3681                               uint64_t, APFloat::roundingMode>;
 3693     APFloat::roundingMode RM;
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/tuple
   56     struct __is_empty_non_tuple : is_empty<_Tp> { };
  125       constexpr _Head_base(const _Head& __h)
  132         constexpr _Head_base(_UHead&& __h)
  133 	: _M_head_impl(std::forward<_UHead>(__h)) { }
  159       static constexpr _Head&
  162       static constexpr const _Head&
  165       _Head _M_head_impl;
  186     : public _Tuple_impl<_Idx + 1, _Tail...>,
  191       typedef _Tuple_impl<_Idx + 1, _Tail...> _Inherited;
  210       constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
  216         constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
  217 	: _Inherited(std::forward<_UTail>(__tail)...),
  230         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
  235         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
  237 		     (_Tuple_impl<_Idx, _UHead, _UTails...>::_M_tail(__in))),
  239 		(_Tuple_impl<_Idx, _UHead, _UTails...>::_M_head(__in))) { }
  242 	_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
  248 		    const _Head& __head, const _Tail&... __tail)
  313 	  _M_head(*this) = _Tuple_impl<_Idx, _UElements...>::_M_head(__in);
  314 	  _M_tail(*this) = _Tuple_impl<_Idx, _UElements...>::_M_tail(__in);
  344     : private _Head_base<_Idx, _Head>
  348       typedef _Head_base<_Idx, _Head> _Base;
  350       static constexpr _Head&
  353       static constexpr const _Head&
  360       constexpr _Tuple_impl(const _Head& __head)
  365         constexpr _Tuple_impl(_UHead&& __head)
  366 	: _Base(std::forward<_UHead>(__head)) { }
  373       : _Base(std::forward<_Head>(_M_head(__in))) { }
  376         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
  380         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
  390 		    const _Head& __head)
  442 	  _M_head(*this) = _Tuple_impl<_Idx, _UHead>::_M_head(__in);
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  508       return  __not_<is_same<tuple<_Elements...>,
  556     class tuple : public _Tuple_impl<0, _Elements...>
  558       typedef _Tuple_impl<0, _Elements...> _Inherited;
  598             _Elements...>;
  608         constexpr tuple(const _Elements&... __elements)
  619       explicit constexpr tuple(const _Elements&... __elements)
  628                       _Elements...>;
  636                       _Elements...>;
  646         constexpr tuple(_UElements&&... __elements)
  647         : _Inherited(std::forward<_UElements>(__elements)...) { }
  668             _Elements...>;
  678         constexpr tuple(const tuple<_UElements...>& __in)
  702         constexpr tuple(tuple<_UElements...>&& __in)
  730 	      const _Elements&... __elements)
  741                        const _Elements&... __elements)
  853         operator=(const tuple<_UElements...>& __in)
  863         operator=(tuple<_UElements...>&& __in)
 1447     constexpr tuple<typename __decay_and_strip<_Elements>::__type...>
 1448     make_tuple(_Elements&&... __args)
 1450       typedef tuple<typename __decay_and_strip<_Elements>::__type...>
 1452       return __result_type(std::forward<_Elements>(__args)...);
 1588     constexpr tuple<_Elements&...>
 1589     tie(_Elements&... __args) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  825     : public __is_destructible_safe<_Tp>::type
  984       typedef decltype(__test<_Tp, _Arg>(0)) type;
  989     : public __and_<is_destructible<_Tp>,
  990                     __is_direct_constructible_impl<_Tp, _Arg>>
 1072 			 __is_direct_constructible_ref_cast<_Tp, _Arg>,
 1073 			 __is_direct_constructible_new_safe<_Tp, _Arg>
 1079     : public __is_direct_constructible_new<_Tp, _Arg>::type
 1119     : public __is_direct_constructible<_Tp, _Arg>
 1130     : public __is_constructible_impl<_Tp, _Args...>::type
 1215     : public __and_<is_constructible<_Tp, _Args...>,
 1216 		    __is_nt_constructible_impl<_Tp, _Args...>>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1252     : public __is_nothrow_move_constructible_impl<_Tp>
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 2104     { typedef typename remove_cv<_Up>::type __type; };
 2118       typedef typename remove_reference<_Tp>::type __remove_type;
 2131       typedef _Tp __type;
 2144 	typename decay<_Tp>::type>::__type __type;