Home
last modified time | relevance | path

Searched refs:__builtin_popcount (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/test/Sema/
Dconstant-builtins-2.c133 char popcount1[__builtin_popcount(0) == 0 ? 1 : -1];
134 char popcount2[__builtin_popcount(0xF0F0) == 8 ? 1 : -1];
135 char popcount3[__builtin_popcount(~0) == BITSIZE(int) ? 1 : -1];
136 char popcount4[__builtin_popcount(~0L) == BITSIZE(int) ? 1 : -1];
/external/clang/lib/Headers/
Dpopcntintrin.h33 return __builtin_popcount(__A); in _mm_popcnt_u32()
39 return __builtin_popcount(__A); in _popcnt32()
DIntrin.h519 return __builtin_popcount((int)_Value); in __popcnt16()
523 return __builtin_popcount(_Value); in __popcnt()
/external/libcxx/include/support/ibm/
Dsupport.h22 #define __builtin_popcount(x) __popcnt4(x) macro
27 #define __builtin_popcountl(x) __builtin_popcount(x)
/external/vixl/src/vixl/
Dcompiler-intrinsics.h58 #define COMPILER_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
131 return __builtin_popcount(static_cast<unsigned>(value));
/external/libcxx/include/support/win32/
Dsupport.h79 _LIBCPP_ALWAYS_INLINE int __builtin_popcount(unsigned int x) in __builtin_popcount() function
101 return __builtin_popcount(static_cast<int>(x)); in __builtin_popcountl()
/external/clang/test/CodeGen/
Dcount-builtins.c17 pop = __builtin_popcount(P); in test_i32()
/external/libhevc/common/mips/
Dihevc_platform_macros.h86 #define POPCNT_U32(x) __builtin_popcount(x)
/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set.h122 result += __builtin_popcount(mask_[nn]); in GetCount()
/external/libhevc/common/x86/
Dihevc_platform_macros.h71 #define POPCNT_U32(x) __builtin_popcount(x)
/external/libhevc/common/arm/
Dihevc_platform_macros.h119 #define POPCNT_U32(x) __builtin_popcount(x)
/external/llvm/lib/Fuzzer/
DFuzzerInternal.h178 for (auto x : CounterBitmap) Res += __builtin_popcount(x); in TotalBits()
/external/valgrind/coregrind/
Dm_compiler.c51 __builtin_popcount(UInt x) in __builtin_popcount() function
/external/v8/src/base/
Dbits.h24 return __builtin_popcount(value); in CountPopulation32()
/external/v8/include/
Dv8config.h226 # define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
/external/strace/
Dconfigure.ac833 AC_CACHE_CHECK([for __builtin_popcount], [st_cv_have___builtin_popcount],
834 [AC_LINK_IFELSE([AC_LANG_PROGRAM([], [__builtin_popcount(0)])],
839 [Define to 1 if the system provides __builtin_popcount function])
Dsignal.c146 count += __builtin_popcount(x); in popcount32()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h627 return __builtin_popcount(n); in util_bitcount()
/external/opencv3/3rdparty/libwebp/cpu-features/
Dcpu-features.c330 return __builtin_popcount(list->mask); in cpulist_count()
/external/mesa3d/src/mesa/main/
Dimports.h581 #define _mesa_bitcount(i) __builtin_popcount(i)
/external/llvm/include/llvm/Support/
DMathExtras.h420 return __builtin_popcount(Value);
/external/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c350 return __builtin_popcount(list->mask); in cpulist_count()
/external/libunwind_llvm/src/
DCompactUnwinder.hpp26 ((value >> __builtin_ctz(mask)) & (((1 << __builtin_popcount(mask))) - 1))
/external/harfbuzz_ng/src/
Dhb-private.hh309 return __builtin_popcount (mask); in _hb_popcount32()
/external/valgrind/
Dconfigure.ac3824 # Check for __builtin_popcount
3825 AC_MSG_CHECKING([for __builtin_popcount()])
3828 __builtin_popcount(2);
3833 [Define to 1 if compiler provides __builtin_popcount().])

12