blob: fae0bcda953a315af71c2035217e783986b36a11 [file] [log] [blame]
Clement Courbetac74acd2018-04-04 11:37:06 +00001add_library(LLVMExegesis
2 STATIC
Clement Courbet37f0ca02018-05-15 12:08:00 +00003 Analysis.cpp
Clement Courbetac74acd2018-04-04 11:37:06 +00004 BenchmarkResult.cpp
5 BenchmarkRunner.cpp
Clement Courbet96715412018-05-07 09:09:48 +00006 Clustering.cpp
Clement Courbet295a5542018-05-17 08:12:29 +00007 InMemoryAssembler.cpp
8 InstructionSnippetGenerator.cpp
Clement Courbetac74acd2018-04-04 11:37:06 +00009 Latency.cpp
10 LlvmState.cpp
Clement Courbet295a5542018-05-17 08:12:29 +000011 OperandGraph.cpp
Clement Courbetac74acd2018-04-04 11:37:06 +000012 PerfHelper.cpp
13 Uops.cpp
14 X86.cpp
15 )
16
17llvm_update_compile_flags(LLVMExegesis)
18llvm_map_components_to_libnames(libs
Clement Courbet908dd382018-04-04 12:58:41 +000019 Analysis
Clement Courbetac74acd2018-04-04 11:37:06 +000020 CodeGen
Clement Courbet908dd382018-04-04 12:58:41 +000021 Core
Clement Courbetac74acd2018-04-04 11:37:06 +000022 ExecutionEngine
Clement Courbet559d1e32018-05-15 07:40:21 +000023 GlobalISel
Clement Courbetac74acd2018-04-04 11:37:06 +000024 MC
25 MCJIT
Clement Courbet908dd382018-04-04 12:58:41 +000026 Object
Clement Courbetac74acd2018-04-04 11:37:06 +000027 Support
28 )
29
30target_link_libraries(LLVMExegesis ${libs})
31set_target_properties(LLVMExegesis PROPERTIES FOLDER "Libraries")