blob: ccee3460339fb5c5ddc1f99a8ba0b09450ea4579 [file] [log] [blame]
Eli Bendersky5262ad22012-03-13 08:33:15 +00001
2
Douglas Gregor85fedbe2009-06-23 17:57:35 +00003add_llvm_library(LLVMExecutionEngine
Oscar Fuentesa229b3c2008-09-22 01:08:49 +00004 ExecutionEngine.cpp
5 ExecutionEngineBindings.cpp
Lang Hames7ea98e12014-11-27 01:41:16 +00006 GDBRegistrationListener.cpp
Lang Hames8a6f3552015-02-06 19:36:40 +00007 SectionMemoryManager.cpp
Dylan Noblesmith1756faa2011-05-13 21:36:16 +00008 TargetSelect.cpp
Zachary Turner3bd47ce2015-02-11 03:28:02 +00009
10 ADDITIONAL_HEADER_DIRS
11 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
Duncan P. N. Exon Smith51149d52015-06-16 00:44:12 +000012
13 DEPENDS
14 intrinsics_gen
Oscar Fuentesa229b3c2008-09-22 01:08:49 +000015 )
Oscar Fuentes5ed96262011-02-18 22:06:14 +000016
Michal Gorny34824052017-08-11 13:25:20 +000017if(BUILD_SHARED_LIBS)
18 target_link_libraries(LLVMExecutionEngine PUBLIC LLVMRuntimeDyld)
19endif()
20
Oscar Fuentes5ed96262011-02-18 22:06:14 +000021add_subdirectory(Interpreter)
Lang Hames11c8dfa52019-04-20 17:10:34 +000022add_subdirectory(JITLink)
Oscar Fuentes5ed96262011-02-18 22:06:14 +000023add_subdirectory(MCJIT)
Lang Hames93de2a12015-01-23 21:25:00 +000024add_subdirectory(Orc)
Oscar Fuentese4840e22011-03-21 23:07:53 +000025add_subdirectory(RuntimeDyld)
Eli Bendersky5262ad22012-03-13 08:33:15 +000026
27if( LLVM_USE_OPROFILE )
28 add_subdirectory(OProfileJIT)
29endif( LLVM_USE_OPROFILE )
30
31if( LLVM_USE_INTEL_JITEVENTS )
32 add_subdirectory(IntelJITEvents)
33endif( LLVM_USE_INTEL_JITEVENTS )
Andres Freund376a3d32018-07-24 00:54:06 +000034
35if( LLVM_USE_PERF )
36 add_subdirectory(PerfJITEvents)
37endif( LLVM_USE_PERF )