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