[llvm-dev] How to recompile functions with ORC JIT?
Theodoros Theododiris via llvm-dev
llvm-dev at lists.llvm.org
Thu May 26 23:49:22 PDT 2016
I am trying to figure out how to recompile functions multiple times
during run-time with ORC JIT
and I'd appreciate any help/advice.
My use case is t he following: every time a function of interest
(annotated) is called, profiling data
are gathered. Given enough data the function is recompiled using
different optimizations. This happens
repeatedly until the "best" optimization parameters are found.
A similar question was asked before and a solution was suggested:
What I am trying to figure out is how the function pointer can be
updated to point to the newly
More information about the llvm-dev