[PATCH] D158405: [ORC] Introduce IRPartitionLayer for common partition functionality.
Sunho Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 03:53:20 PDT 2023
sunho created this revision.
Herald added subscribers: mgrang, hiraditya.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The IR module partitioning logic has been embeded in CompileOnDemandLayer but this functionality is also required for other purpose such as re-optimization.
This patch splits that IR partitioning logic out of CompileOnDemandLayer into a new IR layer IRPartitionLayer.
A motivation behind making it into new IR layer is for the possibility of "lazy re-optimizing JIT" where we'd like to have a composition like "IRPartitionLayer -> CompileOnDemandLayer -> ReOptLayer"
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158405
Files:
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
llvm/include/llvm/ExecutionEngine/Orc/IRPartitionLayer.h
llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
llvm/lib/ExecutionEngine/Orc/IRPartitionLayer.cpp
llvm/tools/lli/lli.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158405.551969.patch
Type: text/x-patch
Size: 37457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/4da28b3c/attachment.bin>
More information about the llvm-commits
mailing list