1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| import("//llvm/utils/TableGen/tablegen.gni")
# Generates AArch64GenSystemOperands.inc
tablegen("AArch64GenSystemOperands") {
visibility = [ ":Utils" ]
args = [ "-gen-searchable-tables" ]
td_file = "../AArch64.td"
}
static_library("Utils") {
output_name = "LLVMAArch64Utils"
public_deps = [
":AArch64GenSystemOperands",
]
deps = [
"//llvm/lib/Support",
# MCTargetDesc depends on Utils, so we can't depend on the full
# MCTargetDesc target here: it would form a cycle.
"//llvm/lib/Target/AArch64/MCTargetDesc:tablegen",
]
# AArch64BaseInfo.h includes a header from MCTargetDesc :-/
include_dirs = [ ".." ]
sources = [
"AArch64BaseInfo.cpp",
]
}
|