[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / gn / secondary / llvm / unittests / TableGen / BUILD.gn
blobdbd10e6d0913e7da2f97d0a2ad6b2bcb28076cfd
1 import("//llvm/utils/TableGen/tablegen.gni")
2 import("//llvm/utils/unittest/unittest.gni")
4 tablegen("AutomataAutomata") {
5   visibility = [ ":TableGenTests" ]
6   args = [ "-gen-automata" ]
7   td_file = "Automata.td"
10 tablegen("AutomataTables") {
11   visibility = [ ":TableGenTests" ]
12   args = [ "-gen-searchable-tables" ]
13   td_file = "Automata.td"
16 unittest("TableGenTests") {
17   deps = [
18     ":AutomataAutomata",
19     ":AutomataTables",
20     "//llvm/lib/Support",
21     "//llvm/lib/TableGen",
22     "//llvm/utils/TableGen/GlobalISel",
23   ]
24   include_dirs = [ "//llvm/utils/TableGen" ]
25   sources = [
26     "AutomataTest.cpp",
27     "CodeExpanderTest.cpp",
28   ]