@cpp-linter/clang-tidy-linux-arm64 17.0.6 → 19.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 (252) hide show
  1. package/README.md +2 -2
  2. package/bin/clang-tidy +2 -2
  3. package/lib/clang/{17 → 19}/include/__clang_cuda_device_functions.h +2 -2
  4. package/lib/clang/{17 → 19}/include/__clang_cuda_intrinsics.h +1 -3
  5. package/lib/clang/{17 → 19}/include/__clang_cuda_libdevice_declares.h +2 -2
  6. package/lib/clang/{17 → 19}/include/__clang_cuda_math.h +2 -2
  7. package/lib/clang/{17 → 19}/include/__clang_cuda_runtime_wrapper.h +2 -2
  8. package/lib/clang/{17 → 19}/include/__clang_hip_math.h +192 -171
  9. package/lib/clang/{17 → 19}/include/__clang_hip_runtime_wrapper.h +34 -26
  10. package/lib/clang/19/include/__stdarg___gnuc_va_list.h +13 -0
  11. package/lib/clang/19/include/__stdarg___va_copy.h +12 -0
  12. package/lib/clang/19/include/__stdarg_header_macro.h +12 -0
  13. package/lib/clang/19/include/__stdarg_va_arg.h +22 -0
  14. package/lib/clang/19/include/__stdarg_va_copy.h +12 -0
  15. package/lib/clang/19/include/__stdarg_va_list.h +13 -0
  16. package/lib/clang/19/include/__stddef_header_macro.h +12 -0
  17. package/lib/clang/{17 → 19}/include/__stddef_max_align_t.h +1 -1
  18. package/lib/clang/19/include/__stddef_null.h +29 -0
  19. package/lib/clang/19/include/__stddef_nullptr_t.h +29 -0
  20. package/lib/clang/19/include/__stddef_offsetof.h +17 -0
  21. package/lib/clang/19/include/__stddef_ptrdiff_t.h +20 -0
  22. package/lib/clang/19/include/__stddef_rsize_t.h +20 -0
  23. package/lib/clang/19/include/__stddef_size_t.h +20 -0
  24. package/lib/clang/19/include/__stddef_unreachable.h +21 -0
  25. package/lib/clang/19/include/__stddef_wchar_t.h +28 -0
  26. package/lib/clang/19/include/__stddef_wint_t.h +15 -0
  27. package/lib/clang/{17/include/adxintrin.h → 19/include/adcintrin.h} +27 -94
  28. package/lib/clang/19/include/adxintrin.h +102 -0
  29. package/lib/clang/{17 → 19}/include/altivec.h +31 -12
  30. package/lib/clang/{17 → 19}/include/ammintrin.h +4 -4
  31. package/lib/clang/{17 → 19}/include/arm_acle.h +138 -32
  32. package/lib/clang/{17 → 19}/include/arm_fp16.h +1 -1
  33. package/lib/clang/{17 → 19}/include/arm_neon.h +43361 -43608
  34. package/lib/clang/19/include/arm_sme.h +2819 -0
  35. package/lib/clang/{17 → 19}/include/arm_sve.h +30202 -23615
  36. package/lib/clang/19/include/arm_vector_types.h +345 -0
  37. package/lib/clang/{17 → 19}/include/avx2intrin.h +24 -3
  38. package/lib/clang/{17 → 19}/include/avx512bf16intrin.h +3 -2
  39. package/lib/clang/{17 → 19}/include/avx512bitalgintrin.h +4 -1
  40. package/lib/clang/{17 → 19}/include/avx512bwintrin.h +28 -38
  41. package/lib/clang/{17 → 19}/include/avx512cdintrin.h +3 -1
  42. package/lib/clang/{17 → 19}/include/avx512dqintrin.h +4 -2
  43. package/lib/clang/{17 → 19}/include/avx512fintrin.h +7 -3
  44. package/lib/clang/{17 → 19}/include/avx512fp16intrin.h +44 -42
  45. package/lib/clang/{17 → 19}/include/avx512ifmaintrin.h +3 -1
  46. package/lib/clang/{17 → 19}/include/avx512ifmavlintrin.h +8 -2
  47. package/lib/clang/{17 → 19}/include/avx512vbmi2intrin.h +1 -1
  48. package/lib/clang/{17 → 19}/include/avx512vbmiintrin.h +3 -2
  49. package/lib/clang/{17 → 19}/include/avx512vbmivlintrin.h +8 -3
  50. package/lib/clang/{17 → 19}/include/avx512vlbf16intrin.h +8 -6
  51. package/lib/clang/{17 → 19}/include/avx512vlbitalgintrin.h +8 -2
  52. package/lib/clang/{17 → 19}/include/avx512vlbwintrin.h +8 -2
  53. package/lib/clang/{17 → 19}/include/avx512vlcdintrin.h +8 -3
  54. package/lib/clang/{17 → 19}/include/avx512vldqintrin.h +8 -2
  55. package/lib/clang/{17 → 19}/include/avx512vlfp16intrin.h +2 -2
  56. package/lib/clang/{17 → 19}/include/avx512vlintrin.h +8 -2
  57. package/lib/clang/{17 → 19}/include/avx512vlvbmi2intrin.h +8 -2
  58. package/lib/clang/{17 → 19}/include/avx512vlvnniintrin.h +8 -2
  59. package/lib/clang/{17 → 19}/include/avx512vlvp2intersectintrin.h +6 -4
  60. package/lib/clang/{17 → 19}/include/avx512vnniintrin.h +3 -2
  61. package/lib/clang/{17 → 19}/include/avx512vp2intersectintrin.h +3 -2
  62. package/lib/clang/{17 → 19}/include/avx512vpopcntdqintrin.h +3 -1
  63. package/lib/clang/{17 → 19}/include/avx512vpopcntdqvlintrin.h +6 -2
  64. package/lib/clang/{17 → 19}/include/avxintrin.h +67 -49
  65. package/lib/clang/{17 → 19}/include/bmiintrin.h +233 -50
  66. package/lib/clang/{17 → 19}/include/builtins.h +3 -0
  67. package/lib/clang/{17 → 19}/include/cpuid.h +23 -3
  68. package/lib/clang/{17 → 19}/include/cuda_wrappers/algorithm +1 -1
  69. package/lib/clang/{17 → 19}/include/emmintrin.h +311 -180
  70. package/lib/clang/{17 → 19}/include/float.h +28 -0
  71. package/lib/clang/{17 → 19}/include/fmaintrin.h +32 -16
  72. package/lib/clang/{17 → 19}/include/gfniintrin.h +23 -6
  73. package/lib/clang/{17 → 19}/include/hlsl/hlsl_basic_types.h +10 -3
  74. package/lib/clang/19/include/hlsl/hlsl_intrinsics.h +1697 -0
  75. package/lib/clang/19/include/ia32intrin.h +863 -0
  76. package/lib/clang/{17 → 19}/include/immintrin.h +149 -160
  77. package/lib/clang/{17 → 19}/include/intrin.h +61 -221
  78. package/lib/clang/19/include/intrin0.h +247 -0
  79. package/lib/clang/{17 → 19}/include/inttypes.h +4 -0
  80. package/lib/clang/{17 → 19}/include/iso646.h +4 -0
  81. package/lib/clang/{17 → 19}/include/keylockerintrin.h +5 -8
  82. package/lib/clang/{17 → 19}/include/larchintrin.h +13 -1
  83. package/lib/clang/19/include/lasxintrin.h +3884 -0
  84. package/lib/clang/{17 → 19}/include/limits.h +7 -4
  85. package/lib/clang/{17/include/llvm_libc_wrappers/stdio.h → 19/include/llvm_libc_wrappers/assert.h} +7 -7
  86. package/lib/clang/{17 → 19}/include/llvm_libc_wrappers/ctype.h +17 -0
  87. package/lib/clang/19/include/llvm_libc_wrappers/stdio.h +80 -0
  88. package/lib/clang/{17 → 19}/include/llvm_libc_wrappers/stdlib.h +4 -1
  89. package/lib/clang/19/include/llvm_libc_wrappers/string.h +96 -0
  90. package/lib/clang/{17/include/llvm_libc_wrappers/string.h → 19/include/llvm_libc_wrappers/time.h} +9 -12
  91. package/lib/clang/19/include/lsxintrin.h +3750 -0
  92. package/lib/clang/19/include/mm3dnow.h +22 -0
  93. package/lib/clang/{17 → 19}/include/mmintrin.h +83 -89
  94. package/lib/clang/19/include/module.modulemap +330 -0
  95. package/lib/clang/{17 → 19}/include/opencl-c-base.h +9 -0
  96. package/lib/clang/{17 → 19}/include/opencl-c.h +15 -0
  97. package/lib/clang/{17 → 19}/include/openmp_wrappers/cmath +1 -1
  98. package/lib/clang/{17 → 19}/include/pmmintrin.h +3 -2
  99. package/lib/clang/19/include/ppc_wrappers/nmmintrin.h +26 -0
  100. package/lib/clang/{17 → 19}/include/ppc_wrappers/smmintrin.h +35 -15
  101. package/lib/clang/{17 → 19}/include/prfchwintrin.h +10 -8
  102. package/lib/clang/19/include/ptrauth.h +330 -0
  103. package/lib/clang/19/include/riscv_bitmanip.h +195 -0
  104. package/lib/clang/19/include/riscv_crypto.h +170 -0
  105. package/lib/clang/{17 → 19}/include/riscv_ntlh.h +3 -5
  106. package/lib/clang/{17 → 19}/include/riscv_vector.h +31 -4
  107. package/lib/clang/19/include/sifive_vector.h +118 -0
  108. package/lib/clang/{17 → 19}/include/smmintrin.h +15 -15
  109. package/lib/clang/{17 → 19}/include/stdalign.h +6 -3
  110. package/lib/clang/19/include/stdarg.h +75 -0
  111. package/lib/clang/{17 → 19}/include/stdatomic.h +14 -6
  112. package/lib/clang/{17 → 19}/include/stdbool.h +5 -0
  113. package/lib/clang/19/include/stdckdint.h +42 -0
  114. package/lib/clang/19/include/stddef.h +139 -0
  115. package/lib/clang/{17 → 19}/include/stdint.h +24 -48
  116. package/lib/clang/{17 → 19}/include/stdnoreturn.h +8 -2
  117. package/lib/clang/{17 → 19}/include/tmmintrin.h +27 -18
  118. package/lib/clang/19/include/usermsrintrin.h +51 -0
  119. package/lib/clang/{17 → 19}/include/vaesintrin.h +4 -2
  120. package/lib/clang/{17 → 19}/include/varargs.h +5 -1
  121. package/lib/clang/{17 → 19}/include/vecintrin.h +217 -199
  122. package/lib/clang/{17 → 19}/include/x86gprintrin.h +10 -12
  123. package/lib/clang/19/include/x86intrin.h +53 -0
  124. package/lib/clang/{17 → 19}/include/xmmintrin.h +294 -104
  125. package/lib/clang/19/include/yvals_core.h +25 -0
  126. package/lib/clang/19/include/zos_wrappers/builtins.h +18 -0
  127. package/package.json +6 -6
  128. package/lib/clang/17/include/arm_sme_draft_spec_subject_to_change.h +0 -642
  129. package/lib/clang/17/include/avx512erintrin.h +0 -271
  130. package/lib/clang/17/include/avx512pfintrin.h +0 -97
  131. package/lib/clang/17/include/hlsl/hlsl_intrinsics.h +0 -480
  132. package/lib/clang/17/include/ia32intrin.h +0 -441
  133. package/lib/clang/17/include/mm3dnow.h +0 -157
  134. package/lib/clang/17/include/module.modulemap +0 -164
  135. package/lib/clang/17/include/sifive_vector.h +0 -16
  136. package/lib/clang/17/include/stdarg.h +0 -51
  137. package/lib/clang/17/include/stddef.h +0 -133
  138. package/lib/clang/17/include/x86intrin.h +0 -67
  139. /package/lib/clang/{17 → 19}/include/__clang_cuda_builtin_vars.h +0 -0
  140. /package/lib/clang/{17 → 19}/include/__clang_cuda_cmath.h +0 -0
  141. /package/lib/clang/{17 → 19}/include/__clang_cuda_complex_builtins.h +0 -0
  142. /package/lib/clang/{17 → 19}/include/__clang_cuda_math_forward_declares.h +0 -0
  143. /package/lib/clang/{17 → 19}/include/__clang_cuda_texture_intrinsics.h +0 -0
  144. /package/lib/clang/{17 → 19}/include/__clang_hip_cmath.h +0 -0
  145. /package/lib/clang/{17 → 19}/include/__clang_hip_libdevice_declares.h +0 -0
  146. /package/lib/clang/{17 → 19}/include/__clang_hip_stdlib.h +0 -0
  147. /package/lib/clang/{17 → 19}/include/__wmmintrin_aes.h +0 -0
  148. /package/lib/clang/{17 → 19}/include/__wmmintrin_pclmul.h +0 -0
  149. /package/lib/clang/{17 → 19}/include/amxcomplexintrin.h +0 -0
  150. /package/lib/clang/{17 → 19}/include/amxfp16intrin.h +0 -0
  151. /package/lib/clang/{17 → 19}/include/amxintrin.h +0 -0
  152. /package/lib/clang/{17 → 19}/include/arm64intr.h +0 -0
  153. /package/lib/clang/{17 → 19}/include/arm_bf16.h +0 -0
  154. /package/lib/clang/{17 → 19}/include/arm_cde.h +0 -0
  155. /package/lib/clang/{17 → 19}/include/arm_cmse.h +0 -0
  156. /package/lib/clang/{17 → 19}/include/arm_mve.h +0 -0
  157. /package/lib/clang/{17 → 19}/include/arm_neon_sve_bridge.h +0 -0
  158. /package/lib/clang/{17 → 19}/include/armintr.h +0 -0
  159. /package/lib/clang/{17 → 19}/include/avxifmaintrin.h +0 -0
  160. /package/lib/clang/{17 → 19}/include/avxneconvertintrin.h +0 -0
  161. /package/lib/clang/{17 → 19}/include/avxvnniint16intrin.h +0 -0
  162. /package/lib/clang/{17 → 19}/include/avxvnniint8intrin.h +0 -0
  163. /package/lib/clang/{17 → 19}/include/avxvnniintrin.h +0 -0
  164. /package/lib/clang/{17 → 19}/include/bmi2intrin.h +0 -0
  165. /package/lib/clang/{17 → 19}/include/cet.h +0 -0
  166. /package/lib/clang/{17 → 19}/include/cetintrin.h +0 -0
  167. /package/lib/clang/{17 → 19}/include/cldemoteintrin.h +0 -0
  168. /package/lib/clang/{17 → 19}/include/clflushoptintrin.h +0 -0
  169. /package/lib/clang/{17 → 19}/include/clwbintrin.h +0 -0
  170. /package/lib/clang/{17 → 19}/include/clzerointrin.h +0 -0
  171. /package/lib/clang/{17 → 19}/include/cmpccxaddintrin.h +0 -0
  172. /package/lib/clang/{17 → 19}/include/crc32intrin.h +0 -0
  173. /package/lib/clang/{17 → 19}/include/cuda_wrappers/bits/basic_string.h +0 -0
  174. /package/lib/clang/{17 → 19}/include/cuda_wrappers/bits/basic_string.tcc +0 -0
  175. /package/lib/clang/{17 → 19}/include/cuda_wrappers/bits/shared_ptr_base.h +0 -0
  176. /package/lib/clang/{17 → 19}/include/cuda_wrappers/cmath +0 -0
  177. /package/lib/clang/{17 → 19}/include/cuda_wrappers/complex +0 -0
  178. /package/lib/clang/{17 → 19}/include/cuda_wrappers/new +0 -0
  179. /package/lib/clang/{17 → 19}/include/enqcmdintrin.h +0 -0
  180. /package/lib/clang/{17 → 19}/include/f16cintrin.h +0 -0
  181. /package/lib/clang/{17 → 19}/include/fma4intrin.h +0 -0
  182. /package/lib/clang/{17 → 19}/include/fxsrintrin.h +0 -0
  183. /package/lib/clang/{17 → 19}/include/hexagon_circ_brev_intrinsics.h +0 -0
  184. /package/lib/clang/{17 → 19}/include/hexagon_protos.h +0 -0
  185. /package/lib/clang/{17 → 19}/include/hexagon_types.h +0 -0
  186. /package/lib/clang/{17 → 19}/include/hlsl.h +0 -0
  187. /package/lib/clang/{17 → 19}/include/hresetintrin.h +0 -0
  188. /package/lib/clang/{17 → 19}/include/htmintrin.h +0 -0
  189. /package/lib/clang/{17 → 19}/include/htmxlintrin.h +0 -0
  190. /package/lib/clang/{17 → 19}/include/hvx_hexagon_protos.h +0 -0
  191. /package/lib/clang/{17 → 19}/include/invpcidintrin.h +0 -0
  192. /package/lib/clang/{17 → 19}/include/llvm_libc_wrappers/inttypes.h +0 -0
  193. /package/lib/clang/{17 → 19}/include/lwpintrin.h +0 -0
  194. /package/lib/clang/{17 → 19}/include/lzcntintrin.h +0 -0
  195. /package/lib/clang/{17 → 19}/include/mm_malloc.h +0 -0
  196. /package/lib/clang/{17 → 19}/include/movdirintrin.h +0 -0
  197. /package/lib/clang/{17 → 19}/include/msa.h +0 -0
  198. /package/lib/clang/{17 → 19}/include/mwaitxintrin.h +0 -0
  199. /package/lib/clang/{17 → 19}/include/nmmintrin.h +0 -0
  200. /package/lib/clang/{17 → 19}/include/openmp_wrappers/__clang_openmp_device_functions.h +0 -0
  201. /package/lib/clang/{17 → 19}/include/openmp_wrappers/complex +0 -0
  202. /package/lib/clang/{17 → 19}/include/openmp_wrappers/complex.h +0 -0
  203. /package/lib/clang/{17 → 19}/include/openmp_wrappers/complex_cmath.h +0 -0
  204. /package/lib/clang/{17 → 19}/include/openmp_wrappers/math.h +0 -0
  205. /package/lib/clang/{17 → 19}/include/openmp_wrappers/new +0 -0
  206. /package/lib/clang/{17 → 19}/include/pconfigintrin.h +0 -0
  207. /package/lib/clang/{17 → 19}/include/pkuintrin.h +0 -0
  208. /package/lib/clang/{17 → 19}/include/popcntintrin.h +0 -0
  209. /package/lib/clang/{17 → 19}/include/ppc_wrappers/bmi2intrin.h +0 -0
  210. /package/lib/clang/{17 → 19}/include/ppc_wrappers/bmiintrin.h +0 -0
  211. /package/lib/clang/{17 → 19}/include/ppc_wrappers/emmintrin.h +0 -0
  212. /package/lib/clang/{17 → 19}/include/ppc_wrappers/immintrin.h +0 -0
  213. /package/lib/clang/{17 → 19}/include/ppc_wrappers/mm_malloc.h +0 -0
  214. /package/lib/clang/{17 → 19}/include/ppc_wrappers/mmintrin.h +0 -0
  215. /package/lib/clang/{17 → 19}/include/ppc_wrappers/pmmintrin.h +0 -0
  216. /package/lib/clang/{17 → 19}/include/ppc_wrappers/tmmintrin.h +0 -0
  217. /package/lib/clang/{17 → 19}/include/ppc_wrappers/x86gprintrin.h +0 -0
  218. /package/lib/clang/{17 → 19}/include/ppc_wrappers/x86intrin.h +0 -0
  219. /package/lib/clang/{17 → 19}/include/ppc_wrappers/xmmintrin.h +0 -0
  220. /package/lib/clang/{17 → 19}/include/prfchiintrin.h +0 -0
  221. /package/lib/clang/{17 → 19}/include/ptwriteintrin.h +0 -0
  222. /package/lib/clang/{17 → 19}/include/raointintrin.h +0 -0
  223. /package/lib/clang/{17 → 19}/include/rdpruintrin.h +0 -0
  224. /package/lib/clang/{17 → 19}/include/rdseedintrin.h +0 -0
  225. /package/lib/clang/{17 → 19}/include/rtmintrin.h +0 -0
  226. /package/lib/clang/{17 → 19}/include/s390intrin.h +0 -0
  227. /package/lib/clang/{17 → 19}/include/serializeintrin.h +0 -0
  228. /package/lib/clang/{17 → 19}/include/sgxintrin.h +0 -0
  229. /package/lib/clang/{17 → 19}/include/sha512intrin.h +0 -0
  230. /package/lib/clang/{17 → 19}/include/shaintrin.h +0 -0
  231. /package/lib/clang/{17 → 19}/include/sm3intrin.h +0 -0
  232. /package/lib/clang/{17 → 19}/include/sm4intrin.h +0 -0
  233. /package/lib/clang/{17 → 19}/include/tbmintrin.h +0 -0
  234. /package/lib/clang/{17 → 19}/include/tgmath.h +0 -0
  235. /package/lib/clang/{17 → 19}/include/tsxldtrkintrin.h +0 -0
  236. /package/lib/clang/{17 → 19}/include/uintrintrin.h +0 -0
  237. /package/lib/clang/{17 → 19}/include/unwind.h +0 -0
  238. /package/lib/clang/{17 → 19}/include/vadefs.h +0 -0
  239. /package/lib/clang/{17 → 19}/include/velintrin.h +0 -0
  240. /package/lib/clang/{17 → 19}/include/velintrin_approx.h +0 -0
  241. /package/lib/clang/{17 → 19}/include/velintrin_gen.h +0 -0
  242. /package/lib/clang/{17 → 19}/include/vpclmulqdqintrin.h +0 -0
  243. /package/lib/clang/{17 → 19}/include/waitpkgintrin.h +0 -0
  244. /package/lib/clang/{17 → 19}/include/wasm_simd128.h +0 -0
  245. /package/lib/clang/{17 → 19}/include/wbnoinvdintrin.h +0 -0
  246. /package/lib/clang/{17 → 19}/include/wmmintrin.h +0 -0
  247. /package/lib/clang/{17 → 19}/include/xopintrin.h +0 -0
  248. /package/lib/clang/{17 → 19}/include/xsavecintrin.h +0 -0
  249. /package/lib/clang/{17 → 19}/include/xsaveintrin.h +0 -0
  250. /package/lib/clang/{17 → 19}/include/xsaveoptintrin.h +0 -0
  251. /package/lib/clang/{17 → 19}/include/xsavesintrin.h +0 -0
  252. /package/lib/clang/{17 → 19}/include/xtestintrin.h +0 -0
@@ -45,6 +45,11 @@
45
45
  #define __opencl_c_ext_fp32_local_atomic_add 1
46
46
  #define __opencl_c_ext_fp32_global_atomic_min_max 1
47
47
  #define __opencl_c_ext_fp32_local_atomic_min_max 1
48
+ #define __opencl_c_ext_image_raw10_raw12 1
49
+ #define cl_khr_kernel_clock 1
50
+ #define __opencl_c_kernel_clock_scope_device 1
51
+ #define __opencl_c_kernel_clock_scope_work_group 1
52
+ #define __opencl_c_kernel_clock_scope_sub_group 1
48
53
 
49
54
  #endif // defined(__SPIR__) || defined(__SPIRV__)
50
55
  #endif // (defined(__OPENCL_CPP_VERSION__) || __OPENCL_C_VERSION__ >= 200)
@@ -477,6 +482,10 @@ typedef enum memory_order
477
482
  #if __OPENCL_C_VERSION__ >= CL_VERSION_3_0
478
483
  #define CLK_UNORM_INT_101010_2 0x10E0
479
484
  #endif // __OPENCL_C_VERSION__ >= CL_VERSION_3_0
485
+ #ifdef __opencl_c_ext_image_raw10_raw12
486
+ #define CLK_UNSIGNED_INT_RAW10_EXT 0x10E3
487
+ #define CLK_UNSIGNED_INT_RAW12_EXT 0x10E4
488
+ #endif // __opencl_c_ext_image_raw10_raw12
480
489
 
481
490
  // Channel order, numbering must be aligned with cl_channel_order in cl.h
482
491
  //
@@ -17314,6 +17314,21 @@ half __ovld __conv sub_group_clustered_rotate(half, int, uint);
17314
17314
  #endif // cl_khr_fp16
17315
17315
  #endif // cl_khr_subgroup_rotate
17316
17316
 
17317
+ #if defined(cl_khr_kernel_clock)
17318
+ #if defined(__opencl_c_kernel_clock_scope_device)
17319
+ ulong __ovld clock_read_device();
17320
+ uint2 __ovld clock_read_hilo_device();
17321
+ #endif // __opencl_c_kernel_clock_scope_device
17322
+ #if defined(__opencl_c_kernel_clock_scope_work_group)
17323
+ ulong __ovld clock_read_work_group();
17324
+ uint2 __ovld clock_read_hilo_work_group();
17325
+ #endif // __opencl_c_kernel_clock_scope_work_group
17326
+ #if defined(__opencl_c_kernel_clock_scope_sub_group)
17327
+ ulong __ovld clock_read_sub_group();
17328
+ uint2 __ovld clock_read_hilo_sub_group();
17329
+ #endif // __opencl_c_kernel_clock_scope_sub_group
17330
+ #endif // cl_khr_kernel_clock
17331
+
17317
17332
  #if defined(cl_intel_subgroups)
17318
17333
  // Intel-Specific Sub Group Functions
17319
17334
  float __ovld __conv intel_sub_group_shuffle( float , uint );
@@ -1,4 +1,4 @@
1
- /*===-- __clang_openmp_device_functions.h - OpenMP math declares ------ c++ -===
1
+ /*===-- __clang_openmp_device_functions.h - OpenMP math declares -*- c++ -*-===
2
2
  *
3
3
  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
  * See https://llvm.org/LICENSE.txt for license information.
@@ -17,8 +17,9 @@
17
17
  #include <emmintrin.h>
18
18
 
19
19
  /* Define the default attributes for the functions in this file. */
20
- #define __DEFAULT_FN_ATTRS \
21
- __attribute__((__always_inline__, __nodebug__, __target__("sse3"), __min_vector_width__(128)))
20
+ #define __DEFAULT_FN_ATTRS \
21
+ __attribute__((__always_inline__, __nodebug__, \
22
+ __target__("sse3,no-evex512"), __min_vector_width__(128)))
22
23
 
23
24
  /// Loads data from an unaligned memory location to elements in a 128-bit
24
25
  /// vector.
@@ -0,0 +1,26 @@
1
+ /*===---- nmmintrin.h - Implementation of SSE4 intrinsics on PowerPC -------===
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 NO_WARN_X86_INTRINSICS
11
+ /* This header is distributed to simplify porting x86_64 code that
12
+ makes explicit use of Intel intrinsics to powerpc64le.
13
+ It is the user's responsibility to determine if the results are
14
+ acceptable and make additional changes as necessary.
15
+ Note that much code that uses Intel intrinsics can be rewritten in
16
+ standard C or GNU C extensions, which are more portable and better
17
+ optimized across multiple targets. */
18
+ #endif
19
+
20
+ #ifndef NMMINTRIN_H_
21
+ #define NMMINTRIN_H_
22
+
23
+ /* We just include SSE4.1 header file. */
24
+ #include <smmintrin.h>
25
+
26
+ #endif /* NMMINTRIN_H_ */
@@ -14,7 +14,7 @@
14
14
 
15
15
  #ifndef NO_WARN_X86_INTRINSICS
16
16
  /* This header is distributed to simplify porting x86_64 code that
17
- makes explicit use of Intel intrinsics to powerp64/powerpc64le.
17
+ makes explicit use of Intel intrinsics to powerpc64/powerpc64le.
18
18
 
19
19
  It is the user's responsibility to determine if the results are
20
20
  acceptable and make additional changes as necessary.
@@ -68,10 +68,10 @@ extern __inline __m128d
68
68
  __asm__("mffsce %0" : "=f"(__fpscr_save.__fr));
69
69
  __enables_save.__fpscr = __fpscr_save.__fpscr & 0xf8;
70
70
  #else
71
- __fpscr_save.__fr = __builtin_mffs();
71
+ __fpscr_save.__fr = __builtin_ppc_mffs();
72
72
  __enables_save.__fpscr = __fpscr_save.__fpscr & 0xf8;
73
73
  __fpscr_save.__fpscr &= ~0xf8;
74
- __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
74
+ __builtin_ppc_mtfsf(0b00000011, __fpscr_save.__fr);
75
75
  #endif
76
76
  /* Insert an artificial "read/write" reference to the variable
77
77
  read below, to ensure the compiler does not schedule
@@ -83,10 +83,15 @@ extern __inline __m128d
83
83
 
84
84
  switch (__rounding) {
85
85
  case _MM_FROUND_TO_NEAREST_INT:
86
- __fpscr_save.__fr = __builtin_mffsl();
86
+ #ifdef _ARCH_PWR9
87
+ __fpscr_save.__fr = __builtin_ppc_mffsl();
88
+ #else
89
+ __fpscr_save.__fr = __builtin_ppc_mffs();
90
+ __fpscr_save.__fpscr &= 0x70007f0ffL;
91
+ #endif
87
92
  __attribute__((fallthrough));
88
93
  case _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC:
89
- __builtin_set_fpscr_rn(0b00);
94
+ __builtin_ppc_set_fpscr_rn(0b00);
90
95
  /* Insert an artificial "read/write" reference to the variable
91
96
  read below, to ensure the compiler does not schedule
92
97
  a read/use of the variable before the FPSCR is modified, above.
@@ -102,7 +107,7 @@ extern __inline __m128d
102
107
  This can be removed if and when GCC PR102783 is fixed.
103
108
  */
104
109
  __asm__("" : : "wa"(__r));
105
- __builtin_set_fpscr_rn(__fpscr_save.__fpscr);
110
+ __builtin_ppc_set_fpscr_rn(__fpscr_save.__fpscr);
106
111
  break;
107
112
  case _MM_FROUND_TO_NEG_INF:
108
113
  case _MM_FROUND_TO_NEG_INF | _MM_FROUND_NO_EXC:
@@ -128,9 +133,14 @@ extern __inline __m128d
128
133
  */
129
134
  __asm__("" : : "wa"(__r));
130
135
  /* Restore enabled exceptions. */
131
- __fpscr_save.__fr = __builtin_mffsl();
136
+ #ifdef _ARCH_PWR9
137
+ __fpscr_save.__fr = __builtin_ppc_mffsl();
138
+ #else
139
+ __fpscr_save.__fr = __builtin_ppc_mffs();
140
+ __fpscr_save.__fpscr &= 0x70007f0ffL;
141
+ #endif
132
142
  __fpscr_save.__fpscr |= __enables_save.__fpscr;
133
- __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
143
+ __builtin_ppc_mtfsf(0b00000011, __fpscr_save.__fr);
134
144
  }
135
145
  return (__m128d)__r;
136
146
  }
@@ -159,10 +169,10 @@ extern __inline __m128
159
169
  __asm__("mffsce %0" : "=f"(__fpscr_save.__fr));
160
170
  __enables_save.__fpscr = __fpscr_save.__fpscr & 0xf8;
161
171
  #else
162
- __fpscr_save.__fr = __builtin_mffs();
172
+ __fpscr_save.__fr = __builtin_ppc_mffs();
163
173
  __enables_save.__fpscr = __fpscr_save.__fpscr & 0xf8;
164
174
  __fpscr_save.__fpscr &= ~0xf8;
165
- __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
175
+ __builtin_ppc_mtfsf(0b00000011, __fpscr_save.__fr);
166
176
  #endif
167
177
  /* Insert an artificial "read/write" reference to the variable
168
178
  read below, to ensure the compiler does not schedule
@@ -174,10 +184,15 @@ extern __inline __m128
174
184
 
175
185
  switch (__rounding) {
176
186
  case _MM_FROUND_TO_NEAREST_INT:
177
- __fpscr_save.__fr = __builtin_mffsl();
187
+ #ifdef _ARCH_PWR9
188
+ __fpscr_save.__fr = __builtin_ppc_mffsl();
189
+ #else
190
+ __fpscr_save.__fr = __builtin_ppc_mffs();
191
+ __fpscr_save.__fpscr &= 0x70007f0ffL;
192
+ #endif
178
193
  __attribute__((fallthrough));
179
194
  case _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC:
180
- __builtin_set_fpscr_rn(0b00);
195
+ __builtin_ppc_set_fpscr_rn(0b00);
181
196
  /* Insert an artificial "read/write" reference to the variable
182
197
  read below, to ensure the compiler does not schedule
183
198
  a read/use of the variable before the FPSCR is modified, above.
@@ -193,7 +208,7 @@ extern __inline __m128
193
208
  This can be removed if and when GCC PR102783 is fixed.
194
209
  */
195
210
  __asm__("" : : "wa"(__r));
196
- __builtin_set_fpscr_rn(__fpscr_save.__fpscr);
211
+ __builtin_ppc_set_fpscr_rn(__fpscr_save.__fpscr);
197
212
  break;
198
213
  case _MM_FROUND_TO_NEG_INF:
199
214
  case _MM_FROUND_TO_NEG_INF | _MM_FROUND_NO_EXC:
@@ -219,9 +234,14 @@ extern __inline __m128
219
234
  */
220
235
  __asm__("" : : "wa"(__r));
221
236
  /* Restore enabled exceptions. */
222
- __fpscr_save.__fr = __builtin_mffsl();
237
+ #ifdef _ARCH_PWR9
238
+ __fpscr_save.__fr = __builtin_ppc_mffsl();
239
+ #else
240
+ __fpscr_save.__fr = __builtin_ppc_mffs();
241
+ __fpscr_save.__fpscr &= 0x70007f0ffL;
242
+ #endif
223
243
  __fpscr_save.__fpscr |= __enables_save.__fpscr;
224
- __builtin_mtfsf(0b00000011, __fpscr_save.__fr);
244
+ __builtin_ppc_mtfsf(0b00000011, __fpscr_save.__fr);
225
245
  }
226
246
  return (__m128)__r;
227
247
  }
@@ -8,16 +8,17 @@
8
8
  */
9
9
 
10
10
  #if !defined(__X86INTRIN_H) && !defined(_MM3DNOW_H_INCLUDED)
11
- #error "Never use <prfchwintrin.h> directly; include <x86intrin.h> or <mm3dnow.h> instead."
11
+ #error "Never use <prfchwintrin.h> directly; include <x86intrin.h> instead."
12
12
  #endif
13
13
 
14
14
  #ifndef __PRFCHWINTRIN_H
15
15
  #define __PRFCHWINTRIN_H
16
16
 
17
17
  /// Loads a memory sequence containing the specified memory address into
18
- /// all data cache levels. The cache-coherency state is set to exclusive.
19
- /// Data can be read from and written to the cache line without additional
20
- /// delay.
18
+ /// all data cache levels.
19
+ ///
20
+ /// The cache-coherency state is set to exclusive. Data can be read from
21
+ /// and written to the cache line without additional delay.
21
22
  ///
22
23
  /// \headerfile <x86intrin.h>
23
24
  ///
@@ -32,10 +33,11 @@ _m_prefetch(void *__P)
32
33
  }
33
34
 
34
35
  /// Loads a memory sequence containing the specified memory address into
35
- /// the L1 data cache and sets the cache-coherency to modified. This
36
- /// provides a hint to the processor that the cache line will be modified.
37
- /// It is intended for use when the cache line will be written to shortly
38
- /// after the prefetch is performed.
36
+ /// the L1 data cache and sets the cache-coherency state to modified.
37
+ ///
38
+ /// This provides a hint to the processor that the cache line will be
39
+ /// modified. It is intended for use when the cache line will be written to
40
+ /// shortly after the prefetch is performed.
39
41
  ///
40
42
  /// Note that the effect of this intrinsic is dependent on the processor
41
43
  /// implementation.
@@ -0,0 +1,330 @@
1
+ /*===---- ptrauth.h - Pointer authentication -------------------------------===
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 __PTRAUTH_H
11
+ #define __PTRAUTH_H
12
+
13
+ typedef enum {
14
+ ptrauth_key_asia = 0,
15
+ ptrauth_key_asib = 1,
16
+ ptrauth_key_asda = 2,
17
+ ptrauth_key_asdb = 3,
18
+
19
+ /* A process-independent key which can be used to sign code pointers. */
20
+ ptrauth_key_process_independent_code = ptrauth_key_asia,
21
+
22
+ /* A process-specific key which can be used to sign code pointers. */
23
+ ptrauth_key_process_dependent_code = ptrauth_key_asib,
24
+
25
+ /* A process-independent key which can be used to sign data pointers. */
26
+ ptrauth_key_process_independent_data = ptrauth_key_asda,
27
+
28
+ /* A process-specific key which can be used to sign data pointers. */
29
+ ptrauth_key_process_dependent_data = ptrauth_key_asdb,
30
+
31
+ /* The key used to sign return addresses on the stack.
32
+ The extra data is based on the storage address of the return address.
33
+ On AArch64, that is always the storage address of the return address + 8
34
+ (or, in other words, the value of the stack pointer on function entry) */
35
+ ptrauth_key_return_address = ptrauth_key_process_dependent_code,
36
+
37
+ /* The key used to sign C function pointers.
38
+ The extra data is always 0. */
39
+ ptrauth_key_function_pointer = ptrauth_key_process_independent_code,
40
+
41
+ /* The key used to sign C++ v-table pointers.
42
+ The extra data is always 0. */
43
+ ptrauth_key_cxx_vtable_pointer = ptrauth_key_process_independent_data,
44
+
45
+ /* Other pointers signed under the ABI use private ABI rules. */
46
+
47
+ } ptrauth_key;
48
+
49
+ /* An integer type of the appropriate size for a discriminator argument. */
50
+ typedef __UINTPTR_TYPE__ ptrauth_extra_data_t;
51
+
52
+ /* An integer type of the appropriate size for a generic signature. */
53
+ typedef __UINTPTR_TYPE__ ptrauth_generic_signature_t;
54
+
55
+ /* A signed pointer value embeds the original pointer together with
56
+ a signature that attests to the validity of that pointer. Because
57
+ this signature must use only "spare" bits of the pointer, a
58
+ signature's validity is probabilistic in practice: it is unlikely
59
+ but still plausible that an invalidly-derived signature will
60
+ somehow equal the correct signature and therefore successfully
61
+ authenticate. Nonetheless, this scheme provides a strong degree
62
+ of protection against certain kinds of attacks. */
63
+
64
+ /* Authenticating a pointer that was not signed with the given key
65
+ and extra-data value will (likely) fail by trapping. */
66
+
67
+ /* The null function pointer is always the all-zero bit pattern.
68
+ Signing an all-zero bit pattern will embed a (likely) non-zero
69
+ signature in the result, and so the result will not seem to be
70
+ a null function pointer. Authenticating this value will yield
71
+ a null function pointer back. However, authenticating an
72
+ all-zero bit pattern will probably fail, because the
73
+ authentication will expect a (likely) non-zero signature to
74
+ embedded in the value.
75
+
76
+ Because of this, if a pointer may validly be null, you should
77
+ check for null before attempting to authenticate it with one
78
+ of these intrinsics. This is not necessary when using the
79
+ __ptrauth qualifier; the compiler will perform this check
80
+ automatically. */
81
+
82
+ #if __has_feature(ptrauth_intrinsics)
83
+
84
+ /* Strip the signature from a value without authenticating it.
85
+
86
+ If the value is a function pointer, the result will not be a
87
+ legal function pointer because of the missing signature, and
88
+ attempting to call it will result in an authentication failure.
89
+
90
+ The value must be an expression of pointer type.
91
+ The key must be a constant expression of type ptrauth_key.
92
+ The result will have the same type as the original value. */
93
+ #define ptrauth_strip(__value, __key) __builtin_ptrauth_strip(__value, __key)
94
+
95
+ /* Blend a constant discriminator into the given pointer-like value
96
+ to form a new discriminator. Not all bits of the inputs are
97
+ guaranteed to contribute to the result.
98
+
99
+ On arm64e, the integer must fall within the range of a uint16_t;
100
+ other bits may be ignored.
101
+
102
+ For the purposes of ptrauth_sign_constant, the result of calling
103
+ this function is considered a constant expression if the arguments
104
+ are constant. Some restrictions may be imposed on the pointer.
105
+
106
+ The first argument must be an expression of pointer type.
107
+ The second argument must be an expression of integer type.
108
+ The result will have type uintptr_t. */
109
+ #define ptrauth_blend_discriminator(__pointer, __integer) \
110
+ __builtin_ptrauth_blend_discriminator(__pointer, __integer)
111
+
112
+ /* Return a signed pointer for a constant address in a manner which guarantees
113
+ a non-attackable sequence.
114
+
115
+ The value must be a constant expression of pointer type which evaluates to
116
+ a non-null pointer.
117
+ The key must be a constant expression of type ptrauth_key.
118
+ The extra data must be a constant expression of pointer or integer type;
119
+ if an integer, it will be coerced to ptrauth_extra_data_t.
120
+ The result will have the same type as the original value.
121
+
122
+ This can be used in constant expressions. */
123
+ #define ptrauth_sign_constant(__value, __key, __data) \
124
+ __builtin_ptrauth_sign_constant(__value, __key, __data)
125
+
126
+ /* Add a signature to the given pointer value using a specific key,
127
+ using the given extra data as a salt to the signing process.
128
+
129
+ This operation does not authenticate the original value and is
130
+ therefore potentially insecure if an attacker could possibly
131
+ control that value.
132
+
133
+ The value must be an expression of pointer type.
134
+ The key must be a constant expression of type ptrauth_key.
135
+ The extra data must be an expression of pointer or integer type;
136
+ if an integer, it will be coerced to ptrauth_extra_data_t.
137
+ The result will have the same type as the original value. */
138
+ #define ptrauth_sign_unauthenticated(__value, __key, __data) \
139
+ __builtin_ptrauth_sign_unauthenticated(__value, __key, __data)
140
+
141
+ /* Authenticate a pointer using one scheme and resign it using another.
142
+
143
+ If the result is subsequently authenticated using the new scheme, that
144
+ authentication is guaranteed to fail if and only if the initial
145
+ authentication failed.
146
+
147
+ The value must be an expression of pointer type.
148
+ The key must be a constant expression of type ptrauth_key.
149
+ The extra data must be an expression of pointer or integer type;
150
+ if an integer, it will be coerced to ptrauth_extra_data_t.
151
+ The result will have the same type as the original value.
152
+
153
+ This operation is guaranteed to not leave the intermediate value
154
+ available for attack before it is re-signed.
155
+
156
+ Do not pass a null pointer to this function. A null pointer
157
+ will not successfully authenticate.
158
+
159
+ This operation traps if the authentication fails. */
160
+ #define ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \
161
+ __new_data) \
162
+ __builtin_ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \
163
+ __new_data)
164
+
165
+ /* Authenticate a pointer using one scheme and resign it as a C
166
+ function pointer.
167
+
168
+ If the result is subsequently authenticated using the new scheme, that
169
+ authentication is guaranteed to fail if and only if the initial
170
+ authentication failed.
171
+
172
+ The value must be an expression of function pointer type.
173
+ The key must be a constant expression of type ptrauth_key.
174
+ The extra data must be an expression of pointer or integer type;
175
+ if an integer, it will be coerced to ptrauth_extra_data_t.
176
+ The result will have the same type as the original value.
177
+
178
+ This operation is guaranteed to not leave the intermediate value
179
+ available for attack before it is re-signed. Additionally, if this
180
+ expression is used syntactically as the function expression in a
181
+ call, only a single authentication will be performed. */
182
+ #define ptrauth_auth_function(__value, __old_key, __old_data) \
183
+ ptrauth_auth_and_resign(__value, __old_key, __old_data, \
184
+ ptrauth_key_function_pointer, 0)
185
+
186
+ /* Authenticate a data pointer.
187
+
188
+ The value must be an expression of non-function pointer type.
189
+ The key must be a constant expression of type ptrauth_key.
190
+ The extra data must be an expression of pointer or integer type;
191
+ if an integer, it will be coerced to ptrauth_extra_data_t.
192
+ The result will have the same type as the original value.
193
+
194
+ This operation traps if the authentication fails. */
195
+ #define ptrauth_auth_data(__value, __old_key, __old_data) \
196
+ __builtin_ptrauth_auth(__value, __old_key, __old_data)
197
+
198
+ /* Compute a constant discriminator from the given string.
199
+
200
+ The argument must be a string literal of char character type. The result
201
+ has type ptrauth_extra_data_t.
202
+
203
+ The result value is never zero and always within range for both the
204
+ __ptrauth qualifier and ptrauth_blend_discriminator.
205
+
206
+ This can be used in constant expressions.
207
+ */
208
+ #define ptrauth_string_discriminator(__string) \
209
+ __builtin_ptrauth_string_discriminator(__string)
210
+
211
+ /* Compute a constant discriminator from the given type.
212
+
213
+ The result can be used as the second argument to
214
+ ptrauth_blend_discriminator or the third argument to the
215
+ __ptrauth qualifier. It has type size_t.
216
+
217
+ If the type is a C++ member function pointer type, the result is
218
+ the discriminator used to signed member function pointers of that
219
+ type. If the type is a function, function pointer, or function
220
+ reference type, the result is the discriminator used to sign
221
+ functions of that type. It is ill-formed to use this macro with any
222
+ other type.
223
+
224
+ A call to this function is an integer constant expression. */
225
+ #define ptrauth_type_discriminator(__type) \
226
+ __builtin_ptrauth_type_discriminator(__type)
227
+
228
+ /* Compute a signature for the given pair of pointer-sized values.
229
+ The order of the arguments is significant.
230
+
231
+ Like a pointer signature, the resulting signature depends on
232
+ private key data and therefore should not be reliably reproducible
233
+ by attackers. That means that this can be used to validate the
234
+ integrity of arbitrary data by storing a signature for that data
235
+ alongside it, then checking that the signature is still valid later.
236
+ Data which exceeds two pointers in size can be signed by either
237
+ computing a tree of generic signatures or just signing an ordinary
238
+ cryptographic hash of the data.
239
+
240
+ The result has type ptrauth_generic_signature_t. However, it may
241
+ not have as many bits of entropy as that type's width would suggest;
242
+ some implementations are known to compute a compressed signature as
243
+ if the arguments were a pointer and a discriminator.
244
+
245
+ The arguments must be either pointers or integers; if integers, they
246
+ will be coerce to uintptr_t. */
247
+ #define ptrauth_sign_generic_data(__value, __data) \
248
+ __builtin_ptrauth_sign_generic_data(__value, __data)
249
+
250
+ /* C++ vtable pointer signing class attribute */
251
+ #define ptrauth_cxx_vtable_pointer(key, address_discrimination, \
252
+ extra_discrimination...) \
253
+ [[clang::ptrauth_vtable_pointer(key, address_discrimination, \
254
+ extra_discrimination)]]
255
+
256
+ #else
257
+
258
+ #define ptrauth_strip(__value, __key) \
259
+ ({ \
260
+ (void)__key; \
261
+ __value; \
262
+ })
263
+
264
+ #define ptrauth_blend_discriminator(__pointer, __integer) \
265
+ ({ \
266
+ (void)__pointer; \
267
+ (void)__integer; \
268
+ ((ptrauth_extra_data_t)0); \
269
+ })
270
+
271
+ #define ptrauth_sign_constant(__value, __key, __data) \
272
+ ({ \
273
+ (void)__key; \
274
+ (void)__data; \
275
+ __value; \
276
+ })
277
+
278
+ #define ptrauth_sign_unauthenticated(__value, __key, __data) \
279
+ ({ \
280
+ (void)__key; \
281
+ (void)__data; \
282
+ __value; \
283
+ })
284
+
285
+ #define ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \
286
+ __new_data) \
287
+ ({ \
288
+ (void)__old_key; \
289
+ (void)__old_data; \
290
+ (void)__new_key; \
291
+ (void)__new_data; \
292
+ __value; \
293
+ })
294
+
295
+ #define ptrauth_auth_function(__value, __old_key, __old_data) \
296
+ ({ \
297
+ (void)__old_key; \
298
+ (void)__old_data; \
299
+ __value; \
300
+ })
301
+
302
+ #define ptrauth_auth_data(__value, __old_key, __old_data) \
303
+ ({ \
304
+ (void)__old_key; \
305
+ (void)__old_data; \
306
+ __value; \
307
+ })
308
+
309
+ #define ptrauth_string_discriminator(__string) \
310
+ ({ \
311
+ (void)__string; \
312
+ ((ptrauth_extra_data_t)0); \
313
+ })
314
+
315
+ #define ptrauth_type_discriminator(__type) ((ptrauth_extra_data_t)0)
316
+
317
+ #define ptrauth_sign_generic_data(__value, __data) \
318
+ ({ \
319
+ (void)__value; \
320
+ (void)__data; \
321
+ ((ptrauth_generic_signature_t)0); \
322
+ })
323
+
324
+
325
+ #define ptrauth_cxx_vtable_pointer(key, address_discrimination, \
326
+ extra_discrimination...)
327
+
328
+ #endif /* __has_feature(ptrauth_intrinsics) */
329
+
330
+ #endif /* __PTRAUTH_H */