Searched refs:Wrapping (Results 1 – 6 of 6) sorted by relevance
39 class Wrapping; variable59 constexpr bool IsPowerOf2(Wrapping<T> x) { in IsPowerOf2()89 constexpr Wrapping<T> AlignDown(Wrapping<T> x) { in AlignDown()125 constexpr Wrapping<T> AlignUp(Wrapping<T> x) { in AlignUp()161 constexpr bool IsAligned(Wrapping<T> x) { in IsAligned()253 [[nodiscard]] constexpr Wrapping<T> CountRZero(Wrapping<T> x) { in CountRZero()287 [[nodiscard]] constexpr Wrapping<T> Popcount(Wrapping<T> x) { in Popcount()362 [[nodiscard]] constexpr operator Wrapping<IntType>() const {429 [[nodiscard]] constexpr operator Wrapping<IntType>() const {566 class Wrapping {[all …]
33 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int8_t>::min()}>(), in TEST()34 VectorBroadcast<Wrapping{std::numeric_limits<int8_t>::min()}>()); in TEST()35 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int8_t>::max()}>(), in TEST()36 VectorBroadcast<Wrapping{std::numeric_limits<int8_t>::max()}>()); in TEST()37 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<uint8_t>::max()}>(), in TEST()38 VectorBroadcast<Wrapping{std::numeric_limits<uint8_t>::max()}>()); in TEST()39 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int16_t>::min()}>(), in TEST()40 VectorBroadcast<Wrapping{std::numeric_limits<int16_t>::min()}>()); in TEST()41 ASSERT_EQ(VectorBroadcastForTests<Wrapping{std::numeric_limits<int16_t>::max()}>(), in TEST()42 VectorBroadcast<Wrapping{std::numeric_limits<int16_t>::max()}>()); in TEST()[all …]
65 using WrappingType = Wrapping<ElementType>; in Aadd()90 using WrappingType = Wrapping<ElementType>; in Asub()126 Wrapping value{unwrapped_v}; in Roundoff()
10 ############## Options for Wrapping the Contents of the Header #################
1265 using SignedType = Wrapping<std::make_signed_t<typename TypeTraits<ElementType>::Int>>; in OpVector()1477 using SignedType = Wrapping<std::make_signed_t<typename TypeTraits<ElementType>::Int>>; in OpVector()1478 using UnsignedType = Wrapping<std::make_unsigned_t<typename TypeTraits<ElementType>::Int>>; in OpVector()
689 typename Wrapping<typename ElementType::BaseType>::UnsignedType value{ in Viotam()