[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / llvm / tools / llvm-exegesis / lib / BUILD.gn
blob199c0331ba4e1f0399574fde5a37ad59cc105238
1 import("//llvm/lib/Target/targets.gni")
3 static_library("lib") {
4   output_name = "LLVMExegesis"
5   deps = [
6     "//llvm/lib/Analysis",
7     "//llvm/lib/CodeGen",
8     "//llvm/lib/CodeGen/GlobalISel",
9     "//llvm/lib/ExecutionEngine",
10     "//llvm/lib/ExecutionEngine/MCJIT",
11     "//llvm/lib/IR",
12     "//llvm/lib/MC",
13     "//llvm/lib/Object",
14     "//llvm/lib/ObjectYAML",
15     "//llvm/lib/Support",
16   ]
17   sources = [
18     "Analysis.cpp",
19     "Assembler.cpp",
20     "BenchmarkResult.cpp",
21     "BenchmarkRunner.cpp",
22     "Clustering.cpp",
23     "CodeTemplate.cpp",
24     "Latency.cpp",
25     "LlvmState.cpp",
26     "MCInstrDescView.cpp",
27     "PerfHelper.cpp",
28     "RegisterAliasing.cpp",
29     "RegisterValue.cpp",
30     "SchedClassResolution.cpp",
31     "SnippetFile.cpp",
32     "SnippetGenerator.cpp",
33     "SnippetRepetitor.cpp",
34     "Target.cpp",
35     "Uops.cpp",
36   ]
38   if (llvm_build_AArch64) {
39     deps += [ "AArch64" ]
40   }
41   if (llvm_build_PowerPC) {
42     deps += [ "PowerPC" ]
43   }
44   if (llvm_build_X86) {
45     deps += [ "X86" ]
46   }