Home
last modified time | relevance | path

Searched refs:__has_builtin (Results 1 – 25 of 45) 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/v8/include/
Dv8config.h225 # define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16))
226 # define V8_HAS_BUILTIN_BSWAP32 (__has_builtin(__builtin_bswap32))
227 # define V8_HAS_BUILTIN_BSWAP64 (__has_builtin(__builtin_bswap64))
228 # define V8_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz))
229 # define V8_HAS_BUILTIN_CTZ (__has_builtin(__builtin_ctz))
230 # define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect))
231 # define V8_HAS_BUILTIN_FRAME_ADDRESS (__has_builtin(__builtin_frame_address))
232 # define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
233 # define V8_HAS_BUILTIN_SADD_OVERFLOW (__has_builtin(__builtin_sadd_overflow))
234 # define V8_HAS_BUILTIN_SSUB_OVERFLOW (__has_builtin(__builtin_ssub_overflow))
[all …]
/external/libaom/libaom/aom_util/
Dendian_inl.h32 #ifndef __has_builtin
33 #define __has_builtin(x) 0 macro
55 #if LOCAL_GCC_PREREQ(4, 8) || __has_builtin(__builtin_bswap16)
59 #if LOCAL_GCC_PREREQ(4, 3) || __has_builtin(__builtin_bswap32)
63 #if LOCAL_GCC_PREREQ(4, 3) || __has_builtin(__builtin_bswap64)
/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/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/libcxxabi/src/include/
Datomic_support.h20 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
21 && __has_builtin(__atomic_store_n) \
22 && __has_builtin(__atomic_add_fetch) \
23 && __has_builtin(__atomic_exchange_n) \
24 && __has_builtin(__atomic_compare_exchange_n) \
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCompiler.h43 #ifndef __has_builtin
44 # define __has_builtin(x) 0 macro
174 #if __has_builtin(__builtin_expect) || LLVM_GNUC_PREREQ(4, 0, 0)
271 #if __has_builtin(__builtin_unreachable) || LLVM_GNUC_PREREQ(4, 5, 0)
279 #if __has_builtin(__builtin_trap) || LLVM_GNUC_PREREQ(4, 3, 0)
294 #if __has_builtin(__builtin_debugtrap)
310 #if __has_builtin(__builtin_assume_aligned) || LLVM_GNUC_PREREQ(4, 7, 0)
/external/webp/src/utils/
Dendian_inl_utils.h31 #if LOCAL_GCC_PREREQ(4,8) || __has_builtin(__builtin_bswap16)
34 #if LOCAL_GCC_PREREQ(4,3) || __has_builtin(__builtin_bswap32)
37 #if LOCAL_GCC_PREREQ(4,3) || __has_builtin(__builtin_bswap64)
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DCompiler.h36 #ifndef __has_builtin
37 #define __has_builtin(x) 0 macro
59 #if __has_builtin(__builtin_unreachable) || LLVM_GNUC_PREREQ(4, 5, 0)
/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/icu/icu4c/source/common/
Dputilimp.h226 #elif __has_builtin(__c11_atomic_load) && \
227 __has_builtin(__c11_atomic_store) && \
228 __has_builtin(__c11_atomic_fetch_add) && \
229 __has_builtin(__c11_atomic_fetch_sub)
/external/mesa3d/src/util/
Dmacros.h37 #ifndef __has_builtin
38 # define __has_builtin(x) 0 macro
94 #if __has_builtin(__builtin_assume)
/external/tensorflow/tensorflow/core/platform/
Dmacros.h71 #ifdef __has_builtin
72 #define TF_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/libcxx/test/support/
Dtest_macros.h40 #ifdef __has_builtin
41 #define TEST_HAS_BUILTIN(X) __has_builtin(X)
/external/brotli/c/include/brotli/
Dport.h213 #if defined(__has_builtin)
215 __has_builtin(builtin)
/external/lzma/C/
DCpuArch.h239 #ifdef __has_builtin
240 #define MY__has_builtin(x) __has_builtin(x)
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/
Dnoop_coroutine.pass.cpp23 #if __has_builtin(__builtin_coro_noop)

12