[ORC] Add an initial implementation of a replacement CompileOnDemandLayer.
authorLang Hames <lhames@gmail.com>
Mon, 18 Jun 2018 18:01:43 +0000 (18:01 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 18 Jun 2018 18:01:43 +0000 (18:01 +0000)
commit68c9b8d6a181934636d39c36e020d5999b2c67ad
treedfb0e881048e7163ca248d792cc25b838a153f4e
parent2e96114cafb37b7e65b5ca94060ede24b238af0d
[ORC] Add an initial implementation of a replacement CompileOnDemandLayer.

CompileOnDemandLayer2 is a replacement for CompileOnDemandLayer built on the ORC
Core APIs. Functions in added modules are extracted and compiled lazily.
CompileOnDemandLayer2 supports multithreaded JIT'd code, and compilation on
multiple threads.

llvm-svn: 334967
llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp [new file with mode: 0644]
llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp