[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / gn / secondary / llvm / unittests / tools / llvm-exegesis / X86 / BUILD.gn
blob9807b58977feb8c52eaff1b0bf0d6c1a01e96119
1 import("//llvm/utils/unittest/unittest.gni")
3 unittest("LLVMExegesisX86Tests") {
4   deps = [
5     "//llvm/lib/DebugInfo/Symbolize",
6     "//llvm/lib/MC",
7     "//llvm/lib/MC/MCParser",
8     "//llvm/lib/Object",
9     "//llvm/lib/Support",
10     "//llvm/lib/Target/X86",
12     # Exegesis reaches inside the Target/X86 tablegen internals and must
13     # depend on this Target/X86-internal build target -- and so must its
14     # unittests.
15     "//llvm/lib/Target/X86/MCTargetDesc",
16     "//llvm/tools/llvm-exegesis/lib",
17     "//llvm/tools/llvm-exegesis/lib/X86",
18   ]
19   include_dirs = [
20     "//llvm/lib/Target/X86",
21     "//llvm/tools/llvm-exegesis/lib",
22   ]
23   sources = [
24     "AssemblerTest.cpp",
25     "BenchmarkResultTest.cpp",
26     "RegisterAliasingTest.cpp",
27     "SchedClassResolutionTest.cpp",
28     "SnippetFileTest.cpp",
29     "SnippetGeneratorTest.cpp",
30     "SnippetRepetitorTest.cpp",
31     "TargetTest.cpp",
32   ]