forked from OSchip/llvm-project
parent
baf769d322
commit
90cfbf35c9
|
@ -1,13 +1,29 @@
|
|||
import("//llvm/utils/TableGen/tablegen.gni")
|
||||
import("//llvm/utils/unittest/unittest.gni")
|
||||
|
||||
tablegen("AutomataAutomata") {
|
||||
visibility = [ ":TableGenTests" ]
|
||||
args = [ "-gen-automata" ]
|
||||
td_file = "Automata.td"
|
||||
}
|
||||
|
||||
tablegen("AutomataTables") {
|
||||
visibility = [ ":TableGenTests" ]
|
||||
args = [ "-gen-searchable-tables" ]
|
||||
td_file = "Automata.td"
|
||||
}
|
||||
|
||||
unittest("TableGenTests") {
|
||||
deps = [
|
||||
":AutomataAutomata",
|
||||
":AutomataTables",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/TableGen",
|
||||
"//llvm/utils/TableGen/GlobalISel",
|
||||
]
|
||||
include_dirs = [ "//llvm/utils/TableGen" ]
|
||||
sources = [
|
||||
"AutomataTest.cpp",
|
||||
"CodeExpanderTest.cpp",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@ executable("llvm-tblgen") {
|
|||
"DAGISelMatcherEmitter.cpp",
|
||||
"DAGISelMatcherGen.cpp",
|
||||
"DAGISelMatcherOpt.cpp",
|
||||
"DFAEmitter.cpp",
|
||||
"DFAPacketizerEmitter.cpp",
|
||||
"DisassemblerEmitter.cpp",
|
||||
"ExegesisEmitter.cpp",
|
||||
|
|
Loading…
Reference in New Issue