2 set(LLVM_EXEGESIS_TARGETS)
3 if (LLVM_TARGETS_TO_BUILD MATCHES "X86")
4 list(APPEND LLVM_EXEGESIS_TARGETS "X86")
6 if (LLVM_TARGETS_TO_BUILD MATCHES "AArch64")
7 list(APPEND LLVM_EXEGESIS_TARGETS "AArch64")
9 if (LLVM_TARGETS_TO_BUILD MATCHES "PowerPC")
10 list(APPEND LLVM_EXEGESIS_TARGETS "PowerPC")
12 if (LLVM_TARGETS_TO_BUILD MATCHES "Mips")
13 list(APPEND LLVM_EXEGESIS_TARGETS "Mips")
16 set(LLVM_EXEGESIS_TARGETS ${LLVM_EXEGESIS_TARGETS} PARENT_SCOPE)
18 foreach(t ${LLVM_EXEGESIS_TARGETS})
19 add_subdirectory(${t})
22 set(LLVM_LINK_COMPONENTS
42 if(LLVM_ENABLE_LIBPFM AND HAVE_LIBPFM)
49 add_llvm_library(LLVMExegesis
50 DISABLE_LLVM_LINK_LLVM_DYLIB
58 DisassemblerHelper.cpp
60 LatencyBenchmarkRunner.cpp
63 ParallelSnippetGenerator.cpp
67 SchedClassResolution.cpp
68 SerialSnippetGenerator.cpp
74 UopsBenchmarkRunner.cpp