Searched refs:__has_builtin (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/Preprocessor/
H A 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)
37 // Macro expansion does not occur in the parameter to __has_builtin,
44 #if __has_builtin(MY_ALIAS_BUILTI
[all...]
/external/google-benchmark/src/
H A Dinternal_macros.h9 #ifndef __has_builtin
10 #define __has_builtin(x) 0 macro
68 #if defined(COMPILER_GCC) || __has_builtin(__builtin_unreachable)
/external/libvpx/libvpx/vpx_util/
H A 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)
H A Dvpx_atomics.h29 #if !defined(__has_builtin)
30 #define __has_builtin(x) 0 // Compatibility with non-clang compilers. macro
31 #endif // !defined(__has_builtin)
33 #if (__has_builtin(__atomic_load_n)) || \
/external/libcxx/utils/google-benchmark/src/
H A Dinternal_macros.h9 #ifndef __has_builtin
10 #define __has_builtin(x) 0 macro
74 #if defined(COMPILER_GCC) || __has_builtin(__builtin_unreachable)
/external/webp/src/utils/
H A 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/vixl/src/
H A 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/brotli/c/include/brotli/
H A Dport.h13 #ifndef __has_builtin
14 #define __has_builtin(x) 0 macro
63 #if BROTLI_MODERN_COMPILER || __has_builtin(__builtin_expect)
/external/v8/include/
H A 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/libcxx/src/include/
H A 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/
H A 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)
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A 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)
/external/compiler-rt/lib/builtins/
H A Dint_math.h24 #ifndef __has_builtin
25 # define __has_builtin(x) 0 macro
49 #if __has_builtin(__builtin_isfinite)
59 #endif /* __has_builtin(__builtin_isfinite) */
/external/fio/os/
H A 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 \
H A 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/mesa3d/src/util/
H A Dmacros.h36 /* For compatibility with Clang's __has_builtin() */
37 #ifndef __has_builtin
38 # define __has_builtin(x) 0 macro
94 #if __has_builtin(__builtin_assume)
/external/dng_sdk/source/
H A 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)
/external/icu/icu4c/source/common/
H A 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/tensorflow/tensorflow/core/lib/hash/
H A Dcrc32c_accelerate.cc28 #if __has_builtin(__builtin_cpu_supports)
/external/libcxx/test/support/
H A Dtest_macros.h42 #ifdef __has_builtin
43 #define TEST_HAS_BUILTIN(X) __has_builtin(X)
/external/swiftshader/third_party/subzero/src/
H A DIceUtils.h74 #if __has_builtin(__builtin_uadd_overflow)
133 #if __has_builtin(__builtin_clz)
/external/brotli/c/dec/
H A Dport.h70 #if BROTLI_MODERN_COMPILER || __has_builtin(__builtin_constant_p)
/external/clang/test/SemaCXX/
H A Dmake_integer_seq.cpp3 static_assert(__has_builtin(__make_integer_seq), "");
H A Dtype_pack_element.cpp3 static_assert(__has_builtin(__type_pack_element), "");
/external/brotli/c/enc/
H A Dfast_log.h22 #if BROTLI_MODERN_COMPILER || __has_builtin(__builtin_clz)

Completed in 574 milliseconds

12