@cpp-linter/clang-tidy-win32-x64 12.0.1

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 (164) hide show
  1. package/LICENSE.TXT +279 -0
  2. package/README.md +7 -0
  3. package/bin/clang-tidy.exe +4 -0
  4. package/lib/clang/12.0.1/include/__clang_cuda_builtin_vars.h +121 -0
  5. package/lib/clang/12.0.1/include/__clang_cuda_cmath.h +512 -0
  6. package/lib/clang/12.0.1/include/__clang_cuda_complex_builtins.h +285 -0
  7. package/lib/clang/12.0.1/include/__clang_cuda_device_functions.h +1486 -0
  8. package/lib/clang/12.0.1/include/__clang_cuda_intrinsics.h +486 -0
  9. package/lib/clang/12.0.1/include/__clang_cuda_libdevice_declares.h +462 -0
  10. package/lib/clang/12.0.1/include/__clang_cuda_math.h +348 -0
  11. package/lib/clang/12.0.1/include/__clang_cuda_math_forward_declares.h +284 -0
  12. package/lib/clang/12.0.1/include/__clang_cuda_runtime_wrapper.h +443 -0
  13. package/lib/clang/12.0.1/include/__clang_hip_cmath.h +664 -0
  14. package/lib/clang/12.0.1/include/__clang_hip_libdevice_declares.h +334 -0
  15. package/lib/clang/12.0.1/include/__clang_hip_math.h +1275 -0
  16. package/lib/clang/12.0.1/include/__clang_hip_runtime_wrapper.h +69 -0
  17. package/lib/clang/12.0.1/include/__stddef_max_align_t.h +27 -0
  18. package/lib/clang/12.0.1/include/__wmmintrin_aes.h +140 -0
  19. package/lib/clang/12.0.1/include/__wmmintrin_pclmul.h +48 -0
  20. package/lib/clang/12.0.1/include/adxintrin.h +72 -0
  21. package/lib/clang/12.0.1/include/altivec.h +18239 -0
  22. package/lib/clang/12.0.1/include/ammintrin.h +179 -0
  23. package/lib/clang/12.0.1/include/amxintrin.h +278 -0
  24. package/lib/clang/12.0.1/include/arm64intr.h +35 -0
  25. package/lib/clang/12.0.1/include/arm_acle.h +716 -0
  26. package/lib/clang/12.0.1/include/arm_bf16.h +20 -0
  27. package/lib/clang/12.0.1/include/arm_cde.h +410 -0
  28. package/lib/clang/12.0.1/include/arm_cmse.h +217 -0
  29. package/lib/clang/12.0.1/include/arm_fp16.h +596 -0
  30. package/lib/clang/12.0.1/include/arm_mve.h +19187 -0
  31. package/lib/clang/12.0.1/include/arm_neon.h +68982 -0
  32. package/lib/clang/12.0.1/include/arm_sve.h +18148 -0
  33. package/lib/clang/12.0.1/include/armintr.h +31 -0
  34. package/lib/clang/12.0.1/include/avx2intrin.h +1148 -0
  35. package/lib/clang/12.0.1/include/avx512bf16intrin.h +279 -0
  36. package/lib/clang/12.0.1/include/avx512bitalgintrin.h +83 -0
  37. package/lib/clang/12.0.1/include/avx512bwintrin.h +2024 -0
  38. package/lib/clang/12.0.1/include/avx512cdintrin.h +123 -0
  39. package/lib/clang/12.0.1/include/avx512dqintrin.h +1377 -0
  40. package/lib/clang/12.0.1/include/avx512erintrin.h +271 -0
  41. package/lib/clang/12.0.1/include/avx512fintrin.h +9618 -0
  42. package/lib/clang/12.0.1/include/avx512ifmaintrin.h +68 -0
  43. package/lib/clang/12.0.1/include/avx512ifmavlintrin.h +119 -0
  44. package/lib/clang/12.0.1/include/avx512pfintrin.h +97 -0
  45. package/lib/clang/12.0.1/include/avx512vbmi2intrin.h +357 -0
  46. package/lib/clang/12.0.1/include/avx512vbmiintrin.h +105 -0
  47. package/lib/clang/12.0.1/include/avx512vbmivlintrin.h +188 -0
  48. package/lib/clang/12.0.1/include/avx512vlbf16intrin.h +474 -0
  49. package/lib/clang/12.0.1/include/avx512vlbitalgintrin.h +145 -0
  50. package/lib/clang/12.0.1/include/avx512vlbwintrin.h +2809 -0
  51. package/lib/clang/12.0.1/include/avx512vlcdintrin.h +225 -0
  52. package/lib/clang/12.0.1/include/avx512vldqintrin.h +1167 -0
  53. package/lib/clang/12.0.1/include/avx512vlintrin.h +8445 -0
  54. package/lib/clang/12.0.1/include/avx512vlvbmi2intrin.h +689 -0
  55. package/lib/clang/12.0.1/include/avx512vlvnniintrin.h +304 -0
  56. package/lib/clang/12.0.1/include/avx512vlvp2intersectintrin.h +121 -0
  57. package/lib/clang/12.0.1/include/avx512vnniintrin.h +115 -0
  58. package/lib/clang/12.0.1/include/avx512vp2intersectintrin.h +77 -0
  59. package/lib/clang/12.0.1/include/avx512vpopcntdqintrin.h +54 -0
  60. package/lib/clang/12.0.1/include/avx512vpopcntdqvlintrin.h +91 -0
  61. package/lib/clang/12.0.1/include/avxintrin.h +5053 -0
  62. package/lib/clang/12.0.1/include/avxvnniintrin.h +225 -0
  63. package/lib/clang/12.0.1/include/bmi2intrin.h +81 -0
  64. package/lib/clang/12.0.1/include/bmiintrin.h +427 -0
  65. package/lib/clang/12.0.1/include/cet.h +66 -0
  66. package/lib/clang/12.0.1/include/cetintrin.h +99 -0
  67. package/lib/clang/12.0.1/include/cldemoteintrin.h +36 -0
  68. package/lib/clang/12.0.1/include/clflushoptintrin.h +27 -0
  69. package/lib/clang/12.0.1/include/clwbintrin.h +38 -0
  70. package/lib/clang/12.0.1/include/clzerointrin.h +36 -0
  71. package/lib/clang/12.0.1/include/cpuid.h +319 -0
  72. package/lib/clang/12.0.1/include/cuda_wrappers/algorithm +116 -0
  73. package/lib/clang/12.0.1/include/cuda_wrappers/complex +82 -0
  74. package/lib/clang/12.0.1/include/cuda_wrappers/new +106 -0
  75. package/lib/clang/12.0.1/include/emmintrin.h +4981 -0
  76. package/lib/clang/12.0.1/include/enqcmdintrin.h +63 -0
  77. package/lib/clang/12.0.1/include/f16cintrin.h +162 -0
  78. package/lib/clang/12.0.1/include/float.h +152 -0
  79. package/lib/clang/12.0.1/include/fma4intrin.h +218 -0
  80. package/lib/clang/12.0.1/include/fmaintrin.h +216 -0
  81. package/lib/clang/12.0.1/include/fxsrintrin.h +91 -0
  82. package/lib/clang/12.0.1/include/gfniintrin.h +193 -0
  83. package/lib/clang/12.0.1/include/hresetintrin.h +49 -0
  84. package/lib/clang/12.0.1/include/htmintrin.h +212 -0
  85. package/lib/clang/12.0.1/include/htmxlintrin.h +345 -0
  86. package/lib/clang/12.0.1/include/ia32intrin.h +441 -0
  87. package/lib/clang/12.0.1/include/immintrin.h +600 -0
  88. package/lib/clang/12.0.1/include/intrin.h +585 -0
  89. package/lib/clang/12.0.1/include/inttypes.h +97 -0
  90. package/lib/clang/12.0.1/include/invpcidintrin.h +23 -0
  91. package/lib/clang/12.0.1/include/iso646.h +27 -0
  92. package/lib/clang/12.0.1/include/keylockerintrin.h +506 -0
  93. package/lib/clang/12.0.1/include/limits.h +102 -0
  94. package/lib/clang/12.0.1/include/lwpintrin.h +136 -0
  95. package/lib/clang/12.0.1/include/lzcntintrin.h +104 -0
  96. package/lib/clang/12.0.1/include/mm3dnow.h +157 -0
  97. package/lib/clang/12.0.1/include/mm_malloc.h +67 -0
  98. package/lib/clang/12.0.1/include/mmintrin.h +1558 -0
  99. package/lib/clang/12.0.1/include/module.modulemap +164 -0
  100. package/lib/clang/12.0.1/include/movdirintrin.h +49 -0
  101. package/lib/clang/12.0.1/include/msa.h +573 -0
  102. package/lib/clang/12.0.1/include/mwaitxintrin.h +33 -0
  103. package/lib/clang/12.0.1/include/nmmintrin.h +16 -0
  104. package/lib/clang/12.0.1/include/opencl-c-base.h +589 -0
  105. package/lib/clang/12.0.1/include/opencl-c.h +17162 -0
  106. package/lib/clang/12.0.1/include/openmp_wrappers/__clang_openmp_device_functions.h +42 -0
  107. package/lib/clang/12.0.1/include/openmp_wrappers/cmath +78 -0
  108. package/lib/clang/12.0.1/include/openmp_wrappers/complex +52 -0
  109. package/lib/clang/12.0.1/include/openmp_wrappers/complex.h +27 -0
  110. package/lib/clang/12.0.1/include/openmp_wrappers/complex_cmath.h +388 -0
  111. package/lib/clang/12.0.1/include/openmp_wrappers/math.h +51 -0
  112. package/lib/clang/12.0.1/include/openmp_wrappers/new +70 -0
  113. package/lib/clang/12.0.1/include/pconfigintrin.h +40 -0
  114. package/lib/clang/12.0.1/include/pkuintrin.h +34 -0
  115. package/lib/clang/12.0.1/include/pmmintrin.h +290 -0
  116. package/lib/clang/12.0.1/include/popcntintrin.h +59 -0
  117. package/lib/clang/12.0.1/include/ppc_wrappers/emmintrin.h +2324 -0
  118. package/lib/clang/12.0.1/include/ppc_wrappers/mm_malloc.h +50 -0
  119. package/lib/clang/12.0.1/include/ppc_wrappers/mmintrin.h +1450 -0
  120. package/lib/clang/12.0.1/include/ppc_wrappers/pmmintrin.h +150 -0
  121. package/lib/clang/12.0.1/include/ppc_wrappers/smmintrin.h +109 -0
  122. package/lib/clang/12.0.1/include/ppc_wrappers/tmmintrin.h +495 -0
  123. package/lib/clang/12.0.1/include/ppc_wrappers/xmmintrin.h +1843 -0
  124. package/lib/clang/12.0.1/include/prfchwintrin.h +55 -0
  125. package/lib/clang/12.0.1/include/ptwriteintrin.h +37 -0
  126. package/lib/clang/12.0.1/include/rdseedintrin.h +42 -0
  127. package/lib/clang/12.0.1/include/rtmintrin.h +45 -0
  128. package/lib/clang/12.0.1/include/s390intrin.h +25 -0
  129. package/lib/clang/12.0.1/include/serializeintrin.h +30 -0
  130. package/lib/clang/12.0.1/include/sgxintrin.h +60 -0
  131. package/lib/clang/12.0.1/include/shaintrin.h +61 -0
  132. package/lib/clang/12.0.1/include/smmintrin.h +2430 -0
  133. package/lib/clang/12.0.1/include/stdalign.h +21 -0
  134. package/lib/clang/12.0.1/include/stdarg.h +35 -0
  135. package/lib/clang/12.0.1/include/stdatomic.h +176 -0
  136. package/lib/clang/12.0.1/include/stdbool.h +31 -0
  137. package/lib/clang/12.0.1/include/stddef.h +121 -0
  138. package/lib/clang/12.0.1/include/stdint.h +693 -0
  139. package/lib/clang/12.0.1/include/stdnoreturn.h +16 -0
  140. package/lib/clang/12.0.1/include/tbmintrin.h +140 -0
  141. package/lib/clang/12.0.1/include/tgmath.h +1368 -0
  142. package/lib/clang/12.0.1/include/tmmintrin.h +771 -0
  143. package/lib/clang/12.0.1/include/tsxldtrkintrin.h +56 -0
  144. package/lib/clang/12.0.1/include/uintrintrin.h +150 -0
  145. package/lib/clang/12.0.1/include/unwind.h +327 -0
  146. package/lib/clang/12.0.1/include/vadefs.h +51 -0
  147. package/lib/clang/12.0.1/include/vaesintrin.h +84 -0
  148. package/lib/clang/12.0.1/include/varargs.h +12 -0
  149. package/lib/clang/12.0.1/include/vecintrin.h +10998 -0
  150. package/lib/clang/12.0.1/include/vpclmulqdqintrin.h +28 -0
  151. package/lib/clang/12.0.1/include/waitpkgintrin.h +42 -0
  152. package/lib/clang/12.0.1/include/wasm_simd128.h +1167 -0
  153. package/lib/clang/12.0.1/include/wbnoinvdintrin.h +24 -0
  154. package/lib/clang/12.0.1/include/wmmintrin.h +19 -0
  155. package/lib/clang/12.0.1/include/x86gprintrin.h +23 -0
  156. package/lib/clang/12.0.1/include/x86intrin.h +63 -0
  157. package/lib/clang/12.0.1/include/xmmintrin.h +3008 -0
  158. package/lib/clang/12.0.1/include/xopintrin.h +770 -0
  159. package/lib/clang/12.0.1/include/xsavecintrin.h +34 -0
  160. package/lib/clang/12.0.1/include/xsaveintrin.h +63 -0
  161. package/lib/clang/12.0.1/include/xsaveoptintrin.h +34 -0
  162. package/lib/clang/12.0.1/include/xsavesintrin.h +44 -0
  163. package/lib/clang/12.0.1/include/xtestintrin.h +27 -0
  164. package/package.json +32 -0
@@ -0,0 +1,585 @@
1
+ /* ===-------- intrin.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
+ /* Only include this if we're compiling for the windows platform. */
11
+ #ifndef _MSC_VER
12
+ #include_next <intrin.h>
13
+ #else
14
+
15
+ #ifndef __INTRIN_H
16
+ #define __INTRIN_H
17
+
18
+ /* First include the standard intrinsics. */
19
+ #if defined(__i386__) || defined(__x86_64__)
20
+ #include <x86intrin.h>
21
+ #endif
22
+
23
+ #if defined(__arm__)
24
+ #include <armintr.h>
25
+ #endif
26
+
27
+ #if defined(__aarch64__)
28
+ #include <arm64intr.h>
29
+ #endif
30
+
31
+ /* For the definition of jmp_buf. */
32
+ #if __STDC_HOSTED__
33
+ #include <setjmp.h>
34
+ #endif
35
+
36
+ /* Define the default attributes for the functions in this file. */
37
+ #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__))
38
+
39
+ #if __x86_64__
40
+ #define __LPTRINT_TYPE__ __int64
41
+ #else
42
+ #define __LPTRINT_TYPE__ long
43
+ #endif
44
+
45
+ #ifdef __cplusplus
46
+ extern "C" {
47
+ #endif
48
+
49
+ #if defined(__MMX__)
50
+ /* And the random ones that aren't in those files. */
51
+ __m64 _m_from_float(float);
52
+ float _m_to_float(__m64);
53
+ #endif
54
+
55
+ /* Other assorted instruction intrinsics. */
56
+ void __addfsbyte(unsigned long, unsigned char);
57
+ void __addfsdword(unsigned long, unsigned long);
58
+ void __addfsword(unsigned long, unsigned short);
59
+ void __code_seg(const char *);
60
+ void __cpuid(int[4], int);
61
+ void __cpuidex(int[4], int, int);
62
+ __int64 __emul(int, int);
63
+ unsigned __int64 __emulu(unsigned int, unsigned int);
64
+ unsigned int __getcallerseflags(void);
65
+ void __halt(void);
66
+ unsigned char __inbyte(unsigned short);
67
+ void __inbytestring(unsigned short, unsigned char *, unsigned long);
68
+ void __incfsbyte(unsigned long);
69
+ void __incfsdword(unsigned long);
70
+ void __incfsword(unsigned long);
71
+ unsigned long __indword(unsigned short);
72
+ void __indwordstring(unsigned short, unsigned long *, unsigned long);
73
+ void __int2c(void);
74
+ void __invlpg(void *);
75
+ unsigned short __inword(unsigned short);
76
+ void __inwordstring(unsigned short, unsigned short *, unsigned long);
77
+ void __lidt(void *);
78
+ unsigned __int64 __ll_lshift(unsigned __int64, int);
79
+ __int64 __ll_rshift(__int64, int);
80
+ void __movsb(unsigned char *, unsigned char const *, size_t);
81
+ void __movsd(unsigned long *, unsigned long const *, size_t);
82
+ void __movsw(unsigned short *, unsigned short const *, size_t);
83
+ void __nop(void);
84
+ void __nvreg_restore_fence(void);
85
+ void __nvreg_save_fence(void);
86
+ void __outbyte(unsigned short, unsigned char);
87
+ void __outbytestring(unsigned short, unsigned char *, unsigned long);
88
+ void __outdword(unsigned short, unsigned long);
89
+ void __outdwordstring(unsigned short, unsigned long *, unsigned long);
90
+ void __outword(unsigned short, unsigned short);
91
+ void __outwordstring(unsigned short, unsigned short *, unsigned long);
92
+ unsigned long __readcr0(void);
93
+ unsigned long __readcr2(void);
94
+ unsigned __LPTRINT_TYPE__ __readcr3(void);
95
+ unsigned long __readcr4(void);
96
+ unsigned long __readcr8(void);
97
+ unsigned int __readdr(unsigned int);
98
+ #ifdef __i386__
99
+ unsigned char __readfsbyte(unsigned long);
100
+ unsigned __int64 __readfsqword(unsigned long);
101
+ unsigned short __readfsword(unsigned long);
102
+ #endif
103
+ unsigned __int64 __readmsr(unsigned long);
104
+ unsigned __int64 __readpmc(unsigned long);
105
+ unsigned long __segmentlimit(unsigned long);
106
+ void __sidt(void *);
107
+ void __stosb(unsigned char *, unsigned char, size_t);
108
+ void __stosd(unsigned long *, unsigned long, size_t);
109
+ void __stosw(unsigned short *, unsigned short, size_t);
110
+ void __svm_clgi(void);
111
+ void __svm_invlpga(void *, int);
112
+ void __svm_skinit(int);
113
+ void __svm_stgi(void);
114
+ void __svm_vmload(size_t);
115
+ void __svm_vmrun(size_t);
116
+ void __svm_vmsave(size_t);
117
+ void __ud2(void);
118
+ unsigned __int64 __ull_rshift(unsigned __int64, int);
119
+ void __vmx_off(void);
120
+ void __vmx_vmptrst(unsigned __int64 *);
121
+ void __wbinvd(void);
122
+ void __writecr0(unsigned int);
123
+ void __writecr3(unsigned __INTPTR_TYPE__);
124
+ void __writecr4(unsigned int);
125
+ void __writecr8(unsigned int);
126
+ void __writedr(unsigned int, unsigned int);
127
+ void __writefsbyte(unsigned long, unsigned char);
128
+ void __writefsdword(unsigned long, unsigned long);
129
+ void __writefsqword(unsigned long, unsigned __int64);
130
+ void __writefsword(unsigned long, unsigned short);
131
+ void __writemsr(unsigned long, unsigned __int64);
132
+ void *_AddressOfReturnAddress(void);
133
+ unsigned char _BitScanForward(unsigned long *_Index, unsigned long _Mask);
134
+ unsigned char _BitScanReverse(unsigned long *_Index, unsigned long _Mask);
135
+ unsigned char _bittest(long const *, long);
136
+ unsigned char _bittestandcomplement(long *, long);
137
+ unsigned char _bittestandreset(long *, long);
138
+ unsigned char _bittestandset(long *, long);
139
+ void __cdecl _disable(void);
140
+ void __cdecl _enable(void);
141
+ long _InterlockedAddLargeStatistic(__int64 volatile *_Addend, long _Value);
142
+ unsigned char _interlockedbittestandreset(long volatile *, long);
143
+ unsigned char _interlockedbittestandset(long volatile *, long);
144
+ void *_InterlockedCompareExchangePointer_HLEAcquire(void *volatile *, void *,
145
+ void *);
146
+ void *_InterlockedCompareExchangePointer_HLERelease(void *volatile *, void *,
147
+ void *);
148
+ long _InterlockedExchangeAdd_HLEAcquire(long volatile *, long);
149
+ long _InterlockedExchangeAdd_HLERelease(long volatile *, long);
150
+ __int64 _InterlockedExchangeAdd64_HLEAcquire(__int64 volatile *, __int64);
151
+ __int64 _InterlockedExchangeAdd64_HLERelease(__int64 volatile *, __int64);
152
+ void __attribute__((__deprecated__(
153
+ "use other intrinsics or C++11 atomics instead"))) _ReadBarrier(void);
154
+ void __attribute__((__deprecated__(
155
+ "use other intrinsics or C++11 atomics instead"))) _ReadWriteBarrier(void);
156
+ unsigned int _rorx_u32(unsigned int, const unsigned int);
157
+ int _sarx_i32(int, unsigned int);
158
+ #if __STDC_HOSTED__
159
+ int __cdecl _setjmp(jmp_buf);
160
+ #endif
161
+ unsigned int _shlx_u32(unsigned int, unsigned int);
162
+ unsigned int _shrx_u32(unsigned int, unsigned int);
163
+ void _Store_HLERelease(long volatile *, long);
164
+ void _Store64_HLERelease(__int64 volatile *, __int64);
165
+ void _StorePointer_HLERelease(void *volatile *, void *);
166
+ void __attribute__((__deprecated__(
167
+ "use other intrinsics or C++11 atomics instead"))) _WriteBarrier(void);
168
+ unsigned __int32 xbegin(void);
169
+ void _xend(void);
170
+
171
+ /* These additional intrinsics are turned on in x64/amd64/x86_64 mode. */
172
+ #ifdef __x86_64__
173
+ void __addgsbyte(unsigned long, unsigned char);
174
+ void __addgsdword(unsigned long, unsigned long);
175
+ void __addgsqword(unsigned long, unsigned __int64);
176
+ void __addgsword(unsigned long, unsigned short);
177
+ void __faststorefence(void);
178
+ void __incgsbyte(unsigned long);
179
+ void __incgsdword(unsigned long);
180
+ void __incgsqword(unsigned long);
181
+ void __incgsword(unsigned long);
182
+ void __movsq(unsigned long long *, unsigned long long const *, size_t);
183
+ unsigned char __readgsbyte(unsigned long);
184
+ unsigned long __readgsdword(unsigned long);
185
+ unsigned __int64 __readgsqword(unsigned long);
186
+ unsigned short __readgsword(unsigned long);
187
+ unsigned __int64 __shiftleft128(unsigned __int64 _LowPart,
188
+ unsigned __int64 _HighPart,
189
+ unsigned char _Shift);
190
+ unsigned __int64 __shiftright128(unsigned __int64 _LowPart,
191
+ unsigned __int64 _HighPart,
192
+ unsigned char _Shift);
193
+ void __stosq(unsigned __int64 *, unsigned __int64, size_t);
194
+ unsigned char __vmx_on(unsigned __int64 *);
195
+ unsigned char __vmx_vmclear(unsigned __int64 *);
196
+ unsigned char __vmx_vmlaunch(void);
197
+ unsigned char __vmx_vmptrld(unsigned __int64 *);
198
+ unsigned char __vmx_vmread(size_t, size_t *);
199
+ unsigned char __vmx_vmresume(void);
200
+ unsigned char __vmx_vmwrite(size_t, size_t);
201
+ void __writegsbyte(unsigned long, unsigned char);
202
+ void __writegsdword(unsigned long, unsigned long);
203
+ void __writegsqword(unsigned long, unsigned __int64);
204
+ void __writegsword(unsigned long, unsigned short);
205
+ unsigned char _bittest64(__int64 const *, __int64);
206
+ unsigned char _bittestandcomplement64(__int64 *, __int64);
207
+ unsigned char _bittestandreset64(__int64 *, __int64);
208
+ unsigned char _bittestandset64(__int64 *, __int64);
209
+ long _InterlockedAnd_np(long volatile *_Value, long _Mask);
210
+ short _InterlockedAnd16_np(short volatile *_Value, short _Mask);
211
+ __int64 _InterlockedAnd64_np(__int64 volatile *_Value, __int64 _Mask);
212
+ char _InterlockedAnd8_np(char volatile *_Value, char _Mask);
213
+ unsigned char _interlockedbittestandreset64(__int64 volatile *, __int64);
214
+ unsigned char _interlockedbittestandset64(__int64 volatile *, __int64);
215
+ long _InterlockedCompareExchange_np(long volatile *_Destination, long _Exchange,
216
+ long _Comparand);
217
+ unsigned char _InterlockedCompareExchange128_np(__int64 volatile *_Destination,
218
+ __int64 _ExchangeHigh,
219
+ __int64 _ExchangeLow,
220
+ __int64 *_ComparandResult);
221
+ short _InterlockedCompareExchange16_np(short volatile *_Destination,
222
+ short _Exchange, short _Comparand);
223
+ __int64 _InterlockedCompareExchange64_np(__int64 volatile *_Destination,
224
+ __int64 _Exchange, __int64 _Comparand);
225
+ void *_InterlockedCompareExchangePointer_np(void *volatile *_Destination,
226
+ void *_Exchange, void *_Comparand);
227
+ long _InterlockedOr_np(long volatile *_Value, long _Mask);
228
+ short _InterlockedOr16_np(short volatile *_Value, short _Mask);
229
+ __int64 _InterlockedOr64_np(__int64 volatile *_Value, __int64 _Mask);
230
+ char _InterlockedOr8_np(char volatile *_Value, char _Mask);
231
+ long _InterlockedXor_np(long volatile *_Value, long _Mask);
232
+ short _InterlockedXor16_np(short volatile *_Value, short _Mask);
233
+ __int64 _InterlockedXor64_np(__int64 volatile *_Value, __int64 _Mask);
234
+ char _InterlockedXor8_np(char volatile *_Value, char _Mask);
235
+ unsigned __int64 _rorx_u64(unsigned __int64, const unsigned int);
236
+ __int64 _sarx_i64(__int64, unsigned int);
237
+ unsigned __int64 _shlx_u64(unsigned __int64, unsigned int);
238
+ unsigned __int64 _shrx_u64(unsigned __int64, unsigned int);
239
+ __int64 __mulh(__int64, __int64);
240
+ unsigned __int64 __umulh(unsigned __int64, unsigned __int64);
241
+ __int64 _mul128(__int64, __int64, __int64*);
242
+ unsigned __int64 _umul128(unsigned __int64,
243
+ unsigned __int64,
244
+ unsigned __int64*);
245
+
246
+ #endif /* __x86_64__ */
247
+
248
+ #if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
249
+
250
+ unsigned char _BitScanForward64(unsigned long *_Index, unsigned __int64 _Mask);
251
+ unsigned char _BitScanReverse64(unsigned long *_Index, unsigned __int64 _Mask);
252
+
253
+ #endif
254
+
255
+ #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
256
+ __int64 _InterlockedDecrement64(__int64 volatile *_Addend);
257
+ __int64 _InterlockedExchange64(__int64 volatile *_Target, __int64 _Value);
258
+ __int64 _InterlockedExchangeAdd64(__int64 volatile *_Addend, __int64 _Value);
259
+ __int64 _InterlockedExchangeSub64(__int64 volatile *_Subend, __int64 _Value);
260
+ __int64 _InterlockedIncrement64(__int64 volatile *_Addend);
261
+ __int64 _InterlockedOr64(__int64 volatile *_Value, __int64 _Mask);
262
+ __int64 _InterlockedXor64(__int64 volatile *_Value, __int64 _Mask);
263
+ __int64 _InterlockedAnd64(__int64 volatile *_Value, __int64 _Mask);
264
+
265
+ #endif
266
+
267
+ /*----------------------------------------------------------------------------*\
268
+ |* Interlocked Exchange Add
269
+ \*----------------------------------------------------------------------------*/
270
+ #if defined(__arm__) || defined(__aarch64__)
271
+ char _InterlockedExchangeAdd8_acq(char volatile *_Addend, char _Value);
272
+ char _InterlockedExchangeAdd8_nf(char volatile *_Addend, char _Value);
273
+ char _InterlockedExchangeAdd8_rel(char volatile *_Addend, char _Value);
274
+ short _InterlockedExchangeAdd16_acq(short volatile *_Addend, short _Value);
275
+ short _InterlockedExchangeAdd16_nf(short volatile *_Addend, short _Value);
276
+ short _InterlockedExchangeAdd16_rel(short volatile *_Addend, short _Value);
277
+ long _InterlockedExchangeAdd_acq(long volatile *_Addend, long _Value);
278
+ long _InterlockedExchangeAdd_nf(long volatile *_Addend, long _Value);
279
+ long _InterlockedExchangeAdd_rel(long volatile *_Addend, long _Value);
280
+ __int64 _InterlockedExchangeAdd64_acq(__int64 volatile *_Addend, __int64 _Value);
281
+ __int64 _InterlockedExchangeAdd64_nf(__int64 volatile *_Addend, __int64 _Value);
282
+ __int64 _InterlockedExchangeAdd64_rel(__int64 volatile *_Addend, __int64 _Value);
283
+ #endif
284
+ /*----------------------------------------------------------------------------*\
285
+ |* Interlocked Increment
286
+ \*----------------------------------------------------------------------------*/
287
+ #if defined(__arm__) || defined(__aarch64__)
288
+ short _InterlockedIncrement16_acq(short volatile *_Value);
289
+ short _InterlockedIncrement16_nf(short volatile *_Value);
290
+ short _InterlockedIncrement16_rel(short volatile *_Value);
291
+ long _InterlockedIncrement_acq(long volatile *_Value);
292
+ long _InterlockedIncrement_nf(long volatile *_Value);
293
+ long _InterlockedIncrement_rel(long volatile *_Value);
294
+ __int64 _InterlockedIncrement64_acq(__int64 volatile *_Value);
295
+ __int64 _InterlockedIncrement64_nf(__int64 volatile *_Value);
296
+ __int64 _InterlockedIncrement64_rel(__int64 volatile *_Value);
297
+ #endif
298
+ /*----------------------------------------------------------------------------*\
299
+ |* Interlocked Decrement
300
+ \*----------------------------------------------------------------------------*/
301
+ #if defined(__arm__) || defined(__aarch64__)
302
+ short _InterlockedDecrement16_acq(short volatile *_Value);
303
+ short _InterlockedDecrement16_nf(short volatile *_Value);
304
+ short _InterlockedDecrement16_rel(short volatile *_Value);
305
+ long _InterlockedDecrement_acq(long volatile *_Value);
306
+ long _InterlockedDecrement_nf(long volatile *_Value);
307
+ long _InterlockedDecrement_rel(long volatile *_Value);
308
+ __int64 _InterlockedDecrement64_acq(__int64 volatile *_Value);
309
+ __int64 _InterlockedDecrement64_nf(__int64 volatile *_Value);
310
+ __int64 _InterlockedDecrement64_rel(__int64 volatile *_Value);
311
+ #endif
312
+ /*----------------------------------------------------------------------------*\
313
+ |* Interlocked And
314
+ \*----------------------------------------------------------------------------*/
315
+ #if defined(__arm__) || defined(__aarch64__)
316
+ char _InterlockedAnd8_acq(char volatile *_Value, char _Mask);
317
+ char _InterlockedAnd8_nf(char volatile *_Value, char _Mask);
318
+ char _InterlockedAnd8_rel(char volatile *_Value, char _Mask);
319
+ short _InterlockedAnd16_acq(short volatile *_Value, short _Mask);
320
+ short _InterlockedAnd16_nf(short volatile *_Value, short _Mask);
321
+ short _InterlockedAnd16_rel(short volatile *_Value, short _Mask);
322
+ long _InterlockedAnd_acq(long volatile *_Value, long _Mask);
323
+ long _InterlockedAnd_nf(long volatile *_Value, long _Mask);
324
+ long _InterlockedAnd_rel(long volatile *_Value, long _Mask);
325
+ __int64 _InterlockedAnd64_acq(__int64 volatile *_Value, __int64 _Mask);
326
+ __int64 _InterlockedAnd64_nf(__int64 volatile *_Value, __int64 _Mask);
327
+ __int64 _InterlockedAnd64_rel(__int64 volatile *_Value, __int64 _Mask);
328
+ #endif
329
+ /*----------------------------------------------------------------------------*\
330
+ |* Bit Counting and Testing
331
+ \*----------------------------------------------------------------------------*/
332
+ #if defined(__arm__) || defined(__aarch64__)
333
+ unsigned char _interlockedbittestandset_acq(long volatile *_BitBase,
334
+ long _BitPos);
335
+ unsigned char _interlockedbittestandset_nf(long volatile *_BitBase,
336
+ long _BitPos);
337
+ unsigned char _interlockedbittestandset_rel(long volatile *_BitBase,
338
+ long _BitPos);
339
+ unsigned char _interlockedbittestandreset_acq(long volatile *_BitBase,
340
+ long _BitPos);
341
+ unsigned char _interlockedbittestandreset_nf(long volatile *_BitBase,
342
+ long _BitPos);
343
+ unsigned char _interlockedbittestandreset_rel(long volatile *_BitBase,
344
+ long _BitPos);
345
+ #endif
346
+ /*----------------------------------------------------------------------------*\
347
+ |* Interlocked Or
348
+ \*----------------------------------------------------------------------------*/
349
+ #if defined(__arm__) || defined(__aarch64__)
350
+ char _InterlockedOr8_acq(char volatile *_Value, char _Mask);
351
+ char _InterlockedOr8_nf(char volatile *_Value, char _Mask);
352
+ char _InterlockedOr8_rel(char volatile *_Value, char _Mask);
353
+ short _InterlockedOr16_acq(short volatile *_Value, short _Mask);
354
+ short _InterlockedOr16_nf(short volatile *_Value, short _Mask);
355
+ short _InterlockedOr16_rel(short volatile *_Value, short _Mask);
356
+ long _InterlockedOr_acq(long volatile *_Value, long _Mask);
357
+ long _InterlockedOr_nf(long volatile *_Value, long _Mask);
358
+ long _InterlockedOr_rel(long volatile *_Value, long _Mask);
359
+ __int64 _InterlockedOr64_acq(__int64 volatile *_Value, __int64 _Mask);
360
+ __int64 _InterlockedOr64_nf(__int64 volatile *_Value, __int64 _Mask);
361
+ __int64 _InterlockedOr64_rel(__int64 volatile *_Value, __int64 _Mask);
362
+ #endif
363
+ /*----------------------------------------------------------------------------*\
364
+ |* Interlocked Xor
365
+ \*----------------------------------------------------------------------------*/
366
+ #if defined(__arm__) || defined(__aarch64__)
367
+ char _InterlockedXor8_acq(char volatile *_Value, char _Mask);
368
+ char _InterlockedXor8_nf(char volatile *_Value, char _Mask);
369
+ char _InterlockedXor8_rel(char volatile *_Value, char _Mask);
370
+ short _InterlockedXor16_acq(short volatile *_Value, short _Mask);
371
+ short _InterlockedXor16_nf(short volatile *_Value, short _Mask);
372
+ short _InterlockedXor16_rel(short volatile *_Value, short _Mask);
373
+ long _InterlockedXor_acq(long volatile *_Value, long _Mask);
374
+ long _InterlockedXor_nf(long volatile *_Value, long _Mask);
375
+ long _InterlockedXor_rel(long volatile *_Value, long _Mask);
376
+ __int64 _InterlockedXor64_acq(__int64 volatile *_Value, __int64 _Mask);
377
+ __int64 _InterlockedXor64_nf(__int64 volatile *_Value, __int64 _Mask);
378
+ __int64 _InterlockedXor64_rel(__int64 volatile *_Value, __int64 _Mask);
379
+ #endif
380
+ /*----------------------------------------------------------------------------*\
381
+ |* Interlocked Exchange
382
+ \*----------------------------------------------------------------------------*/
383
+ #if defined(__arm__) || defined(__aarch64__)
384
+ char _InterlockedExchange8_acq(char volatile *_Target, char _Value);
385
+ char _InterlockedExchange8_nf(char volatile *_Target, char _Value);
386
+ char _InterlockedExchange8_rel(char volatile *_Target, char _Value);
387
+ short _InterlockedExchange16_acq(short volatile *_Target, short _Value);
388
+ short _InterlockedExchange16_nf(short volatile *_Target, short _Value);
389
+ short _InterlockedExchange16_rel(short volatile *_Target, short _Value);
390
+ long _InterlockedExchange_acq(long volatile *_Target, long _Value);
391
+ long _InterlockedExchange_nf(long volatile *_Target, long _Value);
392
+ long _InterlockedExchange_rel(long volatile *_Target, long _Value);
393
+ __int64 _InterlockedExchange64_acq(__int64 volatile *_Target, __int64 _Value);
394
+ __int64 _InterlockedExchange64_nf(__int64 volatile *_Target, __int64 _Value);
395
+ __int64 _InterlockedExchange64_rel(__int64 volatile *_Target, __int64 _Value);
396
+ #endif
397
+ /*----------------------------------------------------------------------------*\
398
+ |* Interlocked Compare Exchange
399
+ \*----------------------------------------------------------------------------*/
400
+ #if defined(__arm__) || defined(__aarch64__)
401
+ char _InterlockedCompareExchange8_acq(char volatile *_Destination,
402
+ char _Exchange, char _Comparand);
403
+ char _InterlockedCompareExchange8_nf(char volatile *_Destination,
404
+ char _Exchange, char _Comparand);
405
+ char _InterlockedCompareExchange8_rel(char volatile *_Destination,
406
+ char _Exchange, char _Comparand);
407
+ short _InterlockedCompareExchange16_acq(short volatile *_Destination,
408
+ short _Exchange, short _Comparand);
409
+ short _InterlockedCompareExchange16_nf(short volatile *_Destination,
410
+ short _Exchange, short _Comparand);
411
+ short _InterlockedCompareExchange16_rel(short volatile *_Destination,
412
+ short _Exchange, short _Comparand);
413
+ long _InterlockedCompareExchange_acq(long volatile *_Destination,
414
+ long _Exchange, long _Comparand);
415
+ long _InterlockedCompareExchange_nf(long volatile *_Destination,
416
+ long _Exchange, long _Comparand);
417
+ long _InterlockedCompareExchange_rel(long volatile *_Destination,
418
+ long _Exchange, long _Comparand);
419
+ __int64 _InterlockedCompareExchange64_acq(__int64 volatile *_Destination,
420
+ __int64 _Exchange, __int64 _Comparand);
421
+ __int64 _InterlockedCompareExchange64_nf(__int64 volatile *_Destination,
422
+ __int64 _Exchange, __int64 _Comparand);
423
+ __int64 _InterlockedCompareExchange64_rel(__int64 volatile *_Destination,
424
+ __int64 _Exchange, __int64 _Comparand);
425
+ #endif
426
+ #if defined(__x86_64__) || defined(__aarch64__)
427
+ unsigned char _InterlockedCompareExchange128(__int64 volatile *_Destination,
428
+ __int64 _ExchangeHigh,
429
+ __int64 _ExchangeLow,
430
+ __int64 *_ComparandResult);
431
+ #endif
432
+ #if defined(__aarch64__)
433
+ unsigned char _InterlockedCompareExchange128_acq(__int64 volatile *_Destination,
434
+ __int64 _ExchangeHigh,
435
+ __int64 _ExchangeLow,
436
+ __int64 *_ComparandResult);
437
+ unsigned char _InterlockedCompareExchange128_nf(__int64 volatile *_Destination,
438
+ __int64 _ExchangeHigh,
439
+ __int64 _ExchangeLow,
440
+ __int64 *_ComparandResult);
441
+ unsigned char _InterlockedCompareExchange128_rel(__int64 volatile *_Destination,
442
+ __int64 _ExchangeHigh,
443
+ __int64 _ExchangeLow,
444
+ __int64 *_ComparandResult);
445
+ #endif
446
+
447
+ /*----------------------------------------------------------------------------*\
448
+ |* movs, stos
449
+ \*----------------------------------------------------------------------------*/
450
+ #if defined(__i386__) || defined(__x86_64__)
451
+ static __inline__ void __DEFAULT_FN_ATTRS __movsb(unsigned char *__dst,
452
+ unsigned char const *__src,
453
+ size_t __n) {
454
+ __asm__ __volatile__("rep movsb" : "+D"(__dst), "+S"(__src), "+c"(__n)
455
+ : : "memory");
456
+ }
457
+ static __inline__ void __DEFAULT_FN_ATTRS __movsd(unsigned long *__dst,
458
+ unsigned long const *__src,
459
+ size_t __n) {
460
+ __asm__ __volatile__("rep movsl"
461
+ : "+D"(__dst), "+S"(__src), "+c"(__n)
462
+ :
463
+ : "memory");
464
+ }
465
+ static __inline__ void __DEFAULT_FN_ATTRS __movsw(unsigned short *__dst,
466
+ unsigned short const *__src,
467
+ size_t __n) {
468
+ __asm__ __volatile__("rep movsw"
469
+ : "+D"(__dst), "+S"(__src), "+c"(__n)
470
+ :
471
+ : "memory");
472
+ }
473
+ static __inline__ void __DEFAULT_FN_ATTRS __stosd(unsigned long *__dst,
474
+ unsigned long __x,
475
+ size_t __n) {
476
+ __asm__ __volatile__("rep stosl"
477
+ : "+D"(__dst), "+c"(__n)
478
+ : "a"(__x)
479
+ : "memory");
480
+ }
481
+ static __inline__ void __DEFAULT_FN_ATTRS __stosw(unsigned short *__dst,
482
+ unsigned short __x,
483
+ size_t __n) {
484
+ __asm__ __volatile__("rep stosw"
485
+ : "+D"(__dst), "+c"(__n)
486
+ : "a"(__x)
487
+ : "memory");
488
+ }
489
+ #endif
490
+ #ifdef __x86_64__
491
+ static __inline__ void __DEFAULT_FN_ATTRS __movsq(
492
+ unsigned long long *__dst, unsigned long long const *__src, size_t __n) {
493
+ __asm__ __volatile__("rep movsq"
494
+ : "+D"(__dst), "+S"(__src), "+c"(__n)
495
+ :
496
+ : "memory");
497
+ }
498
+ static __inline__ void __DEFAULT_FN_ATTRS __stosq(unsigned __int64 *__dst,
499
+ unsigned __int64 __x,
500
+ size_t __n) {
501
+ __asm__ __volatile__("rep stosq" : "+D"(__dst), "+c"(__n) : "a"(__x)
502
+ : "memory");
503
+ }
504
+ #endif
505
+
506
+ /*----------------------------------------------------------------------------*\
507
+ |* Misc
508
+ \*----------------------------------------------------------------------------*/
509
+ #if defined(__i386__) || defined(__x86_64__)
510
+ static __inline__ void __DEFAULT_FN_ATTRS __cpuid(int __info[4], int __level) {
511
+ __asm__("cpuid"
512
+ : "=a"(__info[0]), "=b"(__info[1]), "=c"(__info[2]), "=d"(__info[3])
513
+ : "a"(__level), "c"(0));
514
+ }
515
+ static __inline__ void __DEFAULT_FN_ATTRS __cpuidex(int __info[4], int __level,
516
+ int __ecx) {
517
+ __asm__("cpuid"
518
+ : "=a"(__info[0]), "=b"(__info[1]), "=c"(__info[2]), "=d"(__info[3])
519
+ : "a"(__level), "c"(__ecx));
520
+ }
521
+ static __inline__ void __DEFAULT_FN_ATTRS __halt(void) {
522
+ __asm__ volatile("hlt");
523
+ }
524
+ #endif
525
+
526
+ #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__)
527
+ static __inline__ void __DEFAULT_FN_ATTRS __nop(void) {
528
+ __asm__ volatile("nop");
529
+ }
530
+ #endif
531
+
532
+ /*----------------------------------------------------------------------------*\
533
+ |* MS AArch64 specific
534
+ \*----------------------------------------------------------------------------*/
535
+ #if defined(__aarch64__)
536
+ unsigned __int64 __getReg(int);
537
+ long _InterlockedAdd(long volatile *Addend, long Value);
538
+ __int64 _ReadStatusReg(int);
539
+ void _WriteStatusReg(int, __int64);
540
+
541
+ unsigned short __cdecl _byteswap_ushort(unsigned short val);
542
+ unsigned long __cdecl _byteswap_ulong (unsigned long val);
543
+ unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64 val);
544
+ #endif
545
+
546
+ /*----------------------------------------------------------------------------*\
547
+ |* Privileged intrinsics
548
+ \*----------------------------------------------------------------------------*/
549
+ #if defined(__i386__) || defined(__x86_64__)
550
+ static __inline__ unsigned __int64 __DEFAULT_FN_ATTRS
551
+ __readmsr(unsigned long __register) {
552
+ // Loads the contents of a 64-bit model specific register (MSR) specified in
553
+ // the ECX register into registers EDX:EAX. The EDX register is loaded with
554
+ // the high-order 32 bits of the MSR and the EAX register is loaded with the
555
+ // low-order 32 bits. If less than 64 bits are implemented in the MSR being
556
+ // read, the values returned to EDX:EAX in unimplemented bit locations are
557
+ // undefined.
558
+ unsigned long __edx;
559
+ unsigned long __eax;
560
+ __asm__ ("rdmsr" : "=d"(__edx), "=a"(__eax) : "c"(__register));
561
+ return (((unsigned __int64)__edx) << 32) | (unsigned __int64)__eax;
562
+ }
563
+ #endif
564
+
565
+ static __inline__ unsigned __LPTRINT_TYPE__ __DEFAULT_FN_ATTRS __readcr3(void) {
566
+ unsigned __LPTRINT_TYPE__ __cr3_val;
567
+ __asm__ __volatile__ ("mov %%cr3, %0" : "=r"(__cr3_val) : : "memory");
568
+ return __cr3_val;
569
+ }
570
+
571
+ static __inline__ void __DEFAULT_FN_ATTRS
572
+ __writecr3(unsigned __INTPTR_TYPE__ __cr3_val) {
573
+ __asm__ ("mov %0, %%cr3" : : "r"(__cr3_val) : "memory");
574
+ }
575
+
576
+ #ifdef __cplusplus
577
+ }
578
+ #endif
579
+
580
+ #undef __LPTRINT_TYPE__
581
+
582
+ #undef __DEFAULT_FN_ATTRS
583
+
584
+ #endif /* __INTRIN_H */
585
+ #endif /* _MSC_VER */
@@ -0,0 +1,97 @@
1
+ /*===---- inttypes.h - Standard header for integer printf macros ----------===*\
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_INTTYPES_H
10
+ // AIX system headers need inttypes.h to be re-enterable while _STD_TYPES_T
11
+ // is defined until an inclusion of it without _STD_TYPES_T occurs, in which
12
+ // case the header guard macro is defined.
13
+ #if !defined(_AIX) || !defined(_STD_TYPES_T)
14
+ #define __CLANG_INTTYPES_H
15
+ #endif
16
+
17
+ #if defined(_MSC_VER) && _MSC_VER < 1800
18
+ #error MSVC does not have inttypes.h prior to Visual Studio 2013
19
+ #endif
20
+
21
+ #include_next <inttypes.h>
22
+
23
+ #if defined(_MSC_VER) && _MSC_VER < 1900
24
+ /* MSVC headers define int32_t as int, but PRIx32 as "lx" instead of "x".
25
+ * This triggers format warnings, so fix it up here. */
26
+ #undef PRId32
27
+ #undef PRIdLEAST32
28
+ #undef PRIdFAST32
29
+ #undef PRIi32
30
+ #undef PRIiLEAST32
31
+ #undef PRIiFAST32
32
+ #undef PRIo32
33
+ #undef PRIoLEAST32
34
+ #undef PRIoFAST32
35
+ #undef PRIu32
36
+ #undef PRIuLEAST32
37
+ #undef PRIuFAST32
38
+ #undef PRIx32
39
+ #undef PRIxLEAST32
40
+ #undef PRIxFAST32
41
+ #undef PRIX32
42
+ #undef PRIXLEAST32
43
+ #undef PRIXFAST32
44
+
45
+ #undef SCNd32
46
+ #undef SCNdLEAST32
47
+ #undef SCNdFAST32
48
+ #undef SCNi32
49
+ #undef SCNiLEAST32
50
+ #undef SCNiFAST32
51
+ #undef SCNo32
52
+ #undef SCNoLEAST32
53
+ #undef SCNoFAST32
54
+ #undef SCNu32
55
+ #undef SCNuLEAST32
56
+ #undef SCNuFAST32
57
+ #undef SCNx32
58
+ #undef SCNxLEAST32
59
+ #undef SCNxFAST32
60
+
61
+ #define PRId32 "d"
62
+ #define PRIdLEAST32 "d"
63
+ #define PRIdFAST32 "d"
64
+ #define PRIi32 "i"
65
+ #define PRIiLEAST32 "i"
66
+ #define PRIiFAST32 "i"
67
+ #define PRIo32 "o"
68
+ #define PRIoLEAST32 "o"
69
+ #define PRIoFAST32 "o"
70
+ #define PRIu32 "u"
71
+ #define PRIuLEAST32 "u"
72
+ #define PRIuFAST32 "u"
73
+ #define PRIx32 "x"
74
+ #define PRIxLEAST32 "x"
75
+ #define PRIxFAST32 "x"
76
+ #define PRIX32 "X"
77
+ #define PRIXLEAST32 "X"
78
+ #define PRIXFAST32 "X"
79
+
80
+ #define SCNd32 "d"
81
+ #define SCNdLEAST32 "d"
82
+ #define SCNdFAST32 "d"
83
+ #define SCNi32 "i"
84
+ #define SCNiLEAST32 "i"
85
+ #define SCNiFAST32 "i"
86
+ #define SCNo32 "o"
87
+ #define SCNoLEAST32 "o"
88
+ #define SCNoFAST32 "o"
89
+ #define SCNu32 "u"
90
+ #define SCNuLEAST32 "u"
91
+ #define SCNuFAST32 "u"
92
+ #define SCNx32 "x"
93
+ #define SCNxLEAST32 "x"
94
+ #define SCNxFAST32 "x"
95
+ #endif
96
+
97
+ #endif /* __CLANG_INTTYPES_H */