<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I am new to LLVM and a I appreciate
your help with the following:</font>
<br>
<br><font size=2 face="sans-serif">I want to run the LLVM IR through virtual
machine (LLVM interpreter?) and jit</font>
<br><font size=2 face="sans-serif">compile the hot functions (using MCJIT).</font>
<br>
<br><font size=2 face="sans-serif">This task will require amongst other
identifying the hot functions and having a</font>
<br><font size=2 face="sans-serif">code cache that should be patched with
the native code of the functions after</font>
<br><font size=2 face="sans-serif">they are jitted.</font>
<br>
<br><font size=2 face="sans-serif">I've read so far about MCJIT and lli
however I have not seen that the LLVM </font>
<br><font size=2 face="sans-serif">interpreter can be used as a VM the
way I was looking for; meaning</font>
<br><font size=2 face="sans-serif">execute the code one instruction at
a time; have a profiling mode to </font>
<br><font size=2 face="sans-serif">identify hot functions and call jit
to compile the hot functions.</font>
<br>
<br><font size=2 face="sans-serif">I appreciate any advice/starting points
for this project.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif">Revital</font>
<br>