Displaying 2 results from an estimated 2 matches for "jit_callback_manager_addr".
2015 Jul 28
0
[LLVMdev] Help with using LLVM to re-compile hot functions at run-time
...;
...
The resolver block is more complicated and I won't provide the full code
for it here. You can find it by running:
lli -jit-kind=orc-lazy -orc-lazy-debug=mods-to-stderr <hello_world.ll>
and looking at the initial output. In pseudo-asm though, it looks like this:
module asm "jit_callback_manager_addr:"
module asm " .quad 0x46fc190" // <- address of callback manager object
module asm "orc_resolver_block:"
module asm " // save register state."
module asm " // load jit_callback_manager_addr into %rdi
module asm " // load the return address (from...
2015 Jul 27
15
[LLVMdev] Help with using LLVM to re-compile hot functions at run-time
Hi Again,
I'm a little confused regarding what is the exact Orc's functions I should
use
in order to save the functions code in a code cache so it could be later
replaced with different versions of it and I appreciate your help.
Just a reminder I want to dynamically recompile the program based on
profile
collected at the run-time. I would like to start executing the program
from
the