2012-03-13 16:33:15 +08:00
|
|
|
|
|
|
|
|
2009-06-24 01:57:35 +08:00
|
|
|
add_llvm_library(LLVMExecutionEngine
|
2008-09-22 09:08:49 +08:00
|
|
|
ExecutionEngine.cpp
|
|
|
|
ExecutionEngineBindings.cpp
|
2014-11-27 09:41:16 +08:00
|
|
|
GDBRegistrationListener.cpp
|
2013-05-22 04:24:07 +08:00
|
|
|
RTDyldMemoryManager.cpp
|
2015-02-07 03:36:40 +08:00
|
|
|
SectionMemoryManager.cpp
|
2011-05-14 05:36:16 +08:00
|
|
|
TargetSelect.cpp
|
2015-02-11 11:28:02 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
|
2008-09-22 09:08:49 +08:00
|
|
|
)
|
2011-02-19 06:06:14 +08:00
|
|
|
|
|
|
|
add_subdirectory(Interpreter)
|
|
|
|
add_subdirectory(MCJIT)
|
[Orc] New JIT APIs.
This patch adds a new set of JIT APIs to LLVM. The aim of these new APIs is to
cleanly support a wider range of JIT use cases in LLVM, and encourage the
development and contribution of re-usable infrastructure for LLVM JIT use-cases.
These APIs are intended to live alongside the MCJIT APIs, and should not affect
existing clients.
Included in this patch:
1) New headers in include/llvm/ExecutionEngine/Orc that provide a set of
components for building JIT infrastructure.
Implementation code for these headers lives in lib/ExecutionEngine/Orc.
2) A prototype re-implementation of MCJIT (OrcMCJITReplacement) built out of the
new components.
3) Minor changes to RTDyldMemoryManager needed to support the new components.
These changes should not impact existing clients.
4) A new flag for lli, -use-orcmcjit, which will cause lli to use the
OrcMCJITReplacement class as its underlying execution engine, rather than
MCJIT itself.
Tests to follow shortly.
Special thanks to Michael Ilseman, Pete Cooper, David Blaikie, Eric Christopher,
Justin Bogner, and Jim Grosbach for extensive feedback and discussion.
llvm-svn: 226940
2015-01-24 05:25:00 +08:00
|
|
|
add_subdirectory(Orc)
|
2011-03-22 07:07:53 +08:00
|
|
|
add_subdirectory(RuntimeDyld)
|
2012-03-13 16:33:15 +08:00
|
|
|
|
|
|
|
if( LLVM_USE_OPROFILE )
|
|
|
|
add_subdirectory(OProfileJIT)
|
|
|
|
endif( LLVM_USE_OPROFILE )
|
|
|
|
|
|
|
|
if( LLVM_USE_INTEL_JITEVENTS )
|
|
|
|
add_subdirectory(IntelJITEvents)
|
|
|
|
endif( LLVM_USE_INTEL_JITEVENTS )
|