| Eli Bendersky | 5262ad2 | 2012-03-13 08:33:15 +0000 | [diff] [blame] | 1 | |
| 2 | |
| Douglas Gregor | 85fedbe | 2009-06-23 17:57:35 +0000 | [diff] [blame] | 3 | add_llvm_library(LLVMExecutionEngine |
| Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 4 | ExecutionEngine.cpp |
| 5 | ExecutionEngineBindings.cpp |
| Lang Hames | 7ea98e1 | 2014-11-27 01:41:16 +0000 | [diff] [blame] | 6 | GDBRegistrationListener.cpp |
| Lang Hames | 8a6f355 | 2015-02-06 19:36:40 +0000 | [diff] [blame] | 7 | SectionMemoryManager.cpp |
| Dylan Noblesmith | 1756faa | 2011-05-13 21:36:16 +0000 | [diff] [blame] | 8 | TargetSelect.cpp |
| Zachary Turner | 3bd47ce | 2015-02-11 03:28:02 +0000 | [diff] [blame] | 9 | |
| 10 | ADDITIONAL_HEADER_DIRS |
| 11 | ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine |
| Duncan P. N. Exon Smith | 51149d5 | 2015-06-16 00:44:12 +0000 | [diff] [blame] | 12 | |
| 13 | DEPENDS |
| 14 | intrinsics_gen |
| Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 15 | ) |
| Oscar Fuentes | 5ed9626 | 2011-02-18 22:06:14 +0000 | [diff] [blame] | 16 | |
| Michal Gorny | 3482405 | 2017-08-11 13:25:20 +0000 | [diff] [blame] | 17 | if(BUILD_SHARED_LIBS) |
| 18 | target_link_libraries(LLVMExecutionEngine PUBLIC LLVMRuntimeDyld) |
| 19 | endif() |
| 20 | |
| Oscar Fuentes | 5ed9626 | 2011-02-18 22:06:14 +0000 | [diff] [blame] | 21 | add_subdirectory(Interpreter) |
| Lang Hames | 11c8dfa5 | 2019-04-20 17:10:34 +0000 | [diff] [blame] | 22 | add_subdirectory(JITLink) |
| Oscar Fuentes | 5ed9626 | 2011-02-18 22:06:14 +0000 | [diff] [blame] | 23 | add_subdirectory(MCJIT) |
| Lang Hames | 93de2a1 | 2015-01-23 21:25:00 +0000 | [diff] [blame] | 24 | add_subdirectory(Orc) |
| Oscar Fuentes | e4840e2 | 2011-03-21 23:07:53 +0000 | [diff] [blame] | 25 | add_subdirectory(RuntimeDyld) |
| Eli Bendersky | 5262ad2 | 2012-03-13 08:33:15 +0000 | [diff] [blame] | 26 | |
| 27 | if( LLVM_USE_OPROFILE ) |
| 28 | add_subdirectory(OProfileJIT) |
| 29 | endif( LLVM_USE_OPROFILE ) |
| 30 | |
| 31 | if( LLVM_USE_INTEL_JITEVENTS ) |
| 32 | add_subdirectory(IntelJITEvents) |
| 33 | endif( LLVM_USE_INTEL_JITEVENTS ) |
| Andres Freund | 376a3d3 | 2018-07-24 00:54:06 +0000 | [diff] [blame] | 34 | |
| 35 | if( LLVM_USE_PERF ) |
| 36 | add_subdirectory(PerfJITEvents) |
| 37 | endif( LLVM_USE_PERF ) |