<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Doing this "in llvm-IR" is almost certainly the wrong approach.
Decide on a profiling mechanism for your *source* language
(instrumentation, sampling, etc..). Modify your IR generation to
include profiling information. Modify your runtime to
recompile/relink "hot" functions. <br>
<br>
The only internal to LLVM parts are improving profile guided
optimizations. <br>
<br>
Philip<br>
<br>
<div class="moz-cite-prefix">On 04/09/2014 06:15 PM, Sri wrote:<br>
</div>
<blockquote cite="mid:5345F0C9.4010400@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
Hi Philip <br>
I understood what you have said here. Basically you are
saying , identifying the hot path during the runtime and compile
those section again would be hard in llvm-IR. I am currently
looking forward to do some analysis work on adaptive mechanism for
llvm JIT so that , we can see some improvement when we see that
high frequent function call during the run time. Do you have any
idea , which approach would be more convenient to start this work.<br>
Thanks.<br>
<br>
Regards<br>
Sri. <br>
<div class="moz-cite-prefix">On 04/09/2014 08:58 PM, Philip Reames
wrote:<br>
</div>
<blockquote cite="mid:5345A657.4050400@philipreames.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On the optimization side, profile guided opts are currently
somewhat limited. However, a couple of folks are actively
working in this area.<br>
<br>
All of the runtime support (i.e. recompiling, linking, etc..) is
out of scope for LLVM. Since this is the majority of the work
required to support PGO in a JIT, that's probably your answer.<br>
<br>
p.s. I'm answering what I *think* your question was. If this
doesn't help, you'll need to clarify your question.<br>
<br>
Philip<br>
<br>
<div class="moz-cite-prefix">On 04/07/2014 01:20 PM, Sri wrote:<br>
</div>
<blockquote cite="mid:5343087B.7080203@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi <br>
Does current llvm support dynamic optimization level
for generated llvm IR which means , is it possible to monitor
some function's execution pattern during the runtime and apply
different optimization level for particular function using
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
LLVM Analysis Passes.<br>
<br>
Thanks <br>
<br>
Regards <br>
Sri.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
<div style="bottom: auto; left: 618px; right: auto; top: 78px;"
class="translator-theme-default" id="translator-floating-panel">
</div>
</blockquote>
<br>
</body>
</html>