[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / tools / llvm-mca / BUILD.gn
blobf703de7685a0d8b0a33ce6ab6ac94a29cc343b47
1 executable("llvm-mca") {
2   deps = [
3     "//llvm/lib/MC",
4     "//llvm/lib/MC/MCParser",
5     "//llvm/lib/MCA",
6     "//llvm/lib/Support",
7     "//llvm/lib/Target:AllTargetsAsmParsers",
8     "//llvm/lib/Target:AllTargetsDescs",
9     "//llvm/lib/Target:AllTargetsDisassemblers",
10     "//llvm/lib/Target:AllTargetsInfos",
11   ]
12   include_dirs = [
13     ".",
14     "include",
15   ]
16   sources = [
17     "CodeRegion.cpp",
18     "CodeRegionGenerator.cpp",
19     "PipelinePrinter.cpp",
20     "Views/BottleneckAnalysis.cpp",
21     "Views/DispatchStatistics.cpp",
22     "Views/InstructionInfoView.cpp",
23     "Views/RegisterFileStatistics.cpp",
24     "Views/ResourcePressureView.cpp",
25     "Views/RetireControlUnitStatistics.cpp",
26     "Views/SchedulerStatistics.cpp",
27     "Views/SummaryView.cpp",
28     "Views/TimelineView.cpp",
29     "Views/View.cpp",
30     "llvm-mca.cpp",
31   ]