Home
last modified time | relevance | path

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

12

/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/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/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/mesa3d/src/amd/vulkan/
Dradv_util.h5 #define util_bitcount(i) __builtin_popcount(i)
/external/clang/test/CodeGen/
Dcount-builtins.c17 pop = __builtin_popcount(P); in test_i32()
/external/mesa3d/m4/
Dax_gcc_builtin.m470 # __builtin_popcount
145 [__builtin_popcount], [$1(0)],
/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/mesa3d/src/mesa/main/
Dimports.h329 #define _mesa_bitcount(i) __builtin_popcount(i)
/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/mesa3d/src/gallium/drivers/r600/sb/
Dsb_sched.h162 return __builtin_popcount(used_slots()); in inst_count()
/external/v8/src/base/
Dbits.h32 return __builtin_popcount(value); in CountPopulation32()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h287 return __builtin_popcount(Value); in CountPopulation_32()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c114 uint32_t elem_count = __builtin_popcount(elements) - in emit_vertex_input()
115 __builtin_popcount(elements_double) / 2; in emit_vertex_input()
142 __builtin_popcount(elements & ((1 << desc->location) - 1)) - in emit_vertex_input()
143 DIV_ROUND_UP(__builtin_popcount(elements_double & in emit_vertex_input()
/external/strace/
Dconfigure.ac703 AC_CACHE_CHECK([for __builtin_popcount], [st_cv_have___builtin_popcount],
704 [AC_LINK_IFELSE([AC_LANG_PROGRAM([], [__builtin_popcount(0)])],
709 [Define to 1 if the system provides __builtin_popcount function])
Dsignal.c158 count += __builtin_popcount(x); in popcount32()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h484 return __builtin_popcount(n); in util_bitcount()
/external/llvm/include/llvm/Support/
DMathExtras.h443 return __builtin_popcount(Value);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h465 return __builtin_popcount(Value);

12