search for: jittedmodule

Displaying 3 results from an estimated 3 matches for "jittedmodule".

2017 Jun 19
2
JIT, LTO and @llvm.global_ctors: Looking for advise
...r inlining. This is the desired effect that we are looking for. 3. The resulting LLVM module is compiled and dynamically loaded. We are currently using the MCJIT API, but are planning to move to ORC very soon. Our LLVM module linking code goes roughly as follows: Linker linker(jittedModule); std::unique_ptr<llvm::Module> moduleToLink( getLazyIRFileModule(bcFileName, error, context)); linker.linkInModule(std::move(module), Linker::LinkOnlyNeeded | Linker::InternalizeLinkedSymbol); Our issue is with the Linker::LinkOnlyNeeded f...
2017 Jun 20
2
JIT, LTO and @llvm.global_ctors: Looking for advise
...ired effect that we are looking for. > > 3. The resulting LLVM module is compiled and dynamically loaded. We > are currently using the MCJIT API, but are planning to move to ORC > very soon. > >Our LLVM module linking code goes roughly as follows: > > Linker linker(jittedModule); > std::unique_ptr<llvm::Module> moduleToLink( > getLazyIRFileModule(bcFileName, error, context)); > linker.linkInModule(std::move(module), > Linker::LinkOnlyNeeded | > Linker::InternalizeLinkedSymbol); > >Our issue is with...
2017 Jun 20
2
JIT, LTO and @llvm.global_ctors: Looking for advise
...for. >> >> 3. The resulting LLVM module is compiled and dynamically loaded. We >> are currently using the MCJIT API, but are planning to move to ORC >> very soon. >> >>Our LLVM module linking code goes roughly as follows: >> >> Linker linker(jittedModule); >> std::unique_ptr<llvm::Module> moduleToLink( >> getLazyIRFileModule(bcFileName, error, context)); >> linker.linkInModule(std::move(module), >> Linker::LinkOnlyNeeded | >> Linker::InternalizeLinkedSymbol); >&gt...