1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| import("//llvm/utils/TableGen/tablegen.gni")
tablegen("X86GenExegesis") {
args = [ "-gen-exegesis" ]
td_file = "//llvm/lib/Target/X86/X86.td"
}
static_library("X86") {
output_name = "LLVMExegesisX86"
deps = [
":X86GenExegesis",
# Exegesis reaches inside the Target/X86 tablegen internals and must
# depend on this Target/X86-internal build target.
"//llvm/lib/Target/X86/MCTargetDesc",
]
sources = [
"Target.cpp",
]
include_dirs = [ "//llvm/lib/Target/X86" ]
}
|