<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 8:13 AM, Sara Elshobaky <span dir="ltr"><<a href="mailto:sara.elshobaky@gmail.com" target="_blank">sara.elshobaky@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">So, what is the use of the profile passes in LLVM?</div></div></blockquote><div>
Mainly basic block placement.</div><div>More is coming.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"> </div>
<div class="gmail_extra">Also, does llvm detect hot blocks of code for recompilation?</div></div></blockquote><div><br></div><div>No.<br></div><div>LLVM is a low level virtual machine. It provides the infrastructure and capabilities necessary to do the actual recompilation/etc. What is there is not intended to be a full, high level virtual machine on it's own.</div>
<div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><br> </div>
<div class="gmail_extra"><div class="gmail_quote"><div class="im">On Mon, Oct 7, 2013 at 4:44 PM, Amara Emerson <span dir="ltr"><<a href="mailto:amara.emerson@arm.com" target="_blank">amara.emerson@arm.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div lang="EN-GB" vlink="purple" link="blue"><div><div class="im">
<p class="MsoNormal">
<span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">No, the JIT does not do any profile guided optimizations for any architecture. It just uses the static compilation components before loading the object into memory and running its own dynamic linker.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt">Amara<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt"><u></u> <u></u></span></p><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) currentColor currentColor;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Tahoma","sans-serif";font-size:10pt">From:</span></b><span lang="EN-US" style="font-family:"Tahoma","sans-serif";font-size:10pt"> <a href="mailto:llvmdev-bounces@cs.uiuc.edu" target="_blank">llvmdev-bounces@cs.uiuc.edu</a> [mailto:<a href="mailto:llvmdev-bounces@cs.uiuc.edu" target="_blank">llvmdev-bounces@cs.uiuc.edu</a>] <b>On Behalf Of </b>Sara Elshobaky<br>
<b>Sent:</b> 07 October 2013 14:36<br><b>To:</b> <a href="mailto:llvmdev@cs.uiuc.edu" target="_blank">llvmdev@cs.uiuc.edu</a><br><b>Subject:</b> [LLVMdev] llvm jit<u></u><u></u></span></p></div></div><div><div><p class="MsoNormal">
<u></u> <u></u></p><div><div><p class="MsoNormal">hello,<u></u><u></u></p></div><div><div class="h5"><div><p class="MsoNormal">I have a question about the llvm jit.<u></u><u></u></p></div><div><p class="MsoNormal">Does it use the profile information generated during runtime to enhance the generated code for arm processor?<u></u><u></u></p>
</div><div><p class="MsoNormal">according to '<a href="http://llvm.org/pubs/2004-01-30-CGO-LLVM.html" target="_blank"><span style="color:rgb(17,34,204)">LLVM: A Compilation Framework for Lifelong Program Analysis </span></a>' it is available but can't find it in the current source code. <u></u><u></u></p>
</div><div><p class="MsoNormal">I really appreciate any help.<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">Thanks in advance<u></u><u></u></p></div><div><p class="MsoNormal">
Sara,<u></u><u></u></p></div></div></div></div></div></div></div></div></blockquote></div><br></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div></div>