HomePhabricator

[ORC] Add custom IR compiler configuration to LLJITBuilder to enable obj caches.

Authored by lhames on Jul 10 2019, 10:24 AM.

Description

[ORC] Add custom IR compiler configuration to LLJITBuilder to enable obj caches.

LLJITBuilder now has a setCompileFunctionCreator method which can be used to
construct a CompileFunction for the LLJIT instance being created. The motivating
use-case for this is supporting ObjectCaches, which can now be set up at
compile-function construction time. To demonstrate this an example project,
LLJITWithObjectCache, is included.

llvm-svn: 365671

Details

Committed
lhamesJul 10 2019, 10:24 AM
Parents
rG5a6d40be1f3c: [X86] Regenerate tests. NFCI.
Branches
Unknown
Tags
Unknown