Home
last modified time | relevance | path

Searched refs:__builtin_popcount (Results 1 – 25 of 32) 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.h43 return __builtin_popcount(__A); in _mm_popcnt_u32()
59 return __builtin_popcount(__A); in _popcnt32()
Dintrin.h518 return __builtin_popcount((int)_Value); in __popcnt16()
522 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/
Dcompiler-intrinsics-vixl.h59 #define COMPILER_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
137 return __builtin_popcount(static_cast<unsigned>(value));
/external/libcxx/include/support/win32/
Dsupport.h61 _LIBCPP_ALWAYS_INLINE int __builtin_popcount(unsigned int x) in __builtin_popcount() function
83 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/valgrind/coregrind/
Dm_compiler.c51 __builtin_popcount(UInt x) in __builtin_popcount() function
/external/v8/include/
Dv8config.h222 # define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h287 return __builtin_popcount(Value); in CountPopulation_32()
/external/v8/src/base/
Dbits.h32 return __builtin_popcount(value); in CountPopulation32()
/external/strace/
Dconfigure.ac684 AC_CACHE_CHECK([for __builtin_popcount], [st_cv_have___builtin_popcount],
685 [AC_LINK_IFELSE([AC_LANG_PROGRAM([], [__builtin_popcount(0)])],
690 [Define to 1 if the system provides __builtin_popcount function])
Dsignal.c157 count += __builtin_popcount(x); in popcount32()
Dconfig.h.in1113 /* Define to 1 if the system provides __builtin_popcount function */
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h627 return __builtin_popcount(n); in util_bitcount()
/external/mesa3d/src/mesa/main/
Dimports.h581 #define _mesa_bitcount(i) __builtin_popcount(i)
/external/llvm/include/llvm/Support/
DMathExtras.h443 return __builtin_popcount(Value);
/external/libunwind_llvm/src/
DCompactUnwinder.hpp26 ((value >> __builtin_ctz(mask)) & (((1 << __builtin_popcount(mask))) - 1))
/external/harfbuzz_ng/src/
Dhb-private.hh310 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().])
/external/valgrind/coregrind/m_debuginfo/
Dminilzo-inl.c2630 #define lzo_bitops_popcount32(v) ((unsigned) __builtin_popcount(v))
3163 #define lzo_bitops_popcount32(v) ((unsigned) __builtin_popcount(v))

12