diff options
author | Lang Hames <lhames@gmail.com> | 2021-06-19 11:41:42 +1000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-06-19 11:50:27 +1000 |
commit | 80f30a6b855b7aa96b99205c986972483d75822e (patch) | |
tree | 8e071e8cfb2276c41ef9431a6ef90395f75fdcdd /libcxx/include/__algorithm | |
parent | 9b699450dd66df258cb424470fcb1ea737a99341 (diff) | |
download | llvm-80f30a6b855b7aa96b99205c986972483d75822e.zip llvm-80f30a6b855b7aa96b99205c986972483d75822e.tar.gz llvm-80f30a6b855b7aa96b99205c986972483d75822e.tar.bz2 |
[ORC][C-bindings] Add access to LLJIT IRTransformLayer, ThreadSafeModule utils.
This patch was derived from Valentin Churavy's work in
https://reviews.llvm.org/D104480. It adds support for setting the transform on
an IRTransformLayer, and for accessing the IRTransformLayer in LLJIT. It also
adds access to the ThreadSafeModule::withModuleDo method for thread-safe
access to modules.
A new example has been added to show how to use these APIs to optimize a module
during materialization.
Thanks Valentin!
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D103855
Diffstat (limited to 'libcxx/include/__algorithm')
0 files changed, 0 insertions, 0 deletions