1 set(TARGETS_TO_APPEND "")
3 if (LLVM_TARGETS_TO_BUILD MATCHES "X86")
5 set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} X86")
7 if (LLVM_TARGETS_TO_BUILD MATCHES "AArch64")
8 add_subdirectory(AArch64)
9 set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} AArch64")
11 if (LLVM_TARGETS_TO_BUILD MATCHES "PowerPC")
12 add_subdirectory(PowerPC)
13 set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} PowerPC")
15 if (LLVM_TARGETS_TO_BUILD MATCHES "Mips")
16 add_subdirectory(Mips)
17 set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} Mips")
20 set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} ${TARGETS_TO_APPEND}" PARENT_SCOPE)
22 set(LLVM_LINK_COMPONENTS
39 if(LLVM_ENABLE_LIBPFM AND HAVE_LIBPFM)
43 add_llvm_library(LLVMExegesis
44 DISABLE_LLVM_LINK_LLVM_DYLIB
53 LatencyBenchmarkRunner.cpp
56 ParallelSnippetGenerator.cpp
60 SchedClassResolution.cpp
61 SerialSnippetGenerator.cpp
66 UopsBenchmarkRunner.cpp