blob: a388ed2f628438bc0ea17a219a8054b02fe85fa1 [file] [log] [blame]
Clement Courbetac74acd2018-04-04 11:37:06 +00001add_library(LLVMExegesis
2 STATIC
3 BenchmarkResult.cpp
4 BenchmarkRunner.cpp
Clement Courbet96715412018-05-07 09:09:48 +00005 Clustering.cpp
Clement Courbetac74acd2018-04-04 11:37:06 +00006 InMemoryAssembler.cpp
7 InstructionSnippetGenerator.cpp
8 Latency.cpp
9 LlvmState.cpp
10 OperandGraph.cpp
11 PerfHelper.cpp
12 Uops.cpp
13 X86.cpp
14 )
15
16llvm_update_compile_flags(LLVMExegesis)
17llvm_map_components_to_libnames(libs
Clement Courbet908dd382018-04-04 12:58:41 +000018 Analysis
Clement Courbetac74acd2018-04-04 11:37:06 +000019 CodeGen
Clement Courbet908dd382018-04-04 12:58:41 +000020 Core
Clement Courbetac74acd2018-04-04 11:37:06 +000021 ExecutionEngine
Clement Courbet559d1e32018-05-15 07:40:21 +000022 GlobalISel
Clement Courbetac74acd2018-04-04 11:37:06 +000023 MC
24 MCJIT
Clement Courbet908dd382018-04-04 12:58:41 +000025 Object
Clement Courbetac74acd2018-04-04 11:37:06 +000026 Support
27 )
28
29target_link_libraries(LLVMExegesis ${libs})
30set_target_properties(LLVMExegesis PROPERTIES FOLDER "Libraries")