reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   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",
  ]
}