Home
last modified time | relevance | path

Searched refs:__has_builtin (Results 1 – 25 of 39) sorted by relevance

12

/external/clang/test/Preprocessor/
Dfeature_tests.c12 #if !__has_builtin(__builtin_huge_val) || \
13 !__has_builtin(__builtin_shufflevector) || \
14 !__has_builtin(__builtin_convertvector) || \
15 !__has_builtin(__builtin_trap) || \
16 !__has_builtin(__c11_atomic_init) || \
22 #if __has_builtin(__builtin_insanity)
32 #if !__has_builtin(__builtin_ia32_emms) || \
33 __has_builtin(__builtin_altivec_abs_v4sf)
44 #if __has_builtin(MY_ALIAS_BUILTIN) || __has_feature(MY_ALIAS_FEATURE)
50 #define HAS_BUILTIN(X) __has_builtin(X)
/external/libvpx/libvpx/vpx_util/
Dendian_inl.h28 #ifndef __has_builtin
29 #define __has_builtin(x) 0 macro
51 #if LOCAL_GCC_PREREQ(4, 8) || __has_builtin(__builtin_bswap16)
55 #if LOCAL_GCC_PREREQ(4, 3) || __has_builtin(__builtin_bswap32)
59 #if LOCAL_GCC_PREREQ(4, 3) || __has_builtin(__builtin_bswap64)
Dvpx_atomics.h29 #if !defined(__has_builtin)
30 #define __has_builtin(x) 0 // Compatibility with non-clang compilers. macro
33 #if (__has_builtin(__atomic_load_n)) || \
/external/v8/include/
Dv8config.h218 # define V8_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz))
219 # define V8_HAS_BUILTIN_CTZ (__has_builtin(__builtin_ctz))
220 # define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect))
221 # define V8_HAS_BUILTIN_FRAME_ADDRESS (__has_builtin(__builtin_frame_address))
222 # define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
223 # define V8_HAS_BUILTIN_SADD_OVERFLOW (__has_builtin(__builtin_sadd_overflow))
224 # define V8_HAS_BUILTIN_SSUB_OVERFLOW (__has_builtin(__builtin_ssub_overflow))
225 # define V8_HAS_BUILTIN_UADD_OVERFLOW (__has_builtin(__builtin_uadd_overflow))
/external/vixl/src/
Dcompiler-intrinsics-vixl.h55 #define COMPILER_HAS_BUILTIN_CLRSB (__has_builtin(__builtin_clrsb))
56 #define COMPILER_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz))
57 #define COMPILER_HAS_BUILTIN_CTZ (__has_builtin(__builtin_ctz))
58 #define COMPILER_HAS_BUILTIN_FFS (__has_builtin(__builtin_ffs))
59 #define COMPILER_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
/external/libcxx/src/include/
Datomic_support.h16 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
17 && __has_builtin(__atomic_store_n) \
18 && __has_builtin(__atomic_add_fetch) \
19 && __has_builtin(__atomic_exchange_n) \
20 && __has_builtin(__atomic_compare_exchange_n) \
/external/llvm/include/llvm/Support/
DCompiler.h36 #ifndef __has_builtin
37 # define __has_builtin(x) 0 macro
175 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0)
257 #if __has_builtin(__builtin_unreachable) || LLVM_GNUC_PREREQ(4, 5, 0)
265 #if __has_builtin(__builtin_trap) || LLVM_GNUC_PREREQ(4, 3, 0)
280 #if __has_builtin(__builtin_debugtrap)
296 #if __has_builtin(__builtin_assume_aligned) || LLVM_GNUC_PREREQ(4, 7, 0)
DMathExtras.h74 #if __has_builtin(__builtin_ctz) || LLVM_GNUC_PREREQ(4, 0, 0)
90 #if __has_builtin(__builtin_ctzll) || LLVM_GNUC_PREREQ(4, 0, 0)
143 #if __has_builtin(__builtin_clz) || LLVM_GNUC_PREREQ(4, 0, 0)
159 #if __has_builtin(__builtin_clzll) || LLVM_GNUC_PREREQ(4, 0, 0)
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCompiler.h40 #ifndef __has_builtin
41 # define __has_builtin(x) 0 macro
177 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0)
272 #if __has_builtin(__builtin_unreachable) || LLVM_GNUC_PREREQ(4, 5, 0)
280 #if __has_builtin(__builtin_trap) || LLVM_GNUC_PREREQ(4, 3, 0)
295 #if __has_builtin(__builtin_debugtrap)
311 #if __has_builtin(__builtin_assume_aligned) || LLVM_GNUC_PREREQ(4, 7, 0)
DMathExtras.h74 #if __has_builtin(__builtin_ctz) || LLVM_GNUC_PREREQ(4, 0, 0)
90 #if __has_builtin(__builtin_ctzll) || LLVM_GNUC_PREREQ(4, 0, 0)
143 #if __has_builtin(__builtin_clz) || LLVM_GNUC_PREREQ(4, 0, 0)
159 #if __has_builtin(__builtin_clzll) || LLVM_GNUC_PREREQ(4, 0, 0)
/external/google-benchmark/src/
Dinternal_macros.h9 #ifndef __has_builtin
10 #define __has_builtin(x) 0 macro
68 #if defined(COMPILER_GCC) || __has_builtin(__builtin_unreachable)
/external/libcxx/utils/google-benchmark/src/
Dinternal_macros.h9 #ifndef __has_builtin
10 #define __has_builtin(x) 0 macro
74 #if defined(COMPILER_GCC) || __has_builtin(__builtin_unreachable)
/external/fio/os/
Dos-android.h23 #ifndef __has_builtin // Optional of course.
24 #define __has_builtin(x) 0 // Compatibility with non-clang compilers. macro
238 #if (__has_builtin(__builtin_bswap16) && __has_builtin(__builtin_bswap32) \
239 && __has_builtin(__builtin_bswap64)) || (__GNUC__ > 4 \
Dos-linux.h24 #ifndef __has_builtin // Optional of course.
25 #define __has_builtin(x) 0 // Compatibility with non-clang compilers. macro
226 #if (__has_builtin(__builtin_bswap16) && __has_builtin(__builtin_bswap32) \
227 && __has_builtin(__builtin_bswap64)) || (__GNUC__ > 4 \
/external/webp/src/utils/
Dendian_inl_utils.h38 #if LOCAL_GCC_PREREQ(4,8) || __has_builtin(__builtin_bswap16)
41 #if LOCAL_GCC_PREREQ(4,3) || __has_builtin(__builtin_bswap32)
44 #if LOCAL_GCC_PREREQ(4,3) || __has_builtin(__builtin_bswap64)
/external/brotli/c/include/brotli/
Dport.h13 #ifndef __has_builtin
14 #define __has_builtin(x) 0 macro
63 #if BROTLI_MODERN_COMPILER || __has_builtin(__builtin_expect)
/external/icu/icu4c/source/common/
Dputilimp.h238 #elif __has_builtin(__c11_atomic_load) && \
239 __has_builtin(__c11_atomic_store) && \
240 __has_builtin(__c11_atomic_fetch_add) && \
241 __has_builtin(__c11_atomic_fetch_sub)
/external/dng_sdk/source/
Ddng_safe_arithmetic.h29 #ifndef __has_builtin
30 #define __has_builtin(x) 0 // Compatibility with non-Clang compilers. macro
112 #if __has_builtin(__builtin_smull_overflow)
150 #if __has_builtin(__builtin_smull_overflow) in SafeInt64Mult()
/external/compiler-rt/lib/builtins/
Dint_math.h24 #ifndef __has_builtin
25 # define __has_builtin(x) 0 macro
49 #if __has_builtin(__builtin_isfinite)
/external/mesa3d/src/util/
Dmacros.h37 #ifndef __has_builtin
38 # define __has_builtin(x) 0 macro
94 #if __has_builtin(__builtin_assume)
/external/libcxx/test/support/
Dtest_macros.h42 #ifdef __has_builtin
43 #define TEST_HAS_BUILTIN(X) __has_builtin(X)
/external/swiftshader/third_party/subzero/src/
DIceUtils.h74 #if __has_builtin(__builtin_uadd_overflow) in add_overflow()
133 #if __has_builtin(__builtin_clz)
/external/brotli/c/enc/
Dfast_log.h22 #if BROTLI_MODERN_COMPILER || __has_builtin(__builtin_clz) in Log2FloorNonZero()
/external/tensorflow/tensorflow/core/lib/hash/
Dcrc32c_accelerate.cc28 #if __has_builtin(__builtin_cpu_supports)
/external/icu/icu4c/source/common/unicode/
Dplatform.h434 #ifndef __has_builtin
435 # define __has_builtin(x) 0 macro

12