1 import("//clang/resource_dir.gni")
2 import("//clang/utils/TableGen/clang_tablegen.gni")
5 clang_tablegen("arm_neon") {
6 args = [ "-gen-arm-neon" ]
7 td_file = "//clang/include/clang/Basic/arm_neon.td"
8 output_name = "arm_neon.h"
12 clang_tablegen("arm_fp16") {
13 args = [ "-gen-arm-fp16" ]
14 td_file = "//clang/include/clang/Basic/arm_fp16.td"
15 output_name = "arm_fp16.h"
19 visibility = [ ":Headers" ]
24 sources = get_target_outputs(":arm_neon") + get_target_outputs(":arm_fp16")
26 "$clang_resource_dir/include/{{source_file_part}}",
36 # Tell `gn format` to not reorder the sources list: Its order matches CMake,
37 # and the ordering is alphabetical but ignores leading underscores.
48 "avx512bitalgintrin.h",
49 "avx512vlbitalgintrin.h",
51 "avx512vpopcntdqintrin.h",
56 "avx512ifmavlintrin.h",
59 "avx512vbmivlintrin.h",
60 "avx512vbmi2intrin.h",
61 "avx512vlvbmi2intrin.h",
62 "avx512vlbf16intrin.h",
67 "avx512vp2intersectintrin.h",
68 "avx512vlvp2intersectintrin.h",
69 "avx512vpopcntdqvlintrin.h",
71 "avx512vlvnniintrin.h",
75 "__clang_cuda_builtin_vars.h",
76 "__clang_cuda_cmath.h",
77 "__clang_cuda_complex_builtins.h",
78 "__clang_cuda_device_functions.h",
79 "__clang_cuda_intrinsics.h",
80 "__clang_cuda_libdevice_declares.h",
81 "__clang_cuda_math_forward_declares.h",
82 "__clang_cuda_runtime_wrapper.h",
135 "__stddef_max_align_t.h",
146 "vpclmulqdqintrin.h",
151 "__wmmintrin_pclmul.h",
160 "cuda_wrappers/algorithm",
161 "cuda_wrappers/complex",
163 "ppc_wrappers/mmintrin.h",
164 "ppc_wrappers/xmmintrin.h",
165 "ppc_wrappers/mm_malloc.h",
166 "ppc_wrappers/emmintrin.h",
167 "ppc_wrappers/pmmintrin.h",
168 "ppc_wrappers/smmintrin.h",
169 "ppc_wrappers/tmmintrin.h",
170 "openmp_wrappers/math.h",
171 "openmp_wrappers/cmath",
172 "openmp_wrappers/__clang_openmp_math.h",
173 "openmp_wrappers/__clang_openmp_math_declares.h",
176 "$clang_resource_dir/include/{{source_target_relative}}",