Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcstddef106 _LIBCPP_HIDE_FROM_ABI constexpr byte& operator<<=(byte& __lhs, _Integer __shift) noexcept {
107 return __lhs = __lhs << __shift;
111 _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept {
112 return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) << __shift));
116 _LIBCPP_HIDE_FROM_ABI constexpr byte& operator>>=(byte& __lhs, _Integer __shift) noexcept {
117 return __lhs = __lhs >> __shift;
121 _LIBCPP_HIDE_FROM_ABI constexpr byte operator>>(byte __lhs, _Integer __shift) noexcept {
122 return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) >> __shift));
/freebsd-14.2/contrib/llvm-project/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.h1562 __v16qu __shift = vec_splats((unsigned char)(__N * 8)); in _mm_bsrli_si128() local
1564 __result = vec_sro((__v16qu)__A, __shift); in _mm_bsrli_si128()
1566 __result = vec_slo((__v16qu)__A, __shift); in _mm_bsrli_si128()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg_store.h211 int __shift = 0; in __create_packed_storage() local
215 if (__shift != 0) in __create_packed_storage()
216 __types |= static_cast<uint64_t>(__arg.__type_) << __shift; in __create_packed_storage()
220 __shift += __packed_arg_t_bits; in __create_packed_storage()
H A Dparser_std_format_spec.h223 uint32_t __shift = static_cast<uint32_t>(__t); in __create_type_mask() local
224 if (__shift == 0) in __create_type_mask()
227 if (__shift > 31) in __create_type_mask()
230 return 1 << __shift; in __create_type_mask()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dhash.h136 _LIBCPP_HIDE_FROM_ABI static _Size __rotate(_Size __val, int __shift) {
137 return __shift == 0 ? __val : ((__val >> __shift) | (__val << (64 - __shift)));
140 _LIBCPP_HIDE_FROM_ABI static _Size __rotate_by_at_least_1(_Size __val, int __shift) {
141 return (__val >> __shift) | (__val << (64 - __shift));
/freebsd-14.2/contrib/llvm-project/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_INTERNAL(__shift > 32, ""); in __mulShift()
132 const int32_t __s = __shift - 32; in __mulShift()
136 const uint64_t __shiftedSum = __sum >> (__shift - 32); in __mulShift()