llvm-runtime-resources-darwin 22.1.8 → 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.
Files changed (136) hide show
  1. package/include/__clang_cuda_complex_builtins.h +10 -3
  2. package/include/__clang_cuda_intrinsics.h +207 -226
  3. package/include/__clang_cuda_math_forward_declares.h +5 -0
  4. package/include/__clang_cuda_runtime_wrapper.h +9 -5
  5. package/include/__clang_gpu_builtin_vars.h +71 -0
  6. package/include/__clang_gpu_device_functions.h +411 -0
  7. package/include/__clang_gpu_intrinsics.h +242 -0
  8. package/include/__clang_hip_libdevice_declares.h +0 -102
  9. package/include/__clang_hip_math.h +3 -3
  10. package/include/__clang_hip_runtime_wrapper.h +6 -1
  11. package/include/__clang_spirv_libdevice_declares.h +170 -0
  12. package/include/__clang_spirv_math.h +719 -0
  13. package/include/altivec.h +79 -9
  14. package/include/amdgpuintrin.h +2 -29
  15. package/include/amdhsa_abi.h +83 -0
  16. package/include/amo.h +89 -0
  17. package/include/andes_vector.h +5 -0
  18. package/include/arm64_neon.h +21 -0
  19. package/include/arm64intr.h +10 -0
  20. package/include/arm_acle.h +1 -0
  21. package/include/arm_neon.h +3922 -3754
  22. package/include/arm_sme.h +12 -0
  23. package/include/arm_sve.h +420 -0
  24. package/include/avx2intrin.h +4 -5
  25. package/include/avx512bmmintrin.h +174 -0
  26. package/include/avx512bmmvlintrin.h +245 -0
  27. package/include/avx512bwintrin.h +19 -29
  28. package/include/avx512fintrin.h +62 -89
  29. package/include/avx512fp16intrin.h +12 -18
  30. package/include/avx512vbmi2intrin.h +12 -16
  31. package/include/avx512vlbwintrin.h +24 -36
  32. package/include/avx512vlintrin.h +80 -96
  33. package/include/avx512vlvbmi2intrin.h +24 -32
  34. package/include/avx512vlvnniintrin.h +29 -34
  35. package/include/avx512vnniintrin.h +32 -35
  36. package/include/avx512vp2intersectintrin.h +1 -1
  37. package/include/avxvnniintrin.h +23 -18
  38. package/include/crc32intrin.h +10 -8
  39. package/include/emmintrin.h +8 -8
  40. package/include/endian.h +91 -0
  41. package/include/fuzzer/FuzzedDataProvider.h +3 -3
  42. package/include/gpuintrin.h +123 -105
  43. package/include/hlsl_alias_intrinsics_gen.inc +3869 -0
  44. package/include/hlsl_inline_intrinsics_gen.inc +546 -0
  45. package/include/hvx_hexagon_protos.h +102 -80
  46. package/include/immintrin.h +4 -2
  47. package/include/intrin.h +20 -10
  48. package/include/larchintrin.h +2 -0
  49. package/include/llvm_libc_wrappers/ctype.h +3 -2
  50. package/include/llvm_libc_wrappers/string.h +3 -2
  51. package/include/module.modulemap +16 -1
  52. package/include/nvptxintrin.h +15 -26
  53. package/include/opencl-c-base.h +7 -0
  54. package/include/opencl-c.h +163 -102
  55. package/include/openmp_wrappers/__clang_openmp_device_functions.h +14 -0
  56. package/include/openmp_wrappers/complex +7 -1
  57. package/include/openmp_wrappers/complex.h +6 -0
  58. package/include/openmp_wrappers/math.h +10 -0
  59. package/include/profile/InstrProfData.inc +65 -3
  60. package/include/ptrauth.h +90 -12
  61. package/include/riscv_bitmanip.h +7 -0
  62. package/include/riscv_corev_alu.h +2 -0
  63. package/include/riscv_crypto.h +8 -0
  64. package/include/riscv_mips.h +2 -0
  65. package/include/riscv_nds.h +3 -0
  66. package/include/riscv_ntlh.h +2 -0
  67. package/include/riscv_packed_simd.h +644 -0
  68. package/include/riscv_vector.h +43 -0
  69. package/include/sanitizer/asan_interface.h +51 -1
  70. package/include/sanitizer/common_interface_defs.h +12 -49
  71. package/include/sanitizer/safestack_interface.h +50 -0
  72. package/include/sanitizer/tysan_interface.h +36 -0
  73. package/include/sanitizer/ubsan_interface.h +30 -0
  74. package/include/sifive_vector.h +18 -0
  75. package/include/spirvintrin.h +2 -29
  76. package/include/stdint.h +5 -14
  77. package/include/vecintrin.h +1 -1
  78. package/include/wasm_simd128.h +17 -0
  79. package/include/xmmintrin.h +8 -7
  80. package/include/zos_wrappers/grp.h +19 -0
  81. package/include/zos_wrappers/locale.h +19 -0
  82. package/include/zos_wrappers/math.h +31 -0
  83. package/include/zos_wrappers/poll.h +19 -0
  84. package/include/zos_wrappers/stdlib.h +20 -0
  85. package/include/zos_wrappers/string.h +19 -0
  86. package/include/zos_wrappers/time.h +19 -0
  87. package/include/zos_wrappers/variant.h +19 -0
  88. package/lib/darwin/libclang_rt.asan_abi_ios.a +0 -0
  89. package/lib/darwin/libclang_rt.asan_abi_iossim.a +0 -0
  90. package/lib/darwin/libclang_rt.asan_abi_osx.a +0 -0
  91. package/lib/darwin/libclang_rt.asan_ios_dynamic.dylib +0 -0
  92. package/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib +0 -0
  93. package/lib/darwin/libclang_rt.asan_osx_dynamic.dylib +0 -0
  94. package/lib/darwin/libclang_rt.cc_kext.a +0 -0
  95. package/lib/darwin/libclang_rt.cc_kext_ios.a +0 -0
  96. package/lib/darwin/libclang_rt.fuzzer_ios.a +0 -0
  97. package/lib/darwin/libclang_rt.fuzzer_iossim.a +0 -0
  98. package/lib/darwin/libclang_rt.fuzzer_no_main_ios.a +0 -0
  99. package/lib/darwin/libclang_rt.fuzzer_no_main_iossim.a +0 -0
  100. package/lib/darwin/libclang_rt.fuzzer_no_main_osx.a +0 -0
  101. package/lib/darwin/libclang_rt.fuzzer_osx.a +0 -0
  102. package/lib/darwin/libclang_rt.ios.a +0 -0
  103. package/lib/darwin/libclang_rt.iossim.a +0 -0
  104. package/lib/darwin/libclang_rt.lsan_ios_dynamic.dylib +0 -0
  105. package/lib/darwin/libclang_rt.lsan_iossim_dynamic.dylib +0 -0
  106. package/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib +0 -0
  107. package/lib/darwin/libclang_rt.osx.a +0 -0
  108. package/lib/darwin/libclang_rt.profile_ios.a +0 -0
  109. package/lib/darwin/libclang_rt.profile_iossim.a +0 -0
  110. package/lib/darwin/libclang_rt.profile_osx.a +0 -0
  111. package/lib/darwin/libclang_rt.rtsan_ios_dynamic.dylib +0 -0
  112. package/lib/darwin/libclang_rt.rtsan_iossim_dynamic.dylib +0 -0
  113. package/lib/darwin/libclang_rt.rtsan_osx_dynamic.dylib +0 -0
  114. package/lib/darwin/libclang_rt.stats_client_ios.a +0 -0
  115. package/lib/darwin/libclang_rt.stats_client_iossim.a +0 -0
  116. package/lib/darwin/libclang_rt.stats_client_osx.a +0 -0
  117. package/lib/darwin/libclang_rt.stats_ios_dynamic.dylib +0 -0
  118. package/lib/darwin/libclang_rt.stats_iossim_dynamic.dylib +0 -0
  119. package/lib/darwin/libclang_rt.stats_osx_dynamic.dylib +0 -0
  120. package/lib/darwin/libclang_rt.tsan_ios_dynamic.dylib +0 -0
  121. package/lib/darwin/libclang_rt.tsan_iossim_dynamic.dylib +0 -0
  122. package/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib +0 -0
  123. package/lib/darwin/libclang_rt.tysan_ios_dynamic.dylib +0 -0
  124. package/lib/darwin/libclang_rt.tysan_iossim_dynamic.dylib +0 -0
  125. package/lib/darwin/libclang_rt.tysan_osx_dynamic.dylib +0 -0
  126. package/lib/darwin/libclang_rt.ubsan_ios_dynamic.dylib +0 -0
  127. package/lib/darwin/libclang_rt.ubsan_iossim_dynamic.dylib +0 -0
  128. package/lib/darwin/libclang_rt.ubsan_minimal_ios.a +0 -0
  129. package/lib/darwin/libclang_rt.ubsan_minimal_ios_dynamic.dylib +0 -0
  130. package/lib/darwin/libclang_rt.ubsan_minimal_iossim.a +0 -0
  131. package/lib/darwin/libclang_rt.ubsan_minimal_iossim_dynamic.dylib +0 -0
  132. package/lib/darwin/libclang_rt.ubsan_minimal_osx.a +0 -0
  133. package/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib +0 -0
  134. package/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib +0 -0
  135. package/package.json +1 -1
  136. package/include/amxtf32intrin.h +0 -108
@@ -0,0 +1,19 @@
1
+ /*===----------------------------- time.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 __ZOS_WRAPPERS_TIME_H
11
+ #define __ZOS_WRAPPERS_TIME_H
12
+ #if __has_include_next(<time.h>)
13
+ #include_next <time.h>
14
+ #ifdef __time
15
+ #undef __time
16
+ #define __time __time
17
+ #endif
18
+ #endif /* __has_include_next(<time.h>) */
19
+ #endif /* __ZOS_WRAPPERS_TIME_H */
@@ -0,0 +1,19 @@
1
+ /*===-------------------------- variant.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 __ZOS_WRAPPERS_VARIANT_H
11
+ #define __ZOS_WRAPPERS_VARIANT_H
12
+ #if __has_include_next(<variant.h>)
13
+ #include_next <variant.h>
14
+ #ifdef __variant
15
+ #undef __variant
16
+ #define __variant __variant
17
+ #endif
18
+ #endif /* __has_include_next(<variant.h>) */
19
+ #endif /* __ZOS_WRAPPERS_VARIANT_H */
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llvm-runtime-resources-darwin",
3
- "version": "22.1.8",
3
+ "version": "23.1.0",
4
4
  "description": "The compiler runtime libraries for Apple platforms",
5
5
  "exports": {
6
6
  ".": "./index.js",
@@ -1,108 +0,0 @@
1
- /*===------------- amxtf32intrin.h - AMX_TF32 intrinsics -*- C++ -*---------===
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 __IMMINTRIN_H
11
- #error "Never use <amxtf32intrin.h> directly; include <immintrin.h> instead."
12
- #endif // __IMMINTRIN_H
13
-
14
- #ifndef __AMX_TF32INTRIN_H
15
- #define __AMX_TF32INTRIN_H
16
- #ifdef __x86_64__
17
-
18
- #define __DEFAULT_FN_ATTRS_TF32 \
19
- __attribute__((__always_inline__, __nodebug__, __target__("amx-tf32")))
20
-
21
- /// Do Matrix Multiplication of \a a and \a b, and then do Matrix Plus
22
- /// with \a srcdst.
23
- /// All the calculation is base on float32 but with the lower 13-bit set to 0.
24
- ///
25
- /// \headerfile <immintrin.h>
26
- ///
27
- /// \code
28
- /// void _tile_mmultf32ps(constexpr int srcdst, constexpr int a, \
29
- /// constexpr int b);
30
- /// \endcode
31
- ///
32
- /// This intrinsic corresponds to the <c> TMMULTF32PS </c> instruction.
33
- ///
34
- /// \param srcdst
35
- /// The destination tile. Max size is 1024 Bytes.
36
- /// \param a
37
- /// The 1st source tile. Max size is 1024 Bytes.
38
- /// \param b
39
- /// The 2nd source tile. Max size is 1024 Bytes.
40
- ///
41
- /// \code{.operation}
42
- /// DEFINE zero_lower_mantissa_bits_fp32(x[31:0]) {
43
- /// dword[12:0] := 0
44
- /// dword[31:13] := x[31:13]
45
- /// return dword
46
- /// }
47
- ///
48
- /// DEFINE silence_snan_fp32(x[31:0]) {
49
- /// IF (x.exponent == 255 and x.fraction != 0 and x.fraction[22] == 0)
50
- /// x.fraction[22] := 1
51
- /// return x
52
- /// }
53
- ///
54
- /// elements_a := a.colsb / 4
55
- /// elements_dest := srcdst.colsb / 4
56
- ///
57
- /// FOR m = 0 TO (srcdst.rows-1)
58
- /// tmp[511:0] := 0
59
- /// FOR k = 0 TO (elements_a-1)
60
- /// FOR n = 0 TO (elements_dest-1)
61
- /// af := silence_snan_fp32(a.row[m].fp32[k])
62
- /// bf := silence_snan_fp32(b.row[k].fp32[n])
63
- /// tmp.fp32[n] += zero_lower_mantissa_bits_fp32(af)
64
- /// * zero_lower_mantissa_bits_fp32(bf)
65
- /// ENDFOR
66
- /// ENDFOR
67
- ///
68
- /// FOR n = 0 TO (elements_dest-1)
69
- /// tmp.fp32[n] += srcdst.row[m].fp32[n]
70
- /// ENDFOR
71
- /// write_row_and_zero(srcdst, m, tmp, srcdst.colsb)
72
- ///
73
- /// ENDFOR
74
- ///
75
- /// zero_upper_rows(srcdst, srcdst.rows)
76
- /// zero_tileconfig_start()
77
- /// \endcode
78
- #define _tile_mmultf32ps(srcdst, a, b) \
79
- __builtin_ia32_tmmultf32ps((srcdst), (a), (b))
80
-
81
- static __inline__ _tile1024i __DEFAULT_FN_ATTRS_TF32
82
- _tile_mmultf32ps_internal(unsigned short m, unsigned short n, unsigned short k,
83
- _tile1024i dst, _tile1024i src1, _tile1024i src2) {
84
- return __builtin_ia32_tmmultf32ps_internal(m, n, k, dst, src1, src2);
85
- }
86
-
87
- /// Do Matrix Multiplication of src0 and src1, and then do Matrix Plus with dst.
88
- /// All the calculation is base on float32 but with the lower 13-bit set to 0.
89
- ///
90
- /// \headerfile <immintrin.h>
91
- ///
92
- /// This intrinsic corresponds to the <c> TMMULTF32PS </c> instruction.
93
- ///
94
- /// \param dst
95
- /// The destination tile. Max size is 1024 Bytes.
96
- /// \param src0
97
- /// The 1st source tile. Max size is 1024 Bytes.
98
- /// \param src1
99
- /// The 2nd source tile. Max size is 1024 Bytes.
100
- __DEFAULT_FN_ATTRS_TF32
101
- static void __tile_mmultf32ps(__tile1024i *dst, __tile1024i src0,
102
- __tile1024i src1) {
103
- dst->tile = _tile_mmultf32ps_internal(src0.row, src1.col, src0.col, dst->tile,
104
- src0.tile, src1.tile);
105
- }
106
-
107
- #endif // __x86_64__
108
- #endif // __AMX_TF32INTRIN_H