File tree Expand file tree Collapse file tree 5 files changed +34
-2
lines changed
llvm/utils/gn/secondary/clang Expand file tree Collapse file tree 5 files changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ clang_tablegen("AttrHasAttributeImpl") {
89
89
td_file = " Attr.td"
90
90
}
91
91
92
- # ARM NEON and MVE
92
+ # ARM CDE, MVE, and NEON.
93
93
94
94
clang_tablegen (" arm_neon" ) {
95
95
args = [ " -gen-arm-neon-sema" ]
@@ -118,3 +118,23 @@ clang_tablegen("arm_mve_builtin_aliases") {
118
118
args = [ " -gen-arm-mve-builtin-aliases" ]
119
119
td_file = " arm_mve.td"
120
120
}
121
+
122
+ clang_tablegen (" arm_cde_builtins" ) {
123
+ args = [ " -gen-arm-cde-builtin-def" ]
124
+ td_file = " arm_cde.td"
125
+ }
126
+
127
+ clang_tablegen (" arm_cde_builtin_cg" ) {
128
+ args = [ " -gen-arm-cde-builtin-codegen" ]
129
+ td_file = " arm_cde.td"
130
+ }
131
+
132
+ clang_tablegen (" arm_cde_builtin_sema" ) {
133
+ args = [ " -gen-arm-cde-builtin-sema" ]
134
+ td_file = " arm_cde.td"
135
+ }
136
+
137
+ clang_tablegen (" arm_cde_builtin_aliases" ) {
138
+ args = [ " -gen-arm-cde-builtin-aliases" ]
139
+ td_file = " arm_cde.td"
140
+ }
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ static_library("Basic") {
24
24
" //clang/include/clang/Basic:AttrList" ,
25
25
" //clang/include/clang/Basic:AttrSubMatchRulesList" ,
26
26
" //clang/include/clang/Basic:DiagnosticGroups" ,
27
+ " //clang/include/clang/Basic:arm_cde_builtins" ,
27
28
" //clang/include/clang/Basic:arm_mve_builtins" ,
28
29
" //clang/include/clang/Basic:diags_tablegen" ,
29
30
" //clang/include/clang/Basic:version" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ static_library("CodeGen") {
2
2
output_name = " clangCodeGen"
3
3
configs += [ " //llvm/utils/gn/build:clang_code" ]
4
4
deps = [
5
+ " //clang/include/clang/Basic:arm_cde_builtin_cg" ,
5
6
" //clang/include/clang/Basic:arm_mve_builtin_cg" ,
6
7
" //clang/lib/AST" ,
7
8
" //clang/lib/Analysis" ,
Original file line number Diff line number Diff line change @@ -22,15 +22,23 @@ clang_tablegen("arm_mve") {
22
22
output_name = " arm_mve.h"
23
23
}
24
24
25
+ # Generate arm_cde.h
26
+ clang_tablegen (" arm_cde" ) {
27
+ args = [ " -gen-arm-cde-header" ]
28
+ td_file = " //clang/include/clang/Basic/arm_cde.td"
29
+ output_name = " arm_cde.h"
30
+ }
31
+
25
32
copy (" arm_headers" ) {
26
33
visibility = [ " :Headers" ]
27
34
deps = [
35
+ " :arm_cde" ,
28
36
" :arm_fp16" ,
29
37
" :arm_mve" ,
30
38
" :arm_neon" ,
31
39
]
32
40
sources = get_target_outputs (" :arm_neon" ) + get_target_outputs (" :arm_fp16" ) +
33
- get_target_outputs (" :arm_mve" )
41
+ get_target_outputs (" :arm_mve" ) + get_target_outputs ( " :arm_cde " )
34
42
outputs = [ " $clang_resource_dir /include/{{source_file_part}}" ]
35
43
}
36
44
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ static_library("Sema") {
9
9
configs += [ " //llvm/utils/gn/build:clang_code" ]
10
10
deps = [
11
11
" :OpenCLBuiltins" ,
12
+ " //clang/include/clang/Basic:arm_cde_builtin_aliases" ,
13
+ " //clang/include/clang/Basic:arm_cde_builtin_sema" ,
12
14
" //clang/include/clang/Basic:arm_mve_builtin_aliases" ,
13
15
" //clang/include/clang/Basic:arm_mve_builtin_sema" ,
14
16
" //clang/include/clang/Sema:AttrParsedAttrImpl" ,
You can’t perform that action at this time.
0 commit comments