[LLVMdev] Re-JITing a Function
Chris Lattner
clattner at apple.com
Tue Oct 27 09:24:24 PDT 2009
On Oct 27, 2009, at 9:18 AM, John Criswell wrote:
> Dear LLVMers,
>
> Can the LLVM JIT, at run-time, take a function for which it has
> already
> generated native code, re-optimize it at the LLVM level, and then
> re-generate its native code, replacing calls of the old function with
> calls to the new function?
>
> I seem to recall that it could, but I need to make sure.
Sure, ExecutionEngine::recompileAndRelinkFunction is your API.
-Chris
More information about the llvm-dev
mailing list