@cpp-linter/clang-tidy-win32-x64 20.1.0 → 22.1.8
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/README.md +2 -2
- package/bin/clang-tidy.exe +2 -2
- package/lib/clang/22/include/__clang_cuda_complex_builtins.h +229 -0
- package/lib/clang/{20 → 22}/include/__clang_cuda_device_functions.h +1 -1
- package/lib/clang/{20 → 22}/include/__clang_cuda_intrinsics.h +295 -8
- package/lib/clang/{20 → 22}/include/__clang_cuda_runtime_wrapper.h +19 -0
- package/lib/clang/{20 → 22}/include/__clang_cuda_texture_intrinsics.h +437 -2
- package/lib/clang/{20 → 22}/include/__clang_hip_cmath.h +9 -8
- package/lib/clang/{20 → 22}/include/__clang_hip_libdevice_declares.h +29 -42
- package/lib/clang/{20 → 22}/include/__clang_hip_math.h +107 -31
- package/lib/clang/{20 → 22}/include/__clang_hip_runtime_wrapper.h +6 -0
- package/lib/clang/22/include/__clang_spirv_builtins.h +217 -0
- package/lib/clang/{20/include/float.h → 22/include/__float_float.h} +14 -34
- package/lib/clang/22/include/__float_header_macro.h +12 -0
- package/lib/clang/22/include/__float_infinity_nan.h +20 -0
- package/lib/clang/{20 → 22}/include/__stdarg_va_arg.h +2 -2
- package/lib/clang/{20 → 22}/include/altivec.h +82 -79
- package/lib/clang/{20 → 22}/include/amdgpuintrin.h +23 -26
- package/lib/clang/22/include/amo.h +131 -0
- package/lib/clang/{20 → 22}/include/amxavx512intrin.h +216 -2
- package/lib/clang/{20 → 22}/include/amxcomplexintrin.h +4 -6
- package/lib/clang/{20 → 22}/include/amxintrin.h +0 -2
- package/lib/clang/22/include/andes_vector.h +16 -0
- package/lib/clang/{20 → 22}/include/arm_acle.h +48 -68
- package/lib/clang/{20 → 22}/include/arm_fp16.h +89 -89
- package/lib/clang/{20 → 22}/include/arm_neon.h +22413 -19759
- package/lib/clang/{20 → 22}/include/arm_sme.h +702 -8
- package/lib/clang/{20 → 22}/include/arm_sve.h +6346 -5626
- package/lib/clang/{20 → 22}/include/avx10_2_512bf16intrin.h +19 -12
- package/lib/clang/{20 → 22}/include/avx10_2_512convertintrin.h +25 -23
- package/lib/clang/{20 → 22}/include/avx10_2_512niintrin.h +31 -31
- package/lib/clang/{20 → 22}/include/avx10_2_512satcvtdsintrin.h +29 -25
- package/lib/clang/{20 → 22}/include/avx10_2_512satcvtintrin.h +84 -84
- package/lib/clang/{20 → 22}/include/avx10_2bf16intrin.h +54 -45
- package/lib/clang/22/include/avx10_2convertintrin.h +3257 -0
- package/lib/clang/{20 → 22}/include/avx10_2copyintrin.h +1 -1
- package/lib/clang/{20 → 22}/include/avx10_2minmaxintrin.h +18 -63
- package/lib/clang/22/include/avx10_2niintrin.h +409 -0
- package/lib/clang/22/include/avx10_2satcvtdsintrin.h +376 -0
- package/lib/clang/22/include/avx10_2satcvtintrin.h +312 -0
- package/lib/clang/{20 → 22}/include/avx2intrin.h +275 -377
- package/lib/clang/{20 → 22}/include/avx512bf16intrin.h +25 -16
- package/lib/clang/{20 → 22}/include/avx512bitalgintrin.h +19 -30
- package/lib/clang/{20 → 22}/include/avx512bwintrin.h +386 -505
- package/lib/clang/22/include/avx512cdintrin.h +112 -0
- package/lib/clang/{20 → 22}/include/avx512dqintrin.h +132 -161
- package/lib/clang/{20 → 22}/include/avx512fintrin.h +1015 -1424
- package/lib/clang/{20 → 22}/include/avx512fp16intrin.h +114 -111
- package/lib/clang/22/include/avx512ifmaintrin.h +68 -0
- package/lib/clang/22/include/avx512ifmavlintrin.h +138 -0
- package/lib/clang/{20 → 22}/include/avx512vbmi2intrin.h +43 -32
- package/lib/clang/{20 → 22}/include/avx512vbmiintrin.h +19 -27
- package/lib/clang/{20 → 22}/include/avx512vbmivlintrin.h +35 -49
- package/lib/clang/{20 → 22}/include/avx512vlbf16intrin.h +32 -22
- package/lib/clang/{20 → 22}/include/avx512vlbitalgintrin.h +37 -53
- package/lib/clang/{20 → 22}/include/avx512vlbwintrin.h +470 -573
- package/lib/clang/22/include/avx512vlcdintrin.h +202 -0
- package/lib/clang/{20 → 22}/include/avx512vldqintrin.h +110 -127
- package/lib/clang/{20 → 22}/include/avx512vlfp16intrin.h +130 -111
- package/lib/clang/{20 → 22}/include/avx512vlintrin.h +945 -1299
- package/lib/clang/{20 → 22}/include/avx512vlvbmi2intrin.h +78 -63
- package/lib/clang/{20 → 22}/include/avx512vlvnniintrin.h +21 -18
- package/lib/clang/{20 → 22}/include/avx512vlvp2intersectintrin.h +2 -2
- package/lib/clang/{20 → 22}/include/avx512vnniintrin.h +10 -10
- package/lib/clang/{20 → 22}/include/avx512vp2intersectintrin.h +1 -2
- package/lib/clang/{20 → 22}/include/avx512vpopcntdqintrin.h +8 -10
- package/lib/clang/{20 → 22}/include/avx512vpopcntdqvlintrin.h +17 -15
- package/lib/clang/{20 → 22}/include/avxifmaintrin.h +16 -0
- package/lib/clang/{20 → 22}/include/avxintrin.h +165 -241
- package/lib/clang/{20 → 22}/include/avxvnniint16intrin.h +118 -99
- package/lib/clang/{20 → 22}/include/avxvnniint8intrin.h +56 -32
- package/lib/clang/{20 → 22}/include/avxvnniintrin.h +16 -8
- package/lib/clang/{20 → 22}/include/bmiintrin.h +0 -4
- package/lib/clang/{20 → 22}/include/cpuid.h +125 -26
- package/lib/clang/22/include/cuda_wrappers/__utility/declval.h +28 -0
- package/lib/clang/22/include/cuda_wrappers/bits/c++config.h +61 -0
- package/lib/clang/{20 → 22}/include/cuda_wrappers/cmath +0 -50
- package/lib/clang/{20 → 22}/include/emmintrin.h +168 -168
- package/lib/clang/{20 → 22}/include/f16cintrin.h +23 -9
- package/lib/clang/22/include/float.h +48 -0
- package/lib/clang/22/include/fma4intrin.h +220 -0
- package/lib/clang/{20 → 22}/include/fmaintrin.h +96 -66
- package/lib/clang/{20 → 22}/include/gfniintrin.h +21 -16
- package/lib/clang/{20 → 22}/include/gpuintrin.h +117 -11
- package/lib/clang/{20 → 22}/include/hexagon_types.h +23 -20
- package/lib/clang/{20/include/hlsl/hlsl_intrinsics.h → 22/include/hlsl/hlsl_alias_intrinsics.h} +643 -296
- package/lib/clang/22/include/hlsl/hlsl_basic_types.h +370 -0
- package/lib/clang/22/include/hlsl/hlsl_compat_overloads.h +520 -0
- package/lib/clang/22/include/hlsl/hlsl_detail.h +54 -0
- package/lib/clang/22/include/hlsl/hlsl_intrinsic_helpers.h +190 -0
- package/lib/clang/22/include/hlsl/hlsl_intrinsics.h +794 -0
- package/lib/clang/22/include/hlsl/hlsl_spirv.h +28 -0
- package/lib/clang/{20 → 22}/include/hlsl.h +12 -0
- package/lib/clang/{20 → 22}/include/hvx_hexagon_protos.h +649 -860
- package/lib/clang/{20 → 22}/include/immintrin.h +0 -236
- package/lib/clang/{20 → 22}/include/intrin.h +25 -4
- package/lib/clang/{20 → 22}/include/keylockerintrin.h +0 -9
- package/lib/clang/{20 → 22}/include/lasxintrin.h +113 -0
- package/lib/clang/{20 → 22}/include/llvm_libc_wrappers/assert.h +3 -5
- package/lib/clang/22/include/llvm_libc_wrappers/ctype.h +28 -0
- package/lib/clang/{20 → 22}/include/llvm_libc_wrappers/inttypes.h +3 -5
- package/lib/clang/22/include/llvm_libc_wrappers/stdio.h +52 -0
- package/lib/clang/22/include/llvm_libc_wrappers/stdlib.h +32 -0
- package/lib/clang/22/include/llvm_libc_wrappers/string.h +28 -0
- package/lib/clang/{20 → 22}/include/llvm_libc_wrappers/time.h +4 -10
- package/lib/clang/{20 → 22}/include/lzcntintrin.h +6 -4
- package/lib/clang/{20 → 22}/include/mmintrin.h +188 -257
- package/lib/clang/{20 → 22}/include/module.modulemap +36 -4
- package/lib/clang/{20 → 22}/include/movrs_avx10_2_512intrin.h +2 -2
- package/lib/clang/{20 → 22}/include/movrs_avx10_2intrin.h +4 -4
- package/lib/clang/{20 → 22}/include/movrsintrin.h +1 -1
- package/lib/clang/{20 → 22}/include/nvptxintrin.h +48 -31
- package/lib/clang/{20 → 22}/include/opencl-c-base.h +18 -93
- package/lib/clang/{20 → 22}/include/opencl-c.h +360 -55
- package/lib/clang/{20 → 22}/include/pmmintrin.h +12 -24
- package/lib/clang/{20 → 22}/include/prfchwintrin.h +10 -13
- package/lib/clang/{20 → 22}/include/ptrauth.h +73 -2
- package/lib/clang/{20 → 22}/include/riscv_corev_alu.h +4 -4
- package/lib/clang/22/include/riscv_mips.h +34 -0
- package/lib/clang/22/include/riscv_nds.h +89 -0
- package/lib/clang/{20 → 22}/include/riscv_vector.h +0 -4
- package/lib/clang/{20 → 22}/include/shaintrin.h +3 -2
- package/lib/clang/{20 → 22}/include/sifive_vector.h +58 -2
- package/lib/clang/{20 → 22}/include/sm4evexintrin.h +2 -2
- package/lib/clang/{20 → 22}/include/smmintrin.h +77 -59
- package/lib/clang/22/include/spirvintrin.h +194 -0
- package/lib/clang/22/include/stdcountof.h +15 -0
- package/lib/clang/22/include/stddefer.h +19 -0
- package/lib/clang/{20 → 22}/include/stdint.h +18 -129
- package/lib/clang/{20 → 22}/include/tmmintrin.h +116 -147
- package/lib/clang/{20 → 22}/include/vaesintrin.h +1 -2
- package/lib/clang/{20 → 22}/include/vecintrin.h +5 -0
- package/lib/clang/{20 → 22}/include/x86gprintrin.h +0 -14
- package/lib/clang/{20 → 22}/include/x86intrin.h +0 -18
- package/lib/clang/{20 → 22}/include/xmmintrin.h +47 -72
- package/lib/clang/{20 → 22}/include/xopintrin.h +20 -10
- package/package.json +6 -6
- package/lib/clang/20/include/__clang_cuda_complex_builtins.h +0 -285
- package/lib/clang/20/include/amxbf16transposeintrin.h +0 -94
- package/lib/clang/20/include/amxcomplextransposeintrin.h +0 -303
- package/lib/clang/20/include/amxfp16transposeintrin.h +0 -94
- package/lib/clang/20/include/amxmovrstransposeintrin.h +0 -200
- package/lib/clang/20/include/amxtf32transposeintrin.h +0 -105
- package/lib/clang/20/include/amxtransposeintrin.h +0 -248
- package/lib/clang/20/include/avx10_2convertintrin.h +0 -589
- package/lib/clang/20/include/avx10_2niintrin.h +0 -2075
- package/lib/clang/20/include/avx10_2satcvtdsintrin.h +0 -496
- package/lib/clang/20/include/avx10_2satcvtintrin.h +0 -444
- package/lib/clang/20/include/avx512cdintrin.h +0 -125
- package/lib/clang/20/include/avx512ifmaintrin.h +0 -70
- package/lib/clang/20/include/avx512ifmavlintrin.h +0 -111
- package/lib/clang/20/include/avx512vlcdintrin.h +0 -230
- package/lib/clang/20/include/fma4intrin.h +0 -218
- package/lib/clang/20/include/hlsl/hlsl_basic_types.h +0 -120
- package/lib/clang/20/include/hlsl/hlsl_detail.h +0 -84
- package/lib/clang/20/include/llvm_libc_wrappers/ctype.h +0 -140
- package/lib/clang/20/include/llvm_libc_wrappers/stdio.h +0 -80
- package/lib/clang/20/include/llvm_libc_wrappers/stdlib.h +0 -53
- package/lib/clang/20/include/llvm_libc_wrappers/string.h +0 -96
- /package/lib/clang/{20 → 22}/include/__clang_cuda_builtin_vars.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_cmath.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_libdevice_declares.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_math.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_math_forward_declares.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_hip_stdlib.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg___gnuc_va_list.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg___va_copy.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg_header_macro.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg_va_copy.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg_va_list.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_header_macro.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_max_align_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_null.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_nullptr_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_offsetof.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_ptrdiff_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_rsize_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_size_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_unreachable.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_wchar_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_wint_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__wmmintrin_aes.h +0 -0
- /package/lib/clang/{20 → 22}/include/__wmmintrin_pclmul.h +0 -0
- /package/lib/clang/{20 → 22}/include/adcintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/adxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ammintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxfp16intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxfp8intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxmovrsintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxtf32intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm64intr.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_bf16.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_cde.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_cmse.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_mve.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_neon_sve_bridge.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_vector_types.h +0 -0
- /package/lib/clang/{20 → 22}/include/armintr.h +0 -0
- /package/lib/clang/{20 → 22}/include/avx10_2_512minmaxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/avxneconvertintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/bmi2intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/builtins.h +0 -0
- /package/lib/clang/{20 → 22}/include/cet.h +0 -0
- /package/lib/clang/{20 → 22}/include/cetintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/cldemoteintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/clflushoptintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/clwbintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/clzerointrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/cmpccxaddintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/crc32intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/algorithm +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/bits/basic_string.h +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/bits/basic_string.tcc +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/bits/shared_ptr_base.h +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/complex +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/new +0 -0
- /package/lib/clang/{20 → 22}/include/enqcmdintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/fxsrintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/hexagon_circ_brev_intrinsics.h +0 -0
- /package/lib/clang/{20 → 22}/include/hexagon_protos.h +0 -0
- /package/lib/clang/{20 → 22}/include/hresetintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/htmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/htmxlintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ia32intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/intrin0.h +0 -0
- /package/lib/clang/{20 → 22}/include/inttypes.h +0 -0
- /package/lib/clang/{20 → 22}/include/invpcidintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/iso646.h +0 -0
- /package/lib/clang/{20 → 22}/include/larchintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/limits.h +0 -0
- /package/lib/clang/{20 → 22}/include/llvm_offload_wrappers/__llvm_offload.h +0 -0
- /package/lib/clang/{20 → 22}/include/llvm_offload_wrappers/__llvm_offload_device.h +0 -0
- /package/lib/clang/{20 → 22}/include/llvm_offload_wrappers/__llvm_offload_host.h +0 -0
- /package/lib/clang/{20 → 22}/include/lsxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/lwpintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/mm3dnow.h +0 -0
- /package/lib/clang/{20 → 22}/include/mm_malloc.h +0 -0
- /package/lib/clang/{20 → 22}/include/movdirintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/msa.h +0 -0
- /package/lib/clang/{20 → 22}/include/mwaitxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/nmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/__clang_openmp_device_functions.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/cmath +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/complex +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/complex.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/complex_cmath.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/math.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/new +0 -0
- /package/lib/clang/{20 → 22}/include/pconfigintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/pkuintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/popcntintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/bmi2intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/bmiintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/emmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/immintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/mm_malloc.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/mmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/nmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/pmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/smmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/tmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/x86gprintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/x86intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/xmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/prfchiintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ptwriteintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/raointintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/rdpruintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/rdseedintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/riscv_bitmanip.h +0 -0
- /package/lib/clang/{20 → 22}/include/riscv_crypto.h +0 -0
- /package/lib/clang/{20 → 22}/include/riscv_ntlh.h +0 -0
- /package/lib/clang/{20 → 22}/include/rtmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/s390intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/serializeintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sgxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sha512intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sm3intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sm4intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdalign.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdarg.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdatomic.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdbool.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdckdint.h +0 -0
- /package/lib/clang/{20 → 22}/include/stddef.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdnoreturn.h +0 -0
- /package/lib/clang/{20 → 22}/include/tbmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/tgmath.h +0 -0
- /package/lib/clang/{20 → 22}/include/tsxldtrkintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/uintrintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/unwind.h +0 -0
- /package/lib/clang/{20 → 22}/include/usermsrintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/vadefs.h +0 -0
- /package/lib/clang/{20 → 22}/include/varargs.h +0 -0
- /package/lib/clang/{20 → 22}/include/velintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/velintrin_approx.h +0 -0
- /package/lib/clang/{20 → 22}/include/velintrin_gen.h +0 -0
- /package/lib/clang/{20 → 22}/include/vpclmulqdqintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/waitpkgintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/wasm_simd128.h +0 -0
- /package/lib/clang/{20 → 22}/include/wbnoinvdintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/wmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsavecintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsaveintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsaveoptintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsavesintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xtestintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/yvals_core.h +0 -0
- /package/lib/clang/{20 → 22}/include/zos_wrappers/builtins.h +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
//===----- detail.h - HLSL definitions for intrinsics ----------===//
|
|
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
|
-
#ifndef _HLSL_HLSL_DETAILS_H_
|
|
10
|
-
#define _HLSL_HLSL_DETAILS_H_
|
|
11
|
-
|
|
12
|
-
namespace hlsl {
|
|
13
|
-
|
|
14
|
-
namespace __detail {
|
|
15
|
-
|
|
16
|
-
template <typename T, typename U> struct is_same {
|
|
17
|
-
static const bool value = false;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
template <typename T> struct is_same<T, T> {
|
|
21
|
-
static const bool value = true;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
template <bool B, typename T> struct enable_if {};
|
|
25
|
-
|
|
26
|
-
template <typename T> struct enable_if<true, T> {
|
|
27
|
-
using Type = T;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
template <bool B, class T = void>
|
|
31
|
-
using enable_if_t = typename enable_if<B, T>::Type;
|
|
32
|
-
|
|
33
|
-
template <typename U, typename T, int N>
|
|
34
|
-
constexpr enable_if_t<sizeof(U) == sizeof(T), vector<U, N>>
|
|
35
|
-
bit_cast(vector<T, N> V) {
|
|
36
|
-
return __builtin_bit_cast(vector<U, N>, V);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
template <typename U, typename T>
|
|
40
|
-
constexpr enable_if_t<sizeof(U) == sizeof(T), U> bit_cast(T F) {
|
|
41
|
-
return __builtin_bit_cast(U, F);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
constexpr vector<uint, 4> d3d_color_to_ubyte4_impl(vector<float, 4> V) {
|
|
45
|
-
// Use the same scaling factor used by FXC, and DXC for DXIL
|
|
46
|
-
// (i.e., 255.001953)
|
|
47
|
-
// https://github.com/microsoft/DirectXShaderCompiler/blob/070d0d5a2beacef9eeb51037a9b04665716fd6f3/lib/HLSL/HLOperationLower.cpp#L666C1-L697C2
|
|
48
|
-
// The DXC implementation refers to a comment on the following stackoverflow
|
|
49
|
-
// discussion to justify the scaling factor: "Built-in rounding, necessary
|
|
50
|
-
// because of truncation. 0.001953 * 256 = 0.5"
|
|
51
|
-
// https://stackoverflow.com/questions/52103720/why-does-d3dcolortoubyte4-multiplies-components-by-255-001953f
|
|
52
|
-
return V.zyxw * 255.001953f;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
template <typename T>
|
|
56
|
-
constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T>
|
|
57
|
-
length_impl(T X) {
|
|
58
|
-
return __builtin_elementwise_abs(X);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
template <typename T, int N>
|
|
62
|
-
constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T>
|
|
63
|
-
length_vec_impl(vector<T, N> X) {
|
|
64
|
-
#if (__has_builtin(__builtin_spirv_length))
|
|
65
|
-
return __builtin_spirv_length(X);
|
|
66
|
-
#else
|
|
67
|
-
return __builtin_elementwise_sqrt(__builtin_hlsl_dot(X, X));
|
|
68
|
-
#endif
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
template <typename T>
|
|
72
|
-
constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T>
|
|
73
|
-
distance_impl(T X, T Y) {
|
|
74
|
-
return length_impl(X - Y);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
template <typename T, int N>
|
|
78
|
-
constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T>
|
|
79
|
-
distance_vec_impl(vector<T, N> X, vector<T, N> Y) {
|
|
80
|
-
return length_vec_impl(X - Y);
|
|
81
|
-
}
|
|
82
|
-
} // namespace __detail
|
|
83
|
-
} // namespace hlsl
|
|
84
|
-
#endif //_HLSL_HLSL_DETAILS_H_
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
//===-- Wrapper for C standard ctype.h declarations on the GPU ------------===//
|
|
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
|
-
#ifndef __CLANG_LLVM_LIBC_WRAPPERS_CTYPE_H__
|
|
10
|
-
#define __CLANG_LLVM_LIBC_WRAPPERS_CTYPE_H__
|
|
11
|
-
|
|
12
|
-
#if !defined(_OPENMP) && !defined(__HIP__) && !defined(__CUDA__)
|
|
13
|
-
#error "This file is for GPU offloading compilation only"
|
|
14
|
-
#endif
|
|
15
|
-
|
|
16
|
-
// The GNU headers like to define 'toupper' and 'tolower' redundantly. This is
|
|
17
|
-
// necessary to prevent it from doing that and remapping our implementation.
|
|
18
|
-
#if (defined(__NVPTX__) || defined(__AMDGPU__)) && defined(__GLIBC__)
|
|
19
|
-
#pragma push_macro("__USE_EXTERN_INLINES")
|
|
20
|
-
#undef __USE_EXTERN_INLINES
|
|
21
|
-
#endif
|
|
22
|
-
|
|
23
|
-
#include_next <ctype.h>
|
|
24
|
-
|
|
25
|
-
#if (defined(__NVPTX__) || defined(__AMDGPU__)) && defined(__GLIBC__)
|
|
26
|
-
#pragma pop_macro("__USE_EXTERN_INLINES")
|
|
27
|
-
#endif
|
|
28
|
-
|
|
29
|
-
#if __has_include(<llvm-libc-decls/ctype.h>)
|
|
30
|
-
|
|
31
|
-
#if defined(__HIP__) || defined(__CUDA__)
|
|
32
|
-
#define __LIBC_ATTRS __attribute__((device))
|
|
33
|
-
#endif
|
|
34
|
-
|
|
35
|
-
// The GNU headers like to provide these as macros, we need to undefine them so
|
|
36
|
-
// they do not conflict with the following definitions for the GPU.
|
|
37
|
-
|
|
38
|
-
#pragma push_macro("isalnum")
|
|
39
|
-
#pragma push_macro("isalpha")
|
|
40
|
-
#pragma push_macro("isascii")
|
|
41
|
-
#pragma push_macro("isblank")
|
|
42
|
-
#pragma push_macro("iscntrl")
|
|
43
|
-
#pragma push_macro("isdigit")
|
|
44
|
-
#pragma push_macro("isgraph")
|
|
45
|
-
#pragma push_macro("islower")
|
|
46
|
-
#pragma push_macro("isprint")
|
|
47
|
-
#pragma push_macro("ispunct")
|
|
48
|
-
#pragma push_macro("isspace")
|
|
49
|
-
#pragma push_macro("isupper")
|
|
50
|
-
#pragma push_macro("isxdigit")
|
|
51
|
-
#pragma push_macro("toascii")
|
|
52
|
-
#pragma push_macro("tolower")
|
|
53
|
-
#pragma push_macro("toupper")
|
|
54
|
-
#pragma push_macro("isalnum_l")
|
|
55
|
-
#pragma push_macro("isalpha_l")
|
|
56
|
-
#pragma push_macro("isascii_l")
|
|
57
|
-
#pragma push_macro("isblank_l")
|
|
58
|
-
#pragma push_macro("iscntrl_l")
|
|
59
|
-
#pragma push_macro("isdigit_l")
|
|
60
|
-
#pragma push_macro("isgraph_l")
|
|
61
|
-
#pragma push_macro("islower_l")
|
|
62
|
-
#pragma push_macro("isprint_l")
|
|
63
|
-
#pragma push_macro("ispunct_l")
|
|
64
|
-
#pragma push_macro("isspace_l")
|
|
65
|
-
#pragma push_macro("isupper_l")
|
|
66
|
-
#pragma push_macro("isxdigit_l")
|
|
67
|
-
|
|
68
|
-
#undef isalnum
|
|
69
|
-
#undef isalpha
|
|
70
|
-
#undef isascii
|
|
71
|
-
#undef iscntrl
|
|
72
|
-
#undef isdigit
|
|
73
|
-
#undef islower
|
|
74
|
-
#undef isgraph
|
|
75
|
-
#undef isprint
|
|
76
|
-
#undef ispunct
|
|
77
|
-
#undef isspace
|
|
78
|
-
#undef isupper
|
|
79
|
-
#undef isblank
|
|
80
|
-
#undef isxdigit
|
|
81
|
-
#undef toascii
|
|
82
|
-
#undef tolower
|
|
83
|
-
#undef toupper
|
|
84
|
-
#undef isalnum_l
|
|
85
|
-
#undef isalpha_l
|
|
86
|
-
#undef iscntrl_l
|
|
87
|
-
#undef isdigit_l
|
|
88
|
-
#undef islower_l
|
|
89
|
-
#undef isgraph_l
|
|
90
|
-
#undef isprint_l
|
|
91
|
-
#undef ispunct_l
|
|
92
|
-
#undef isspace_l
|
|
93
|
-
#undef isupper_l
|
|
94
|
-
#undef isblank_l
|
|
95
|
-
#undef isxdigit_l
|
|
96
|
-
|
|
97
|
-
#pragma omp begin declare target
|
|
98
|
-
|
|
99
|
-
#include <llvm-libc-decls/ctype.h>
|
|
100
|
-
|
|
101
|
-
#pragma omp end declare target
|
|
102
|
-
|
|
103
|
-
// Restore the original macros when compiling on the host.
|
|
104
|
-
#if !defined(__NVPTX__) && !defined(__AMDGPU__)
|
|
105
|
-
#pragma pop_macro("isalnum")
|
|
106
|
-
#pragma pop_macro("isalpha")
|
|
107
|
-
#pragma pop_macro("isascii")
|
|
108
|
-
#pragma pop_macro("isblank")
|
|
109
|
-
#pragma pop_macro("iscntrl")
|
|
110
|
-
#pragma pop_macro("isdigit")
|
|
111
|
-
#pragma pop_macro("isgraph")
|
|
112
|
-
#pragma pop_macro("islower")
|
|
113
|
-
#pragma pop_macro("isprint")
|
|
114
|
-
#pragma pop_macro("ispunct")
|
|
115
|
-
#pragma pop_macro("isspace")
|
|
116
|
-
#pragma pop_macro("isupper")
|
|
117
|
-
#pragma pop_macro("isxdigit")
|
|
118
|
-
#pragma pop_macro("toascii")
|
|
119
|
-
#pragma pop_macro("tolower")
|
|
120
|
-
#pragma pop_macro("toupper")
|
|
121
|
-
#pragma pop_macro("isalnum_l")
|
|
122
|
-
#pragma pop_macro("isalpha_l")
|
|
123
|
-
#pragma pop_macro("isascii_l")
|
|
124
|
-
#pragma pop_macro("isblank_l")
|
|
125
|
-
#pragma pop_macro("iscntrl_l")
|
|
126
|
-
#pragma pop_macro("isdigit_l")
|
|
127
|
-
#pragma pop_macro("isgraph_l")
|
|
128
|
-
#pragma pop_macro("islower_l")
|
|
129
|
-
#pragma pop_macro("isprint_l")
|
|
130
|
-
#pragma pop_macro("ispunct_l")
|
|
131
|
-
#pragma pop_macro("isspace_l")
|
|
132
|
-
#pragma pop_macro("isupper_l")
|
|
133
|
-
#pragma pop_macro("isxdigit_l")
|
|
134
|
-
#endif
|
|
135
|
-
|
|
136
|
-
#undef __LIBC_ATTRS
|
|
137
|
-
|
|
138
|
-
#endif
|
|
139
|
-
|
|
140
|
-
#endif // __CLANG_LLVM_LIBC_WRAPPERS_CTYPE_H__
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
//===-- Wrapper for C standard stdio.h declarations on the GPU ------------===//
|
|
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
|
-
#if !defined(_OPENMP) && !defined(__HIP__) && !defined(__CUDA__)
|
|
10
|
-
#error "This file is for GPU offloading compilation only"
|
|
11
|
-
#endif
|
|
12
|
-
|
|
13
|
-
#include_next <stdio.h>
|
|
14
|
-
|
|
15
|
-
// In some old versions of glibc, other standard headers sometimes define
|
|
16
|
-
// special macros (e.g., __need_FILE) before including stdio.h to cause stdio.h
|
|
17
|
-
// to produce special definitions. Future includes of stdio.h when those
|
|
18
|
-
// special macros are undefined are expected to produce the normal definitions
|
|
19
|
-
// from stdio.h.
|
|
20
|
-
//
|
|
21
|
-
// We do not apply our include guard (__CLANG_LLVM_LIBC_WRAPPERS_STDIO_H__)
|
|
22
|
-
// unconditionally to the above include_next. Otherwise, after an occurrence of
|
|
23
|
-
// the first glibc stdio.h use case described above, the include_next would be
|
|
24
|
-
// skipped for remaining includes of stdio.h, leaving required symbols
|
|
25
|
-
// undefined.
|
|
26
|
-
//
|
|
27
|
-
// We make the following assumptions to handle all use cases:
|
|
28
|
-
//
|
|
29
|
-
// 1. If the above include_next produces special glibc definitions, then (a) it
|
|
30
|
-
// does not produce the normal definitions that we must intercept below, (b)
|
|
31
|
-
// the current file was included from a glibc header that already defined
|
|
32
|
-
// __GLIBC__ (usually by including glibc's <features.h>), and (c) the above
|
|
33
|
-
// include_next does not define _STDIO_H. In that case, we skip the rest of
|
|
34
|
-
// the current file and don't guard against future includes.
|
|
35
|
-
// 2. If the above include_next produces the normal stdio.h definitions, then
|
|
36
|
-
// either (a) __GLIBC__ is not defined because C headers are from some other
|
|
37
|
-
// libc implementation or (b) the above include_next defines _STDIO_H to
|
|
38
|
-
// prevent the above include_next from having any effect in the future.
|
|
39
|
-
#if !defined(__GLIBC__) || defined(_STDIO_H)
|
|
40
|
-
|
|
41
|
-
#ifndef __CLANG_LLVM_LIBC_WRAPPERS_STDIO_H__
|
|
42
|
-
#define __CLANG_LLVM_LIBC_WRAPPERS_STDIO_H__
|
|
43
|
-
|
|
44
|
-
#if __has_include(<llvm-libc-decls/stdio.h>)
|
|
45
|
-
|
|
46
|
-
#if defined(__HIP__) || defined(__CUDA__)
|
|
47
|
-
#define __LIBC_ATTRS __attribute__((device))
|
|
48
|
-
#endif
|
|
49
|
-
|
|
50
|
-
// Some headers provide these as macros. Temporarily undefine them so they do
|
|
51
|
-
// not conflict with any definitions for the GPU.
|
|
52
|
-
|
|
53
|
-
#pragma push_macro("stdout")
|
|
54
|
-
#pragma push_macro("stdin")
|
|
55
|
-
#pragma push_macro("stderr")
|
|
56
|
-
|
|
57
|
-
#undef stdout
|
|
58
|
-
#undef stderr
|
|
59
|
-
#undef stdin
|
|
60
|
-
|
|
61
|
-
#pragma omp begin declare target
|
|
62
|
-
|
|
63
|
-
#include <llvm-libc-decls/stdio.h>
|
|
64
|
-
|
|
65
|
-
#pragma omp end declare target
|
|
66
|
-
|
|
67
|
-
#undef __LIBC_ATTRS
|
|
68
|
-
|
|
69
|
-
// Restore the original macros when compiling on the host.
|
|
70
|
-
#if !defined(__NVPTX__) && !defined(__AMDGPU__)
|
|
71
|
-
#pragma pop_macro("stdout")
|
|
72
|
-
#pragma pop_macro("stderr")
|
|
73
|
-
#pragma pop_macro("stdin")
|
|
74
|
-
#endif
|
|
75
|
-
|
|
76
|
-
#endif
|
|
77
|
-
|
|
78
|
-
#endif // __CLANG_LLVM_LIBC_WRAPPERS_STDIO_H__
|
|
79
|
-
|
|
80
|
-
#endif
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
//===-- Wrapper for C standard stdlib.h declarations on the GPU -----------===//
|
|
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
|
-
#ifndef __CLANG_LLVM_LIBC_WRAPPERS_STDLIB_H__
|
|
10
|
-
#define __CLANG_LLVM_LIBC_WRAPPERS_STDLIB_H__
|
|
11
|
-
|
|
12
|
-
#if !defined(_OPENMP) && !defined(__HIP__) && !defined(__CUDA__)
|
|
13
|
-
#error "This file is for GPU offloading compilation only"
|
|
14
|
-
#endif
|
|
15
|
-
|
|
16
|
-
#include_next <stdlib.h>
|
|
17
|
-
|
|
18
|
-
#if __has_include(<llvm-libc-decls/stdlib.h>)
|
|
19
|
-
|
|
20
|
-
#if defined(__HIP__) || defined(__CUDA__)
|
|
21
|
-
#define __LIBC_ATTRS __attribute__((device))
|
|
22
|
-
#endif
|
|
23
|
-
|
|
24
|
-
#pragma omp begin declare target
|
|
25
|
-
|
|
26
|
-
// The LLVM C library uses these named types so we forward declare them.
|
|
27
|
-
typedef void (*__atexithandler_t)(void);
|
|
28
|
-
typedef int (*__bsearchcompare_t)(const void *, const void *);
|
|
29
|
-
typedef int (*__qsortcompare_t)(const void *, const void *);
|
|
30
|
-
typedef int (*__qsortrcompare_t)(const void *, const void *, void *);
|
|
31
|
-
|
|
32
|
-
// Enforce ABI compatibility with the structs used by the LLVM C library.
|
|
33
|
-
_Static_assert(__builtin_offsetof(div_t, quot) == 0, "ABI mismatch!");
|
|
34
|
-
_Static_assert(__builtin_offsetof(ldiv_t, quot) == 0, "ABI mismatch!");
|
|
35
|
-
_Static_assert(__builtin_offsetof(lldiv_t, quot) == 0, "ABI mismatch!");
|
|
36
|
-
|
|
37
|
-
#if defined(__GLIBC__) && __cplusplus >= 201703L
|
|
38
|
-
#define at_quick_exit atexit
|
|
39
|
-
#endif
|
|
40
|
-
|
|
41
|
-
#include <llvm-libc-decls/stdlib.h>
|
|
42
|
-
|
|
43
|
-
#if defined(__GLIBC__) && __cplusplus >= 201703L
|
|
44
|
-
#undef at_quick_exit
|
|
45
|
-
#endif
|
|
46
|
-
|
|
47
|
-
#pragma omp end declare target
|
|
48
|
-
|
|
49
|
-
#undef __LIBC_ATTRS
|
|
50
|
-
|
|
51
|
-
#endif
|
|
52
|
-
|
|
53
|
-
#endif // __CLANG_LLVM_LIBC_WRAPPERS_STDLIB_H__
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
//===-- Wrapper for C standard string.h declarations on the GPU -----------===//
|
|
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
|
-
#ifndef __CLANG_LLVM_LIBC_WRAPPERS_STRING_H__
|
|
10
|
-
#define __CLANG_LLVM_LIBC_WRAPPERS_STRING_H__
|
|
11
|
-
|
|
12
|
-
#if !defined(_OPENMP) && !defined(__HIP__) && !defined(__CUDA__)
|
|
13
|
-
#error "This file is for GPU offloading compilation only"
|
|
14
|
-
#endif
|
|
15
|
-
|
|
16
|
-
#include_next <string.h>
|
|
17
|
-
|
|
18
|
-
#if __has_include(<llvm-libc-decls/string.h>)
|
|
19
|
-
|
|
20
|
-
#if defined(__HIP__) || defined(__CUDA__)
|
|
21
|
-
#define __LIBC_ATTRS __attribute__((device))
|
|
22
|
-
#endif
|
|
23
|
-
|
|
24
|
-
#pragma omp begin declare target
|
|
25
|
-
|
|
26
|
-
// The GNU headers provide C++ standard compliant headers when in C++ mode and
|
|
27
|
-
// the LLVM libc does not. We need to manually provide the definitions using the
|
|
28
|
-
// same prototypes.
|
|
29
|
-
#if defined(__cplusplus) && defined(__GLIBC__) && \
|
|
30
|
-
defined(__CORRECT_ISO_CPP_STRING_H_PROTO)
|
|
31
|
-
|
|
32
|
-
#ifndef __LIBC_ATTRS
|
|
33
|
-
#define __LIBC_ATTRS
|
|
34
|
-
#endif
|
|
35
|
-
|
|
36
|
-
extern "C" {
|
|
37
|
-
void *memccpy(void *__restrict, const void *__restrict, int,
|
|
38
|
-
size_t) __LIBC_ATTRS;
|
|
39
|
-
int memcmp(const void *, const void *, size_t) __LIBC_ATTRS;
|
|
40
|
-
void *memcpy(void *__restrict, const void *__restrict, size_t) __LIBC_ATTRS;
|
|
41
|
-
void *memmem(const void *, size_t, const void *, size_t) __LIBC_ATTRS;
|
|
42
|
-
void *memmove(void *, const void *, size_t) __LIBC_ATTRS;
|
|
43
|
-
void *mempcpy(void *__restrict, const void *__restrict, size_t) __LIBC_ATTRS;
|
|
44
|
-
void *memset(void *, int, size_t) __LIBC_ATTRS;
|
|
45
|
-
char *stpcpy(char *__restrict, const char *__restrict) __LIBC_ATTRS;
|
|
46
|
-
char *stpncpy(char *__restrict, const char *__restrict, size_t) __LIBC_ATTRS;
|
|
47
|
-
char *strcat(char *__restrict, const char *__restrict) __LIBC_ATTRS;
|
|
48
|
-
int strcmp(const char *, const char *) __LIBC_ATTRS;
|
|
49
|
-
int strcoll(const char *, const char *) __LIBC_ATTRS;
|
|
50
|
-
char *strcpy(char *__restrict, const char *__restrict) __LIBC_ATTRS;
|
|
51
|
-
size_t strcspn(const char *, const char *) __LIBC_ATTRS;
|
|
52
|
-
char *strdup(const char *) __LIBC_ATTRS;
|
|
53
|
-
size_t strlen(const char *) __LIBC_ATTRS;
|
|
54
|
-
char *strncat(char *__restrict, const char *__restrict, size_t) __LIBC_ATTRS;
|
|
55
|
-
int strncmp(const char *, const char *, size_t) __LIBC_ATTRS;
|
|
56
|
-
char *strncpy(char *__restrict, const char *__restrict, size_t) __LIBC_ATTRS;
|
|
57
|
-
char *strndup(const char *, size_t) __LIBC_ATTRS;
|
|
58
|
-
size_t strnlen(const char *, size_t) __LIBC_ATTRS;
|
|
59
|
-
size_t strspn(const char *, const char *) __LIBC_ATTRS;
|
|
60
|
-
char *strtok(char *__restrict, const char *__restrict) __LIBC_ATTRS;
|
|
61
|
-
char *strtok_r(char *__restrict, const char *__restrict,
|
|
62
|
-
char **__restrict) __LIBC_ATTRS;
|
|
63
|
-
size_t strxfrm(char *__restrict, const char *__restrict, size_t) __LIBC_ATTRS;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
extern "C++" {
|
|
67
|
-
char *strstr(char *, const char *) noexcept __LIBC_ATTRS;
|
|
68
|
-
const char *strstr(const char *, const char *) noexcept __LIBC_ATTRS;
|
|
69
|
-
char *strpbrk(char *, const char *) noexcept __LIBC_ATTRS;
|
|
70
|
-
const char *strpbrk(const char *, const char *) noexcept __LIBC_ATTRS;
|
|
71
|
-
char *strrchr(char *, int) noexcept __LIBC_ATTRS;
|
|
72
|
-
const char *strrchr(const char *, int) noexcept __LIBC_ATTRS;
|
|
73
|
-
char *strchr(char *, int) noexcept __LIBC_ATTRS;
|
|
74
|
-
const char *strchr(const char *, int) noexcept __LIBC_ATTRS;
|
|
75
|
-
char *strchrnul(char *, int) noexcept __LIBC_ATTRS;
|
|
76
|
-
const char *strchrnul(const char *, int) noexcept __LIBC_ATTRS;
|
|
77
|
-
char *strcasestr(char *, const char *) noexcept __LIBC_ATTRS;
|
|
78
|
-
const char *strcasestr(const char *, const char *) noexcept __LIBC_ATTRS;
|
|
79
|
-
void *memrchr(void *__s, int __c, size_t __n) noexcept __LIBC_ATTRS;
|
|
80
|
-
const void *memrchr(const void *__s, int __c, size_t __n) noexcept __LIBC_ATTRS;
|
|
81
|
-
void *memchr(void *__s, int __c, size_t __n) noexcept __LIBC_ATTRS;
|
|
82
|
-
const void *memchr(const void *__s, int __c, size_t __n) noexcept __LIBC_ATTRS;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
#else
|
|
86
|
-
#include <llvm-libc-decls/string.h>
|
|
87
|
-
|
|
88
|
-
#endif
|
|
89
|
-
|
|
90
|
-
#pragma omp end declare target
|
|
91
|
-
|
|
92
|
-
#undef __LIBC_ATTRS
|
|
93
|
-
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#endif // __CLANG_LLVM_LIBC_WRAPPERS_STRING_H__
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|