2012-03-13 08:33:15 +00:00
|
|
|
|
|
|
|
|
2009-06-23 17:57:35 +00:00
|
|
|
add_llvm_library(LLVMExecutionEngine
|
2008-09-22 01:08:49 +00:00
|
|
|
ExecutionEngine.cpp
|
|
|
|
ExecutionEngineBindings.cpp
|
2014-11-27 01:41:16 +00:00
|
|
|
GDBRegistrationListener.cpp
|
2015-02-06 19:36:40 +00:00
|
|
|
SectionMemoryManager.cpp
|
2011-05-13 21:36:16 +00:00
|
|
|
TargetSelect.cpp
|
2015-02-11 03:28:02 +00:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine
|
2015-06-16 00:44:12 +00:00
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
2008-09-22 01:08:49 +00:00
|
|
|
)
|
2011-02-18 22:06:14 +00: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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226940 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-23 21:25:00 +00:00
|
|
|
add_subdirectory(Orc)
|
2011-03-21 23:07:53 +00:00
|
|
|
add_subdirectory(RuntimeDyld)
|
2012-03-13 08:33:15 +00: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 )
|