blob: b03a67de7aedc778ad1cc5a520efe6ff90f1b625 [file] [log] [blame]
import("//llvm/lib/Target/targets.gni")
import("//llvm/lib/Target/targets_with_exegesis.gni")
static_library("lib") {
output_name = "LLVMExegesis"
deps = [
"//llvm/lib/Analysis",
"//llvm/lib/CodeGen",
"//llvm/lib/CodeGen/GlobalISel",
"//llvm/lib/ExecutionEngine",
"//llvm/lib/ExecutionEngine/MCJIT",
"//llvm/lib/IR",
"//llvm/lib/MC",
"//llvm/lib/MCA",
"//llvm/lib/Object",
"//llvm/lib/ObjectYAML",
"//llvm/lib/Support",
"//llvm/lib/TargetParser",
]
sources = [
"Analysis.cpp",
"Assembler.cpp",
"BenchmarkResult.cpp",
"BenchmarkRunner.cpp",
"Clustering.cpp",
"CodeTemplate.cpp",
"DisassemblerHelper.cpp",
"Error.cpp",
"LatencyBenchmarkRunner.cpp",
"LlvmState.cpp",
"MCInstrDescView.cpp",
"ParallelSnippetGenerator.cpp",
"PerfHelper.cpp",
"RegisterAliasing.cpp",
"RegisterValue.cpp",
"SchedClassResolution.cpp",
"SerialSnippetGenerator.cpp",
"SnippetFile.cpp",
"SnippetGenerator.cpp",
"SnippetRepetitor.cpp",
"SubprocessMemory.cpp",
"Target.cpp",
"UopsBenchmarkRunner.cpp",
]
deps += targets_with_exegesis
}