Home
last modified time | relevance | path

Searched refs:__shift (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libcxx/include/
H A Dcstddef111 operator<<=(byte& __lhs, _Integer __shift) noexcept
112 { return __lhs = __lhs << __shift; }
116 operator<< (byte __lhs, _Integer __shift) noexcept
117 …{ return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) << __shift)…
121 operator>>=(byte& __lhs, _Integer __shift) noexcept
122 { return __lhs = __lhs >> __shift; }
126 operator>> (byte __lhs, _Integer __shift) noexcept
127 …{ return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) >> __shift)…
/llvm-project-15.0.7/clang/lib/Headers/ppc_wrappers/
H A Dtmmintrin.h100 return (__m128i)vec_sro((__v16qu)__A, __shift); in _mm_alignr_epi8()
102 return (__m128i)vec_slo((__v16qu)__A, __shift); in _mm_alignr_epi8()
125 const __v4su __shift = {__count << 3, 0, 0, 0}; in _mm_alignr_pi8() local
126 __C = (__v2du)vec_sro((__v16qu)__C, (__v16qu)__shift); in _mm_alignr_pi8()
128 const __v4su __shift = {0, 0, 0, __count << 3}; in _mm_alignr_pi8() local
129 __C = (__v2du)vec_slo((__v16qu)__C, (__v16qu)__shift); in _mm_alignr_pi8()
420 const __v4su __shift = vec_splats((unsigned int)14); in _mm_mulhrs_epi16() local
421 __C = vec_sr(__C, __shift); in _mm_mulhrs_epi16()
422 __D = vec_sr(__D, __shift); in _mm_mulhrs_epi16()
439 const __v4su __shift = vec_splats((unsigned int)14); in _mm_mulhrs_pi16() local
[all …]
H A Demmintrin.h1561 __v16qu __shift = vec_splats((unsigned char)(__N * 8)); in _mm_bsrli_si128() local
1563 __result = vec_sro((__v16qu)__A, __shift); in _mm_bsrli_si128()
1565 __result = vec_slo((__v16qu)__A, __shift); in _mm_bsrli_si128()
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformat_arg_store.h197 int __shift = 0; in __create_packed_storage() local
201 if (__shift != 0) in __create_packed_storage()
202 __types |= static_cast<uint64_t>(__arg.__type_) << __shift; in __create_packed_storage()
206 __shift += __packed_arg_t_bits; in __create_packed_storage()
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dhash.h102 static _Size __rotate(_Size __val, int __shift) {
103 return __shift == 0 ? __val : ((__val >> __shift) | (__val << (64 - __shift)));
106 static _Size __rotate_by_at_least_1(_Size __val, int __shift) {
107 return (__val >> __shift) | (__val << (64 - __shift));
/llvm-project-15.0.7/libcxx/benchmarks/
H A Dunordered_set_operations.bench.cpp27 std::size_t rotate_by_at_least_1(std::size_t __val, int __shift) { in rotate_by_at_least_1() argument
28 return (__val >> __shift) | (__val << (64 - __shift)); in rotate_by_at_least_1()
/llvm-project-15.0.7/libcxx/src/ryu/
H A Df2s.cpp114 …BI inline uint32_t __mulShift(const uint32_t __m, const uint64_t __factor, const int32_t __shift) { in __mulShift() argument
115 _LIBCPP_ASSERT(__shift > 32, ""); in __mulShift()
132 const int32_t __s = __shift - 32; in __mulShift()
136 const uint64_t __shiftedSum = __sum >> (__shift - 32); in __mulShift()