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

123

/freebsd-current/include/
H A Dstdckdint.h14 #if __GNUC_PREREQ__(5, 1) || __has_builtin(__builtin_add_overflow)
22 #if __GNUC_PREREQ__(5, 1) || __has_builtin(__builtin_sub_overflow)
30 #if __GNUC_PREREQ__(5, 1) || __has_builtin(__builtin_mul_overflow)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c_checks.h16 #ifndef __has_builtin
17 #define __has_builtin(X) 0 macro
49 #if __has_builtin(__builtin_umull_overflow) && (SCUDO_WORDSIZE == 64U)
52 #elif __has_builtin(__builtin_umul_overflow) && (SCUDO_WORDSIZE == 32U)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/orc/
H A Dcompiler.h28 #ifndef __has_builtin
29 # define __has_builtin(x) 0 macro
58 #if __has_builtin(__builtin_expect)
/freebsd-current/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_trivially_destructible.h22 #if __has_builtin(__is_trivially_destructible)
28 #elif __has_builtin(__has_trivial_destructor)
38 #endif // __has_builtin(__is_trivially_destructible)
H A Dis_reference.h21 #if __has_builtin(__is_lvalue_reference) && __has_builtin(__is_rvalue_reference) && __has_builtin(__is_reference)
41 #else // __has_builtin(__is_lvalue_reference) && etc...
71 #endif // __has_builtin(__is_lvalue_reference) && etc...
H A Dis_referenceable.h22 #if __has_builtin(__is_referenceable)
37 #endif // __has_builtin(__is_referenceable)
H A Dis_compound.h22 #if __has_builtin(__is_compound)
32 #else // __has_builtin(__is_compound)
42 #endif // __has_builtin(__is_compound)
H A Dis_const.h21 #if __has_builtin(__is_const)
43 #endif // __has_builtin(__is_const)
H A Dis_member_object_pointer.h21 #if __has_builtin(__is_member_object_pointer)
31 #else // __has_builtin(__is_member_object_pointer)
42 #endif // __has_builtin(__is_member_object_pointer)
H A Dis_function.h23 #if __has_builtin(__is_function)
34 #endif // __has_builtin(__is_function)
H A Dis_void.h23 #if __has_builtin(__is_void)
43 #endif // __has_builtin(__is_void)
H A Dis_volatile.h21 #if __has_builtin(__is_volatile)
43 #endif // __has_builtin(__is_volatile)
H A Dis_member_pointer.h22 #if __has_builtin(__is_member_pointer)
32 #else // __has_builtin(__is_member_pointer)
43 #endif // __has_builtin(__is_member_pointer)
H A Dis_array.h24 #if __has_builtin(__is_array) && 0
48 #endif // __has_builtin(__is_array)
H A Dremove_volatile.h20 #if __has_builtin(__remove_volatile)
40 #endif // __has_builtin(__remove_volatile)
H A Dis_member_function_pointer.h37 #if __has_builtin(__is_member_function_pointer)
47 #else // __has_builtin(__is_member_function_pointer)
58 #endif // __has_builtin(__is_member_function_pointer)
/freebsd-current/contrib/libcxxrt/
H A Datomic.h2 #ifndef __has_builtin
3 # define __has_builtin(x) 0 macro
15 #if __has_builtin(__c11_atomic_exchange)
92 #if __has_builtin(__c11_atomic_compare_exchange_strong)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_math.h22 #ifndef __has_builtin
23 #define __has_builtin(x) 0 macro
45 #if __has_builtin(__builtin_isfinite)
55 #endif // __has_builtin(__builtin_isfinite)
68 #if __has_builtin(__builtin_copysignf128)
70 #elif __has_builtin(__builtin_copysignq) || (defined(__GNUC__) && __GNUC__ >= 7)
83 #if __has_builtin(__builtin_fabsf128)
85 #elif __has_builtin(__builtin_fabsq) || (defined(__GNUC__) && __GNUC__ >= 7)
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dportability_macros.h30 #ifndef __has_builtin
31 # define __has_builtin(x) 0 macro
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DDemangleConfig.h30 #ifndef __has_builtin
31 #define __has_builtin(x) 0 macro
53 #if __has_builtin(__builtin_unreachable) || DEMANGLE_GNUC_PREREQ(4, 5, 0)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_type_traits.h101 #ifndef __has_builtin
102 # define __has_builtin(x) 0 macro
105 #if __has_builtin(__is_trivially_destructible)
111 #elif __has_builtin(__has_trivial_destructor)
125 #if __has_builtin(__is_trivially_copyable)
/freebsd-current/contrib/llvm-project/libcxx/include/__coroutine/
H A Dnoop_coroutine_handle.h23 # if __has_builtin(__builtin_coro_noop) || defined(_LIBCPP_COMPILER_GCC)
59 # if __has_builtin(__builtin_coro_noop)
81 # endif // __has_builtin(__builtin_coro_noop)
93 # endif // __has_builtin(__builtin_coro_noop) || defined(_LIBCPP_COMPILER_GCC)
/freebsd-current/contrib/llvm-project/libcxx/src/include/
H A Datomic_support.h15 #if defined(__clang__) && __has_builtin(__atomic_load_n) && __has_builtin(__atomic_store_n) && \
16 __has_builtin(__atomic_add_fetch) && __has_builtin(__atomic_exchange_n) && \
17 __has_builtin(__atomic_compare_exchange_n) && defined(__ATOMIC_RELAXED) && defined(__ATOMIC_CONSUME) && \
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DStack.cpp24 #if __GNUC__ || __has_builtin(__builtin_frame_address)
/freebsd-current/sys/dev/random/
H A Dunit_test.h39 #if defined(clang) && __has_builtin(__builtin_readcyclecounter)

Completed in 365 milliseconds

123