150
|
1
|
|
2
|
|
3 add_llvm_component_library(LLVMExecutionEngine
|
|
4 ExecutionEngine.cpp
|
|
5 ExecutionEngineBindings.cpp
|
|
6 GDBRegistrationListener.cpp
|
|
7 SectionMemoryManager.cpp
|
|
8 TargetSelect.cpp
|
|
9
|
|
10 ADDITIONAL_HEADER_DIRS
|
|
11 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
|
|
12
|
|
13 DEPENDS
|
|
14 intrinsics_gen
|
|
15 )
|
|
16
|
|
17 if(BUILD_SHARED_LIBS)
|
|
18 target_link_libraries(LLVMExecutionEngine PUBLIC LLVMRuntimeDyld)
|
|
19 endif()
|
|
20
|
|
21 add_subdirectory(Interpreter)
|
|
22 add_subdirectory(JITLink)
|
|
23 add_subdirectory(MCJIT)
|
|
24 add_subdirectory(OrcError)
|
|
25 add_subdirectory(Orc)
|
|
26 add_subdirectory(RuntimeDyld)
|
|
27
|
|
28 if( LLVM_USE_OPROFILE )
|
|
29 add_subdirectory(OProfileJIT)
|
|
30 endif( LLVM_USE_OPROFILE )
|
|
31
|
|
32 if( LLVM_USE_INTEL_JITEVENTS )
|
|
33 add_subdirectory(IntelJITEvents)
|
|
34 endif( LLVM_USE_INTEL_JITEVENTS )
|
|
35
|
|
36 if( LLVM_USE_PERF )
|
|
37 add_subdirectory(PerfJITEvents)
|
|
38 endif( LLVM_USE_PERF )
|