llvm-runtime-resources-darwin 0.0.0 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +33 -0
- package/include/__clang_cuda_builtin_vars.h +121 -0
- package/include/__clang_cuda_cmath.h +512 -0
- package/include/__clang_cuda_complex_builtins.h +236 -0
- package/include/__clang_cuda_device_functions.h +1572 -0
- package/include/__clang_cuda_intrinsics.h +975 -0
- package/include/__clang_cuda_libdevice_declares.h +468 -0
- package/include/__clang_cuda_math.h +353 -0
- package/include/__clang_cuda_math_forward_declares.h +289 -0
- package/include/__clang_cuda_runtime_wrapper.h +526 -0
- package/include/__clang_cuda_texture_intrinsics.h +1177 -0
- package/include/__clang_gpu_builtin_vars.h +71 -0
- package/include/__clang_gpu_device_functions.h +411 -0
- package/include/__clang_gpu_intrinsics.h +242 -0
- package/include/__clang_hip_cmath.h +848 -0
- package/include/__clang_hip_libdevice_declares.h +238 -0
- package/include/__clang_hip_math.h +1405 -0
- package/include/__clang_hip_runtime_wrapper.h +170 -0
- package/include/__clang_hip_stdlib.h +43 -0
- package/include/__clang_spirv_builtins.h +217 -0
- package/include/__clang_spirv_libdevice_declares.h +170 -0
- package/include/__clang_spirv_math.h +719 -0
- package/include/__float_float.h +176 -0
- package/include/__float_header_macro.h +12 -0
- package/include/__float_infinity_nan.h +20 -0
- package/include/__stdarg___gnuc_va_list.h +13 -0
- package/include/__stdarg___va_copy.h +12 -0
- package/include/__stdarg_header_macro.h +12 -0
- package/include/__stdarg_va_arg.h +22 -0
- package/include/__stdarg_va_copy.h +12 -0
- package/include/__stdarg_va_list.h +13 -0
- package/include/__stddef_header_macro.h +12 -0
- package/include/__stddef_max_align_t.h +27 -0
- package/include/__stddef_null.h +29 -0
- package/include/__stddef_nullptr_t.h +29 -0
- package/include/__stddef_offsetof.h +17 -0
- package/include/__stddef_ptrdiff_t.h +20 -0
- package/include/__stddef_rsize_t.h +20 -0
- package/include/__stddef_size_t.h +20 -0
- package/include/__stddef_unreachable.h +21 -0
- package/include/__stddef_wchar_t.h +28 -0
- package/include/__stddef_wint_t.h +15 -0
- package/include/__wmmintrin_aes.h +140 -0
- package/include/__wmmintrin_pclmul.h +48 -0
- package/include/adcintrin.h +165 -0
- package/include/adxintrin.h +107 -0
- package/include/altivec.h +19434 -0
- package/include/amdgpuintrin.h +164 -0
- package/include/amdhsa_abi.h +83 -0
- package/include/ammintrin.h +183 -0
- package/include/amo.h +220 -0
- package/include/amxavx512intrin.h +596 -0
- package/include/amxcomplexintrin.h +167 -0
- package/include/amxfp16intrin.h +93 -0
- package/include/amxfp8intrin.h +230 -0
- package/include/amxintrin.h +492 -0
- package/include/amxmovrsintrin.h +48 -0
- package/include/andes_vector.h +21 -0
- package/include/arm64_neon.h +21 -0
- package/include/arm64intr.h +45 -0
- package/include/arm_acle.h +866 -0
- package/include/arm_bf16.h +20 -0
- package/include/arm_cde.h +410 -0
- package/include/arm_cmse.h +217 -0
- package/include/arm_fp16.h +596 -0
- package/include/arm_mve.h +19187 -0
- package/include/arm_neon.h +74351 -0
- package/include/arm_neon_sve_bridge.h +182 -0
- package/include/arm_sme.h +3753 -0
- package/include/arm_sve.h +32698 -0
- package/include/arm_vector_types.h +432 -0
- package/include/armintr.h +31 -0
- package/include/avx10_2_512bf16intrin.h +568 -0
- package/include/avx10_2_512convertintrin.h +322 -0
- package/include/avx10_2_512minmaxintrin.h +127 -0
- package/include/avx10_2_512niintrin.h +314 -0
- package/include/avx10_2_512satcvtdsintrin.h +307 -0
- package/include/avx10_2_512satcvtintrin.h +301 -0
- package/include/avx10_2bf16intrin.h +1094 -0
- package/include/avx10_2convertintrin.h +3257 -0
- package/include/avx10_2copyintrin.h +66 -0
- package/include/avx10_2minmaxintrin.h +232 -0
- package/include/avx10_2niintrin.h +409 -0
- package/include/avx10_2satcvtdsintrin.h +376 -0
- package/include/avx10_2satcvtintrin.h +312 -0
- package/include/avx2intrin.h +5190 -0
- package/include/avx512bf16intrin.h +292 -0
- package/include/avx512bitalgintrin.h +75 -0
- package/include/avx512bmmintrin.h +174 -0
- package/include/avx512bmmvlintrin.h +245 -0
- package/include/avx512bwintrin.h +1885 -0
- package/include/avx512cdintrin.h +112 -0
- package/include/avx512dqintrin.h +1350 -0
- package/include/avx512fintrin.h +9351 -0
- package/include/avx512fp16intrin.h +3349 -0
- package/include/avx512ifmaintrin.h +68 -0
- package/include/avx512ifmavlintrin.h +138 -0
- package/include/avx512vbmi2intrin.h +364 -0
- package/include/avx512vbmiintrin.h +98 -0
- package/include/avx512vbmivlintrin.h +179 -0
- package/include/avx512vlbf16intrin.h +527 -0
- package/include/avx512vlbitalgintrin.h +135 -0
- package/include/avx512vlbwintrin.h +3052 -0
- package/include/avx512vlcdintrin.h +202 -0
- package/include/avx512vldqintrin.h +1156 -0
- package/include/avx512vlfp16intrin.h +2090 -0
- package/include/avx512vlintrin.h +8067 -0
- package/include/avx512vlvbmi2intrin.h +702 -0
- package/include/avx512vlvnniintrin.h +308 -0
- package/include/avx512vlvp2intersectintrin.h +123 -0
- package/include/avx512vnniintrin.h +113 -0
- package/include/avx512vp2intersectintrin.h +77 -0
- package/include/avx512vpopcntdqintrin.h +62 -0
- package/include/avx512vpopcntdqvlintrin.h +105 -0
- package/include/avxifmaintrin.h +193 -0
- package/include/avxintrin.h +5064 -0
- package/include/avxneconvertintrin.h +484 -0
- package/include/avxvnniint16intrin.h +451 -0
- package/include/avxvnniint8intrin.h +454 -0
- package/include/avxvnniintrin.h +238 -0
- package/include/bmi2intrin.h +253 -0
- package/include/bmiintrin.h +604 -0
- package/include/builtins.h +19 -0
- package/include/cet.h +66 -0
- package/include/cetintrin.h +115 -0
- package/include/cldemoteintrin.h +36 -0
- package/include/clflushoptintrin.h +36 -0
- package/include/clwbintrin.h +38 -0
- package/include/clzerointrin.h +38 -0
- package/include/cmpccxaddintrin.h +70 -0
- package/include/cpuid.h +451 -0
- package/include/crc32intrin.h +102 -0
- package/include/cuda_wrappers/__utility/declval.h +28 -0
- package/include/cuda_wrappers/algorithm +116 -0
- package/include/cuda_wrappers/bits/basic_string.h +9 -0
- package/include/cuda_wrappers/bits/basic_string.tcc +9 -0
- package/include/cuda_wrappers/bits/c++config.h +61 -0
- package/include/cuda_wrappers/bits/shared_ptr_base.h +9 -0
- package/include/cuda_wrappers/cmath +44 -0
- package/include/cuda_wrappers/complex +90 -0
- package/include/cuda_wrappers/new +108 -0
- package/include/emmintrin.h +4940 -0
- package/include/endian.h +91 -0
- package/include/enqcmdintrin.h +63 -0
- package/include/f16cintrin.h +176 -0
- package/include/float.h +48 -0
- package/include/fma4intrin.h +220 -0
- package/include/fmaintrin.h +826 -0
- package/include/fuzzer/FuzzedDataProvider.h +397 -0
- package/include/fxsrintrin.h +91 -0
- package/include/gfniintrin.h +238 -0
- package/include/gpuintrin.h +348 -0
- package/include/hexagon_circ_brev_intrinsics.h +298 -0
- package/include/hexagon_protos.h +8439 -0
- package/include/hexagon_types.h +2628 -0
- package/include/hlsl_alias_intrinsics_gen.inc +3869 -0
- package/include/hlsl_inline_intrinsics_gen.inc +546 -0
- package/include/hresetintrin.h +49 -0
- package/include/htmintrin.h +212 -0
- package/include/htmxlintrin.h +345 -0
- package/include/hvx_hexagon_protos.h +5421 -0
- package/include/ia32intrin.h +863 -0
- package/include/immintrin.h +597 -0
- package/include/intrin.h +501 -0
- package/include/intrin0.h +256 -0
- package/include/inttypes.h +101 -0
- package/include/invpcidintrin.h +23 -0
- package/include/iso646.h +31 -0
- package/include/keylockerintrin.h +518 -0
- package/include/larchintrin.h +262 -0
- package/include/lasxintrin.h +3999 -0
- package/include/limits.h +133 -0
- package/include/llvm_libc_wrappers/assert.h +32 -0
- package/include/llvm_libc_wrappers/ctype.h +29 -0
- package/include/llvm_libc_wrappers/inttypes.h +32 -0
- package/include/llvm_libc_wrappers/stdio.h +52 -0
- package/include/llvm_libc_wrappers/stdlib.h +32 -0
- package/include/llvm_libc_wrappers/string.h +29 -0
- package/include/llvm_libc_wrappers/time.h +28 -0
- package/include/llvm_offload_wrappers/__llvm_offload.h +31 -0
- package/include/llvm_offload_wrappers/__llvm_offload_device.h +10 -0
- package/include/llvm_offload_wrappers/__llvm_offload_host.h +15 -0
- package/include/lsxintrin.h +3752 -0
- package/include/lwpintrin.h +136 -0
- package/include/lzcntintrin.h +109 -0
- package/include/mm3dnow.h +22 -0
- package/include/mm_malloc.h +67 -0
- package/include/mmintrin.h +1541 -0
- package/include/module.modulemap +375 -0
- package/include/movdirintrin.h +49 -0
- package/include/movrs_avx10_2_512intrin.h +98 -0
- package/include/movrs_avx10_2intrin.h +174 -0
- package/include/movrsintrin.h +59 -0
- package/include/msa.h +573 -0
- package/include/mwaitxintrin.h +62 -0
- package/include/nmmintrin.h +20 -0
- package/include/nvptxintrin.h +208 -0
- package/include/opencl-c-base.h +765 -0
- package/include/opencl-c.h +18737 -0
- package/include/openmp_wrappers/__clang_openmp_device_functions.h +118 -0
- package/include/openmp_wrappers/cmath +132 -0
- package/include/openmp_wrappers/complex +61 -0
- package/include/openmp_wrappers/complex.h +41 -0
- package/include/openmp_wrappers/complex_cmath.h +393 -0
- package/include/openmp_wrappers/math.h +71 -0
- package/include/openmp_wrappers/new +48 -0
- package/include/pconfigintrin.h +40 -0
- package/include/pkuintrin.h +34 -0
- package/include/pmmintrin.h +302 -0
- package/include/popcntintrin.h +59 -0
- package/include/ppc_wrappers/bmi2intrin.h +134 -0
- package/include/ppc_wrappers/bmiintrin.h +165 -0
- package/include/ppc_wrappers/emmintrin.h +2269 -0
- package/include/ppc_wrappers/immintrin.h +27 -0
- package/include/ppc_wrappers/mm_malloc.h +45 -0
- package/include/ppc_wrappers/mmintrin.h +1453 -0
- package/include/ppc_wrappers/nmmintrin.h +26 -0
- package/include/ppc_wrappers/pmmintrin.h +145 -0
- package/include/ppc_wrappers/smmintrin.h +683 -0
- package/include/ppc_wrappers/tmmintrin.h +453 -0
- package/include/ppc_wrappers/x86gprintrin.h +17 -0
- package/include/ppc_wrappers/x86intrin.h +28 -0
- package/include/ppc_wrappers/xmmintrin.h +1827 -0
- package/include/prfchiintrin.h +61 -0
- package/include/prfchwintrin.h +57 -0
- package/include/profile/InstrProfData.inc +1063 -0
- package/include/profile/instr_prof_interface.h +88 -0
- package/include/ptrauth.h +485 -0
- package/include/ptwriteintrin.h +37 -0
- package/include/raointintrin.h +203 -0
- package/include/rdpruintrin.h +57 -0
- package/include/rdseedintrin.h +105 -0
- package/include/riscv_bitmanip.h +202 -0
- package/include/riscv_corev_alu.h +130 -0
- package/include/riscv_crypto.h +178 -0
- package/include/riscv_mips.h +36 -0
- package/include/riscv_nds.h +92 -0
- package/include/riscv_ntlh.h +28 -0
- package/include/riscv_packed_simd.h +644 -0
- package/include/riscv_vector.h +465 -0
- package/include/rtmintrin.h +45 -0
- package/include/s390intrin.h +25 -0
- package/include/sanitizer/allocator_interface.h +106 -0
- package/include/sanitizer/asan_interface.h +398 -0
- package/include/sanitizer/common_interface_defs.h +507 -0
- package/include/sanitizer/coverage_interface.h +36 -0
- package/include/sanitizer/dfsan_interface.h +220 -0
- package/include/sanitizer/hwasan_interface.h +109 -0
- package/include/sanitizer/linux_syscall_hooks.h +3112 -0
- package/include/sanitizer/lsan_interface.h +89 -0
- package/include/sanitizer/msan_interface.h +135 -0
- package/include/sanitizer/netbsd_syscall_hooks.h +5005 -0
- package/include/sanitizer/rtsan_interface.h +75 -0
- package/include/sanitizer/safestack_interface.h +50 -0
- package/include/sanitizer/scudo_interface.h +38 -0
- package/include/sanitizer/tsan_interface.h +316 -0
- package/include/sanitizer/tsan_interface_atomic.h +223 -0
- package/include/sanitizer/tysan_interface.h +36 -0
- package/include/sanitizer/ubsan_interface.h +64 -0
- package/include/serializeintrin.h +30 -0
- package/include/sgxintrin.h +60 -0
- package/include/sha512intrin.h +200 -0
- package/include/shaintrin.h +190 -0
- package/include/sifive_vector.h +192 -0
- package/include/sm3intrin.h +238 -0
- package/include/sm4evexintrin.h +32 -0
- package/include/sm4intrin.h +269 -0
- package/include/smmintrin.h +2352 -0
- package/include/spirvintrin.h +167 -0
- package/include/stdalign.h +24 -0
- package/include/stdarg.h +75 -0
- package/include/stdatomic.h +204 -0
- package/include/stdbool.h +39 -0
- package/include/stdckdint.h +42 -0
- package/include/stdcountof.h +15 -0
- package/include/stddef.h +139 -0
- package/include/stddefer.h +19 -0
- package/include/stdint.h +835 -0
- package/include/stdnoreturn.h +35 -0
- package/include/tbmintrin.h +128 -0
- package/include/tgmath.h +1368 -0
- package/include/tmmintrin.h +779 -0
- package/include/tsxldtrkintrin.h +56 -0
- package/include/uintrintrin.h +157 -0
- package/include/unwind.h +332 -0
- package/include/usermsrintrin.h +51 -0
- package/include/vadefs.h +51 -0
- package/include/vaesintrin.h +86 -0
- package/include/varargs.h +16 -0
- package/include/vecintrin.h +12868 -0
- package/include/velintrin.h +71 -0
- package/include/velintrin_approx.h +120 -0
- package/include/velintrin_gen.h +1257 -0
- package/include/vpclmulqdqintrin.h +30 -0
- package/include/waitpkgintrin.h +42 -0
- package/include/wasm_simd128.h +2160 -0
- package/include/wbnoinvdintrin.h +24 -0
- package/include/wmmintrin.h +23 -0
- package/include/x86gprintrin.h +49 -0
- package/include/x86intrin.h +35 -0
- package/include/xmmintrin.h +3176 -0
- package/include/xopintrin.h +780 -0
- package/include/xsavecintrin.h +84 -0
- package/include/xsaveintrin.h +63 -0
- package/include/xsaveoptintrin.h +34 -0
- package/include/xsavesintrin.h +44 -0
- package/include/xtestintrin.h +27 -0
- package/include/yvals_core.h +25 -0
- package/include/zos_wrappers/builtins.h +18 -0
- package/include/zos_wrappers/grp.h +19 -0
- package/include/zos_wrappers/locale.h +19 -0
- package/include/zos_wrappers/math.h +31 -0
- package/include/zos_wrappers/poll.h +19 -0
- package/include/zos_wrappers/stdlib.h +20 -0
- package/include/zos_wrappers/string.h +19 -0
- package/include/zos_wrappers/time.h +19 -0
- package/include/zos_wrappers/variant.h +19 -0
- package/index.js +5 -0
- package/lib/darwin/libclang_rt.asan_abi_ios.a +0 -0
- package/lib/darwin/libclang_rt.asan_abi_iossim.a +0 -0
- package/lib/darwin/libclang_rt.asan_abi_osx.a +0 -0
- package/lib/darwin/libclang_rt.asan_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.asan_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.cc_kext.a +0 -0
- package/lib/darwin/libclang_rt.cc_kext_ios.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_interceptors_ios.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_interceptors_iossim.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_interceptors_osx.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_ios.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_iossim.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_no_main_ios.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_no_main_iossim.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_no_main_osx.a +0 -0
- package/lib/darwin/libclang_rt.fuzzer_osx.a +0 -0
- package/lib/darwin/libclang_rt.ios.a +0 -0
- package/lib/darwin/libclang_rt.iossim.a +0 -0
- package/lib/darwin/libclang_rt.lsan_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.lsan_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.osx.a +0 -0
- package/lib/darwin/libclang_rt.profile_ios.a +0 -0
- package/lib/darwin/libclang_rt.profile_iossim.a +0 -0
- package/lib/darwin/libclang_rt.profile_osx.a +0 -0
- package/lib/darwin/libclang_rt.rtsan_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.rtsan_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.rtsan_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.stats_client_ios.a +0 -0
- package/lib/darwin/libclang_rt.stats_client_iossim.a +0 -0
- package/lib/darwin/libclang_rt.stats_client_osx.a +0 -0
- package/lib/darwin/libclang_rt.stats_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.stats_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.stats_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.tsan_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.tsan_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.tysan_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.tysan_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.tysan_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.ubsan_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.ubsan_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.ubsan_minimal_ios.a +0 -0
- package/lib/darwin/libclang_rt.ubsan_minimal_ios_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.ubsan_minimal_iossim.a +0 -0
- package/lib/darwin/libclang_rt.ubsan_minimal_iossim_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.ubsan_minimal_osx.a +0 -0
- package/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib +0 -0
- package/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib +0 -0
- package/package.json +40 -1
- package/share/asan_ignorelist.txt +14 -0
- package/share/cfi_ignorelist.txt +17 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/*===---- __float_float.h --------------------------------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __CLANG_FLOAT_FLOAT_H
|
|
11
|
+
#define __CLANG_FLOAT_FLOAT_H
|
|
12
|
+
|
|
13
|
+
#if (defined(__MINGW32__) || defined(_MSC_VER) || defined(_AIX)) && \
|
|
14
|
+
__STDC_HOSTED__
|
|
15
|
+
|
|
16
|
+
/* Undefine anything that we'll be redefining below. */
|
|
17
|
+
# undef FLT_EVAL_METHOD
|
|
18
|
+
# undef FLT_ROUNDS
|
|
19
|
+
# undef FLT_RADIX
|
|
20
|
+
# undef FLT_MANT_DIG
|
|
21
|
+
# undef DBL_MANT_DIG
|
|
22
|
+
# undef LDBL_MANT_DIG
|
|
23
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
|
24
|
+
!defined(__STRICT_ANSI__) || \
|
|
25
|
+
(defined(__cplusplus) && __cplusplus >= 201103L) || \
|
|
26
|
+
(__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE))
|
|
27
|
+
# undef DECIMAL_DIG
|
|
28
|
+
# endif
|
|
29
|
+
# undef FLT_DIG
|
|
30
|
+
# undef DBL_DIG
|
|
31
|
+
# undef LDBL_DIG
|
|
32
|
+
# undef FLT_MIN_EXP
|
|
33
|
+
# undef DBL_MIN_EXP
|
|
34
|
+
# undef LDBL_MIN_EXP
|
|
35
|
+
# undef FLT_MIN_10_EXP
|
|
36
|
+
# undef DBL_MIN_10_EXP
|
|
37
|
+
# undef LDBL_MIN_10_EXP
|
|
38
|
+
# undef FLT_MAX_EXP
|
|
39
|
+
# undef DBL_MAX_EXP
|
|
40
|
+
# undef LDBL_MAX_EXP
|
|
41
|
+
# undef FLT_MAX_10_EXP
|
|
42
|
+
# undef DBL_MAX_10_EXP
|
|
43
|
+
# undef LDBL_MAX_10_EXP
|
|
44
|
+
# undef FLT_MAX
|
|
45
|
+
# undef DBL_MAX
|
|
46
|
+
# undef LDBL_MAX
|
|
47
|
+
# undef FLT_EPSILON
|
|
48
|
+
# undef DBL_EPSILON
|
|
49
|
+
# undef LDBL_EPSILON
|
|
50
|
+
# undef FLT_MIN
|
|
51
|
+
# undef DBL_MIN
|
|
52
|
+
# undef LDBL_MIN
|
|
53
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \
|
|
54
|
+
!defined(__STRICT_ANSI__) || \
|
|
55
|
+
(defined(__cplusplus) && __cplusplus >= 201703L) || \
|
|
56
|
+
(__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE))
|
|
57
|
+
# undef FLT_TRUE_MIN
|
|
58
|
+
# undef DBL_TRUE_MIN
|
|
59
|
+
# undef LDBL_TRUE_MIN
|
|
60
|
+
# undef FLT_DECIMAL_DIG
|
|
61
|
+
# undef DBL_DECIMAL_DIG
|
|
62
|
+
# undef LDBL_DECIMAL_DIG
|
|
63
|
+
# undef FLT_HAS_SUBNORM
|
|
64
|
+
# undef DBL_HAS_SUBNORM
|
|
65
|
+
# undef LDBL_HAS_SUBNORM
|
|
66
|
+
# endif
|
|
67
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || \
|
|
68
|
+
!defined(__STRICT_ANSI__)
|
|
69
|
+
# undef FLT_NORM_MAX
|
|
70
|
+
# undef DBL_NORM_MAX
|
|
71
|
+
# undef LDBL_NORM_MAX
|
|
72
|
+
#endif
|
|
73
|
+
#endif
|
|
74
|
+
|
|
75
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || \
|
|
76
|
+
!defined(__STRICT_ANSI__)
|
|
77
|
+
# undef FLT_SNAN
|
|
78
|
+
# undef DBL_SNAN
|
|
79
|
+
# undef LDBL_SNAN
|
|
80
|
+
#endif
|
|
81
|
+
|
|
82
|
+
/* Characteristics of floating point types, C99 5.2.4.2.2 */
|
|
83
|
+
|
|
84
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
|
85
|
+
(defined(__cplusplus) && __cplusplus >= 201103L)
|
|
86
|
+
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
|
|
87
|
+
#endif
|
|
88
|
+
#define FLT_ROUNDS (__builtin_flt_rounds())
|
|
89
|
+
#define FLT_RADIX __FLT_RADIX__
|
|
90
|
+
|
|
91
|
+
#define FLT_MANT_DIG __FLT_MANT_DIG__
|
|
92
|
+
#define DBL_MANT_DIG __DBL_MANT_DIG__
|
|
93
|
+
#define LDBL_MANT_DIG __LDBL_MANT_DIG__
|
|
94
|
+
|
|
95
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
|
96
|
+
!defined(__STRICT_ANSI__) || \
|
|
97
|
+
(defined(__cplusplus) && __cplusplus >= 201103L) || \
|
|
98
|
+
(__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE))
|
|
99
|
+
# define DECIMAL_DIG __DECIMAL_DIG__
|
|
100
|
+
#endif
|
|
101
|
+
|
|
102
|
+
#define FLT_DIG __FLT_DIG__
|
|
103
|
+
#define DBL_DIG __DBL_DIG__
|
|
104
|
+
#define LDBL_DIG __LDBL_DIG__
|
|
105
|
+
|
|
106
|
+
#define FLT_MIN_EXP __FLT_MIN_EXP__
|
|
107
|
+
#define DBL_MIN_EXP __DBL_MIN_EXP__
|
|
108
|
+
#define LDBL_MIN_EXP __LDBL_MIN_EXP__
|
|
109
|
+
|
|
110
|
+
#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__
|
|
111
|
+
#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
|
|
112
|
+
#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
|
|
113
|
+
|
|
114
|
+
#define FLT_MAX_EXP __FLT_MAX_EXP__
|
|
115
|
+
#define DBL_MAX_EXP __DBL_MAX_EXP__
|
|
116
|
+
#define LDBL_MAX_EXP __LDBL_MAX_EXP__
|
|
117
|
+
|
|
118
|
+
#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__
|
|
119
|
+
#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
|
|
120
|
+
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
|
|
121
|
+
|
|
122
|
+
#define FLT_MAX __FLT_MAX__
|
|
123
|
+
#define DBL_MAX __DBL_MAX__
|
|
124
|
+
#define LDBL_MAX __LDBL_MAX__
|
|
125
|
+
|
|
126
|
+
#define FLT_EPSILON __FLT_EPSILON__
|
|
127
|
+
#define DBL_EPSILON __DBL_EPSILON__
|
|
128
|
+
#define LDBL_EPSILON __LDBL_EPSILON__
|
|
129
|
+
|
|
130
|
+
#define FLT_MIN __FLT_MIN__
|
|
131
|
+
#define DBL_MIN __DBL_MIN__
|
|
132
|
+
#define LDBL_MIN __LDBL_MIN__
|
|
133
|
+
|
|
134
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \
|
|
135
|
+
!defined(__STRICT_ANSI__) || \
|
|
136
|
+
(defined(__cplusplus) && __cplusplus >= 201703L) || \
|
|
137
|
+
(__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE))
|
|
138
|
+
# define FLT_TRUE_MIN __FLT_DENORM_MIN__
|
|
139
|
+
# define DBL_TRUE_MIN __DBL_DENORM_MIN__
|
|
140
|
+
# define LDBL_TRUE_MIN __LDBL_DENORM_MIN__
|
|
141
|
+
# define FLT_DECIMAL_DIG __FLT_DECIMAL_DIG__
|
|
142
|
+
# define DBL_DECIMAL_DIG __DBL_DECIMAL_DIG__
|
|
143
|
+
# define LDBL_DECIMAL_DIG __LDBL_DECIMAL_DIG__
|
|
144
|
+
# define FLT_HAS_SUBNORM __FLT_HAS_DENORM__
|
|
145
|
+
# define DBL_HAS_SUBNORM __DBL_HAS_DENORM__
|
|
146
|
+
# define LDBL_HAS_SUBNORM __LDBL_HAS_DENORM__
|
|
147
|
+
#endif
|
|
148
|
+
|
|
149
|
+
#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || \
|
|
150
|
+
!defined(__STRICT_ANSI__)
|
|
151
|
+
/* C23 5.2.5.3.2p28 */
|
|
152
|
+
# define FLT_SNAN (__builtin_nansf(""))
|
|
153
|
+
# define DBL_SNAN (__builtin_nans(""))
|
|
154
|
+
# define LDBL_SNAN (__builtin_nansl(""))
|
|
155
|
+
|
|
156
|
+
/* C23 5.2.5.3.3p32 */
|
|
157
|
+
# define FLT_NORM_MAX __FLT_NORM_MAX__
|
|
158
|
+
# define DBL_NORM_MAX __DBL_NORM_MAX__
|
|
159
|
+
# define LDBL_NORM_MAX __LDBL_NORM_MAX__
|
|
160
|
+
#endif
|
|
161
|
+
|
|
162
|
+
#ifdef __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
163
|
+
# define FLT16_MANT_DIG __FLT16_MANT_DIG__
|
|
164
|
+
# define FLT16_DECIMAL_DIG __FLT16_DECIMAL_DIG__
|
|
165
|
+
# define FLT16_DIG __FLT16_DIG__
|
|
166
|
+
# define FLT16_MIN_EXP __FLT16_MIN_EXP__
|
|
167
|
+
# define FLT16_MIN_10_EXP __FLT16_MIN_10_EXP__
|
|
168
|
+
# define FLT16_MAX_EXP __FLT16_MAX_EXP__
|
|
169
|
+
# define FLT16_MAX_10_EXP __FLT16_MAX_10_EXP__
|
|
170
|
+
# define FLT16_MAX __FLT16_MAX__
|
|
171
|
+
# define FLT16_EPSILON __FLT16_EPSILON__
|
|
172
|
+
# define FLT16_MIN __FLT16_MIN__
|
|
173
|
+
# define FLT16_TRUE_MIN __FLT16_TRUE_MIN__
|
|
174
|
+
#endif /* __STDC_WANT_IEC_60559_TYPES_EXT__ */
|
|
175
|
+
|
|
176
|
+
#endif /* __CLANG_FLOAT_FLOAT_H */
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*===---- __float_header_macro.h -------------------------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __CLANG_FLOAT_H
|
|
11
|
+
#define __CLANG_FLOAT_H
|
|
12
|
+
#endif /* __CLANG_FLOAT_H */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*===---- __float_infinity_nan.h -------------------------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __CLANG_FLOAT_INFINITY_NAN_H
|
|
11
|
+
#define __CLANG_FLOAT_INFINITY_NAN_H
|
|
12
|
+
|
|
13
|
+
/* C23 5.2.5.3.3p29-30 */
|
|
14
|
+
#undef INFINITY
|
|
15
|
+
#undef NAN
|
|
16
|
+
|
|
17
|
+
#define INFINITY (__builtin_inff())
|
|
18
|
+
#define NAN (__builtin_nanf(""))
|
|
19
|
+
|
|
20
|
+
#endif /* __CLANG_FLOAT_INFINITY_NAN_H */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*===---- __stdarg___gnuc_va_list.h - Definition of __gnuc_va_list ---------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __GNUC_VA_LIST
|
|
11
|
+
#define __GNUC_VA_LIST
|
|
12
|
+
typedef __builtin_va_list __gnuc_va_list;
|
|
13
|
+
#endif
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*===---- __stdarg___va_copy.h - Definition of __va_copy -------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __va_copy
|
|
11
|
+
#define __va_copy(d, s) __builtin_va_copy(d, s)
|
|
12
|
+
#endif
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*===---- __stdarg_header_macro.h ------------------------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __STDARG_H
|
|
11
|
+
#define __STDARG_H
|
|
12
|
+
#endif
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*===---- __stdarg_va_arg.h - Definitions of va_start, va_arg, va_end-------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef va_arg
|
|
11
|
+
|
|
12
|
+
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
|
|
13
|
+
/* C23 uses a special builtin. */
|
|
14
|
+
#define va_start(...) __builtin_c23_va_start(__VA_ARGS__)
|
|
15
|
+
#else
|
|
16
|
+
/* Versions before C23 do require the second parameter. */
|
|
17
|
+
#define va_start(ap, param) __builtin_va_start(ap, param)
|
|
18
|
+
#endif
|
|
19
|
+
#define va_end(ap) __builtin_va_end(ap)
|
|
20
|
+
#define va_arg(ap, type) __builtin_va_arg(ap, type)
|
|
21
|
+
|
|
22
|
+
#endif
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*===---- __stdarg_va_copy.h - Definition of va_copy------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef va_copy
|
|
11
|
+
#define va_copy(dest, src) __builtin_va_copy(dest, src)
|
|
12
|
+
#endif
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*===---- __stdarg_va_list.h - Definition of va_list -----------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef _VA_LIST
|
|
11
|
+
#define _VA_LIST
|
|
12
|
+
typedef __builtin_va_list va_list;
|
|
13
|
+
#endif
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*===---- __stddef_header_macro.h ------------------------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __STDDEF_H
|
|
11
|
+
#define __STDDEF_H
|
|
12
|
+
#endif
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*===---- __stddef_max_align_t.h - Definition of max_align_t ---------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __CLANG_MAX_ALIGN_T_DEFINED
|
|
11
|
+
#define __CLANG_MAX_ALIGN_T_DEFINED
|
|
12
|
+
|
|
13
|
+
#if defined(_MSC_VER)
|
|
14
|
+
typedef double max_align_t;
|
|
15
|
+
#elif defined(__APPLE__)
|
|
16
|
+
typedef long double max_align_t;
|
|
17
|
+
#else
|
|
18
|
+
// Define 'max_align_t' to match the GCC definition.
|
|
19
|
+
typedef struct {
|
|
20
|
+
long long __clang_max_align_nonce1
|
|
21
|
+
__attribute__((__aligned__(__alignof__(long long))));
|
|
22
|
+
long double __clang_max_align_nonce2
|
|
23
|
+
__attribute__((__aligned__(__alignof__(long double))));
|
|
24
|
+
} max_align_t;
|
|
25
|
+
#endif
|
|
26
|
+
|
|
27
|
+
#endif
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*===---- __stddef_null.h - Definition of NULL -----------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(NULL) || !__building_module(_Builtin_stddef)
|
|
11
|
+
|
|
12
|
+
/* linux/stddef.h will define NULL to 0. glibc (and other) headers then define
|
|
13
|
+
* __need_NULL and rely on stddef.h to redefine NULL to the correct value again.
|
|
14
|
+
* Modules don't support redefining macros like that, but support that pattern
|
|
15
|
+
* in the non-modules case.
|
|
16
|
+
*/
|
|
17
|
+
#undef NULL
|
|
18
|
+
|
|
19
|
+
#ifdef __cplusplus
|
|
20
|
+
#if !defined(__MINGW32__) && !defined(_MSC_VER)
|
|
21
|
+
#define NULL __null
|
|
22
|
+
#else
|
|
23
|
+
#define NULL 0
|
|
24
|
+
#endif
|
|
25
|
+
#else
|
|
26
|
+
#define NULL ((void*)0)
|
|
27
|
+
#endif
|
|
28
|
+
|
|
29
|
+
#endif
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*===---- __stddef_nullptr_t.h - Definition of nullptr_t -------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
12
|
+
* and needs to behave as if it was textual.
|
|
13
|
+
*/
|
|
14
|
+
#if !defined(_NULLPTR_T) || \
|
|
15
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
16
|
+
#define _NULLPTR_T
|
|
17
|
+
|
|
18
|
+
#ifdef __cplusplus
|
|
19
|
+
#if defined(_MSC_EXTENSIONS) && defined(_NATIVE_NULLPTR_SUPPORTED)
|
|
20
|
+
namespace std {
|
|
21
|
+
typedef decltype(nullptr) nullptr_t;
|
|
22
|
+
}
|
|
23
|
+
using ::std::nullptr_t;
|
|
24
|
+
#endif
|
|
25
|
+
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
|
|
26
|
+
typedef typeof(nullptr) nullptr_t;
|
|
27
|
+
#endif
|
|
28
|
+
|
|
29
|
+
#endif
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*===---- __stddef_offsetof.h - Definition of offsetof ---------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
12
|
+
* and needs to behave as if it was textual.
|
|
13
|
+
*/
|
|
14
|
+
#if !defined(offsetof) || \
|
|
15
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
16
|
+
#define offsetof(t, d) __builtin_offsetof(t, d)
|
|
17
|
+
#endif
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*===---- __stddef_ptrdiff_t.h - Definition of ptrdiff_t -------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
12
|
+
* and needs to behave as if it was textual.
|
|
13
|
+
*/
|
|
14
|
+
#if !defined(_PTRDIFF_T) || \
|
|
15
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
16
|
+
#define _PTRDIFF_T
|
|
17
|
+
|
|
18
|
+
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
|
19
|
+
|
|
20
|
+
#endif
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*===---- __stddef_rsize_t.h - Definition of rsize_t -----------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
12
|
+
* and needs to behave as if it was textual.
|
|
13
|
+
*/
|
|
14
|
+
#if !defined(_RSIZE_T) || \
|
|
15
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
16
|
+
#define _RSIZE_T
|
|
17
|
+
|
|
18
|
+
typedef __SIZE_TYPE__ rsize_t;
|
|
19
|
+
|
|
20
|
+
#endif
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*===---- __stddef_size_t.h - Definition of size_t -------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
12
|
+
* and needs to behave as if it was textual.
|
|
13
|
+
*/
|
|
14
|
+
#if !defined(_SIZE_T) || \
|
|
15
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
16
|
+
#define _SIZE_T
|
|
17
|
+
|
|
18
|
+
typedef __SIZE_TYPE__ size_t;
|
|
19
|
+
|
|
20
|
+
#endif
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*===---- __stddef_unreachable.h - Definition of unreachable ---------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef __cplusplus
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
14
|
+
* and needs to behave as if it was textual.
|
|
15
|
+
*/
|
|
16
|
+
#if !defined(unreachable) || \
|
|
17
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
18
|
+
#define unreachable() __builtin_unreachable()
|
|
19
|
+
#endif
|
|
20
|
+
|
|
21
|
+
#endif
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*===---- __stddef_wchar.h - Definition of wchar_t -------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__cplusplus) || (defined(_MSC_VER) && !_NATIVE_WCHAR_T_DEFINED)
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* When -fbuiltin-headers-in-system-modules is set this is a non-modular header
|
|
14
|
+
* and needs to behave as if it was textual.
|
|
15
|
+
*/
|
|
16
|
+
#if !defined(_WCHAR_T) || \
|
|
17
|
+
(__has_feature(modules) && !__building_module(_Builtin_stddef))
|
|
18
|
+
#define _WCHAR_T
|
|
19
|
+
|
|
20
|
+
#ifdef _MSC_EXTENSIONS
|
|
21
|
+
#define _WCHAR_T_DEFINED
|
|
22
|
+
#endif
|
|
23
|
+
|
|
24
|
+
typedef __WCHAR_TYPE__ wchar_t;
|
|
25
|
+
|
|
26
|
+
#endif
|
|
27
|
+
|
|
28
|
+
#endif
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*===---- __stddef_wint.h - Definition of wint_t ---------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#ifndef _WINT_T
|
|
11
|
+
#define _WINT_T
|
|
12
|
+
|
|
13
|
+
typedef __WINT_TYPE__ wint_t;
|
|
14
|
+
|
|
15
|
+
#endif
|