Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/
Dwrappers_c_checks.h16 #ifndef __has_builtin
17 #define __has_builtin(X) 0 macro
49 #if __has_builtin(__builtin_umull_overflow) && (SCUDO_WORDSIZE == 64U) in checkForCallocOverflow()
52 #elif __has_builtin(__builtin_umul_overflow) && (SCUDO_WORDSIZE == 32U) in checkForCallocOverflow()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_type_traits.h101 #ifndef __has_builtin
102 # define __has_builtin(x) 0
105 #if __has_builtin(__is_trivially_destructible)
111 #elif __has_builtin(__has_trivial_destructor)
125 #if __has_builtin(__is_trivially_copyable)
/openbsd/src/gnu/llvm/libcxx/src/include/
Datomic_support.h15 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
16 && __has_builtin(__atomic_store_n) \
17 && __has_builtin(__atomic_add_fetch) \
18 && __has_builtin(__atomic_exchange_n) \
19 && __has_builtin(__atomic_compare_exchange_n) \
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
Dbit.h22 #if !__has_builtin(__builtin_bit_cast)
54 #if __has_builtin(__builtin_bit_cast) in bit_cast()
81 #if __has_builtin(__builtin_bswap32) in byteswap()
94 #if __has_builtin(__builtin_bswap64) in byteswap()
144 #if __has_builtin(__builtin_ctz) || defined(__GNUC__)
160 #if __has_builtin(__builtin_ctzll) || defined(__GNUC__)
210 #if __has_builtin(__builtin_clz) || defined(__GNUC__)
226 #if __has_builtin(__builtin_clzll) || defined(__GNUC__)
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DCompiler.h38 #ifndef __has_builtin
39 # define __has_builtin(x) 0 macro
205 #if __has_builtin(__builtin_expect) || defined(__GNUC__)
313 #if __has_builtin(__builtin_unreachable) || defined(__GNUC__)
321 #if __has_builtin(__builtin_trap) || defined(__GNUC__)
336 #if __has_builtin(__builtin_debugtrap)
352 #if __has_builtin(__builtin_assume_aligned) || defined(__GNUC__)
DMathExtras.h165 #if __has_builtin(__builtin_bitreverse8) in reverseBits()
169 #if __has_builtin(__builtin_bitreverse16) in reverseBits()
173 #if __has_builtin(__builtin_bitreverse32) in reverseBits()
177 #if __has_builtin(__builtin_bitreverse64) in reverseBits()
699 #if __has_builtin(__builtin_add_overflow) in AddOverflow()
725 #if __has_builtin(__builtin_sub_overflow) in SubOverflow()
/openbsd/src/gnu/llvm/libcxxabi/src/demangle/
DDemangleConfig.h35 #ifndef __has_builtin
36 #define __has_builtin(x) 0 macro
58 #if __has_builtin(__builtin_unreachable) || DEMANGLE_GNUC_PREREQ(4, 5, 0)
/openbsd/src/gnu/llvm/llvm/include/llvm/Demangle/
DDemangleConfig.h30 #ifndef __has_builtin
31 #define __has_builtin(x) 0 macro
53 #if __has_builtin(__builtin_unreachable) || DEMANGLE_GNUC_PREREQ(4, 5, 0)
/openbsd/src/gnu/llvm/compiler-rt/lib/builtins/
Dint_math.h22 #ifndef __has_builtin
23 #define __has_builtin(x) 0 macro
45 #if __has_builtin(__builtin_isfinite)
Datomic.c369 #if __has_builtin(__c11_atomic_fetch_nand)
/openbsd/src/gnu/llvm/libcxxabi/src/
Dcxa_vector.cpp21 #ifndef __has_builtin
22 #define __has_builtin(x) 0 macro
129 #if (defined(_LIBCXXABI_COMPILER_CLANG) && __has_builtin(__builtin_mul_overflow)) \ in mul_overflow()
139 #if (defined(_LIBCXXABI_COMPILER_CLANG) && __has_builtin(__builtin_add_overflow)) \ in add_overflow()
/openbsd/src/gnu/llvm/clang/lib/Headers/
Darm_acle.h25 #if !__has_builtin(__dmb)
28 #if !__has_builtin(__dsb)
31 #if !__has_builtin(__isb)
37 #if !__has_builtin(__wfi)
43 #if !__has_builtin(__wfe)
49 #if !__has_builtin(__sev)
55 #if !__has_builtin(__sevl)
61 #if !__has_builtin(__yield)
/openbsd/src/gnu/llvm/libcxx/include/
Dsource_location38 #if _LIBCPP_STD_VER >= 20 && __has_builtin(__builtin_source_location) && …
82 #endif // _LIBCPP_STD_VER >= 20 && __has_builtin(__builtin_source_location) && !(defined(_LIBCPP_AP…
D__assert45 #elif !defined(_LIBCPP_ASSERTIONS_DISABLE_ASSUME) && __has_builtin(__builtin_assume)
Dnew265 #if __has_builtin(__builtin_operator_new) && __has_builtin(__builtin_operator_delete)
275 #if __has_builtin(__builtin_operator_new) && __has_builtin(__builtin_operator_delete)
Dcwchar194 #if __has_builtin(__builtin_wcslen)
209 #if __has_builtin(__builtin_wmemcmp)
Dcstring136 #if __has_builtin(__builtin_char_memchr)
Dcmath575 #if __has_builtin(__builtin_isnan)
595 #if __has_builtin(__builtin_isinf)
615 #if __has_builtin(__builtin_isfinite)
Dversion369 # if __has_builtin(__builtin_source_location) && !(defined(_LIBCPP_APPLE_CLANG_VER) && _LIBCPP_APPL…
/openbsd/src/gnu/llvm/clang/lib/Basic/
DStack.cpp24 #if __GNUC__ || __has_builtin(__builtin_frame_address) in getStackPointer()
/openbsd/src/gnu/llvm/libcxx/include/experimental/
Dcoroutine270 #if __has_builtin(__builtin_coro_noop)
308 #endif // __has_builtin(__builtin_coro_noop)
/openbsd/src/gnu/usr.bin/perl/dist/Time-HiRes/
DHiRes.xs838 #ifndef __has_builtin
839 # define __has_builtin(x) 0 /* non-clang */ macro
842 # if defined(PERL_DARWIN) && __has_builtin(__builtin_available)
851 # if defined(PERL_DARWIN) && __has_builtin(__builtin_available)
/openbsd/src/gnu/usr.bin/perl/
Dinline.h1454 #if (__has_builtin(__builtin_clz) || PERL_GCC_VERSION_GE(3,4,0))
1462 #if (__has_builtin(__builtin_ctz) || PERL_GCC_VERSION_GE(3,4,0))
1471 #if (__has_builtin(__builtin_clzl) || PERL_GCC_VERSION_GE(3,4,0))
1479 #if (__has_builtin(__builtin_ctzl) || PERL_GCC_VERSION_GE(3,4,0))
1488 #if (__has_builtin(__builtin_clzll) || PERL_GCC_VERSION_GE(3,4,0))
1496 #if (__has_builtin(__builtin_ctzll) || PERL_GCC_VERSION_GE(3,4,0))
Dperl.h4298 #ifndef __has_builtin
4299 # define __has_builtin(x) 0 /* not a clang style compiler */ macro
4324 #if __has_builtin(__builtin_unreachable)
4332 #elif __has_builtin(__builtin_assume)
/openbsd/src/gnu/llvm/clang/docs/
DLanguageExtensions.rst38 ``__has_builtin``
49 #ifndef __has_builtin // Optional of course.
50 #define __has_builtin(x) 0 // Compatibility with non-clang compilers.
54 #if __has_builtin(__builtin_trap)
63 Prior to Clang 10, ``__has_builtin`` could not be used to detect most builtin
66 ``__has_builtin`` should not be used to detect support for a builtin macro;
1526 * From Clang 10 onwards, ``__has_builtin(__X)`` can be used.
1563 #if __has_builtin(__is_convertible_to)
2289 Query for this feature with ``__has_builtin(__builtin_alloca)``.
2326 Query for this feature with ``__has_builtin(__builtin_alloca_with_align)``.
[all …]

12