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