Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/llvm-project/libc/src/__support/
H A Dmath_extras.h78 #if __has_builtin(__builtin_addcb) in add_with_carry()
80 #elif __has_builtin(__builtin_addcs) in add_with_carry()
82 #elif __has_builtin(__builtin_addc) in add_with_carry()
84 #elif __has_builtin(__builtin_addcl) in add_with_carry()
86 #elif __has_builtin(__builtin_addcll) in add_with_carry()
104 #if __has_builtin(__builtin_subcb) in sub_with_borrow()
106 #elif __has_builtin(__builtin_subcs) in sub_with_borrow()
108 #elif __has_builtin(__builtin_subc) in sub_with_borrow()
110 #elif __has_builtin(__builtin_subcl) in sub_with_borrow()
112 #elif __has_builtin(__builtin_subcll) in sub_with_borrow()
/freebsd/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)
70 #if __has_builtin(__builtin_copysignf128) || \
73 #elif __has_builtin(__builtin_copysignq)
88 #if __has_builtin(__builtin_fabsf128) || (defined(__GNUC__) && __GNUC__ >= 7)
90 #elif __has_builtin(__builtin_fabsq)
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Datomic.h114 #if __has_builtin(__scoped_atomic_load)
133 #if __has_builtin(__scoped_atomic_store)
189 #if __has_builtin(__scoped_atomic_exchange)
204 #if __has_builtin(__scoped_atomic_fetch_add)
218 #if __has_builtin(__scoped_atomic_fetch_or)
231 #if __has_builtin(__scoped_atomic_fetch_and)
244 #if __has_builtin(__scoped_atomic_fetch_sub)
291 #if __has_builtin(__scoped_atomic_load)
309 #if __has_builtin(__scoped_atomic_store)
341 #if __has_builtin(__scoped_atomic_exchange)
[all …]
H A Dbit.h25 #if __has_builtin(__builtin_memcpy_inline)
40 #if __has_builtin(__builtin_bit_cast) in bit_cast()
46 #if __has_builtin(__builtin_memcpy_inline) in bit_cast()
78 #if __has_builtin(__builtin_ctzg)
106 #if __has_builtin(__builtin_ctzs)
121 #if __has_builtin(__builtin_clzg) in ADD_SPECIALIZATION()
145 #if __has_builtin(__builtin_clzs)
265 #if __has_builtin(__builtin_popcountg)
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c_checks.h16 #ifndef __has_builtin
17 #define __has_builtin(X) 0 macro
47 #if __has_builtin(__builtin_umull_overflow) && (SCUDO_WORDSIZE == 64U) in checkForCallocOverflow()
50 #elif __has_builtin(__builtin_umul_overflow) && (SCUDO_WORDSIZE == 32U) in checkForCallocOverflow()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A 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)
/freebsd/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/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_CONSUM…
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dbit.h23 #if !__has_builtin(__builtin_bit_cast)
91 #if __has_builtin(__builtin_bit_cast) in bit_cast()
118 #if __has_builtin(__builtin_bswap32) in byteswap()
131 #if __has_builtin(__builtin_bswap64) in byteswap()
165 #if __has_builtin(__builtin_ctz) || defined(__GNUC__) in countr_zero()
173 #if __has_builtin(__builtin_ctzll) || defined(__GNUC__) in countr_zero()
211 #if __has_builtin(__builtin_clz) || defined(__GNUC__) in countl_zero()
219 #if __has_builtin(__builtin_clzll) || defined(__GNUC__) in countl_zero()
/freebsd/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/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsic_helpers.h31 #if (__has_builtin(__builtin_spirv_length)) in length_vec_impl()
54 #if (__has_builtin(__builtin_dx_dot2add)) in dot2add_impl()
67 #if (__has_builtin(__builtin_spirv_reflect)) in reflect_vec_impl()
98 #if (__has_builtin(__builtin_spirv_smoothstep)) in smoothstep_impl()
109 #if (__has_builtin(__builtin_spirv_smoothstep)) in smoothstep_vec_impl()
130 #if (__has_builtin(__builtin_spirv_faceforward)) in faceforward_impl()
/freebsd/contrib/llvm-project/libcxx/include/__new/
H A Dallocate.h36 #if __has_builtin(__builtin_operator_new) && __has_builtin(__builtin_operator_delete) in __libcpp_operator_new()
45 #if __has_builtin(__builtin_operator_new) && __has_builtin(__builtin_operator_delete) in __libcpp_operator_delete()
/freebsd/contrib/llvm-project/libcxx/include/__utility/
H A Dinteger_sequence.h34 #if __has_builtin(__make_integer_seq)
38 #elif __has_builtin(__integer_pack)
58 # if __has_builtin(__make_integer_seq)
63 # elif __has_builtin(__integer_pack)
/freebsd/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/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/tools/build/cross-build/include/common/sys/
H A Dcdefs.h200 #ifndef __has_builtin
201 #define __has_builtin(...) 0 macro
293 #if !__has_builtin(__builtin_is_aligned)
297 #if !__has_builtin(__builtin_align_up)
301 #if !__has_builtin(__builtin_align_down)
/freebsd/contrib/llvm-project/libc/shared/
H A Drpc_util.h23 #ifndef __has_builtin
24 #define __has_builtin(x) 0 macro
155 #if __has_builtin(__nvvm_reflect)
158 #elif __has_builtin(__builtin_amdgcn_s_sleep)
160 #elif __has_builtin(__builtin_ia32_pause)
162 #elif __has_builtin(__builtin_arm_isb)
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCompiler.h38 #ifndef __has_builtin
39 # define __has_builtin(x) 0 macro
331 #if __has_builtin(__builtin_expect) || defined(__GNUC__)
459 #if __has_builtin(__builtin_unreachable) || defined(__GNUC__)
467 #if __has_builtin(__builtin_trap) || defined(__GNUC__)
482 #if __has_builtin(__builtin_debugtrap)
498 #if __has_builtin(__builtin_assume_aligned) || defined(__GNUC__)
/freebsd/contrib/llvm-project/libc/src/__support/macros/
H A Dconfig.h18 #ifndef __has_builtin
19 #define __has_builtin(b) 0 macro
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.inc101 #if _LIBCPP_STD_VER >= 23 && __has_builtin(__builtin_is_implicit_lifetime)
110 # if __has_builtin(__reference_constructs_from_temporary)
113 # if __has_builtin(__reference_converts_from_temporary)
125 #if _LIBCPP_STD_VER >= 26 && __has_builtin(__builtin_is_virtual_base_of)
257 #if _LIBCPP_STD_VER >= 23 && __has_builtin(__builtin_is_implicit_lifetime)
294 # if __has_builtin(__reference_constructs_from_temporary)
297 # if __has_builtin(__reference_converts_from_temporary)
309 #if _LIBCPP_STD_VER >= 26 && __has_builtin(__builtin_is_virtual_base_of)
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dshared_count.h25 #if (defined(__clang__) && __has_builtin(__atomic_add_fetch) && defined(__ATOMIC_RELAXED) && …
36 (__has_builtin(__atomic_load_n) || defined(_LIBCPP_COMPILER_GCC)) in __libcpp_relaxed_load()
46 (__has_builtin(__atomic_load_n) || defined(_LIBCPP_COMPILER_GCC)) in __libcpp_acquire_load()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dis_trivially_destructible.h22 #if __has_builtin(__is_trivially_destructible)
28 #elif __has_builtin(__has_trivial_destructor)
H A Dremove_reference.h20 #if __has_builtin(__remove_reference_t)
28 #elif __has_builtin(__remove_reference)
/freebsd/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)
H A Dreference_constructs_from_temporary.h21 #if _LIBCPP_STD_VER >= 23 && __has_builtin(__reference_constructs_from_temporary)
33 #if __has_builtin(__reference_constructs_from_temporary)

1234567