<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>
<div style="font-family:Calibri,sans-serif; font-size:11pt">There was some discussion on this recently. Theoretically you can use the CallGraph to propagate the info captured for each function. However, due to indirect calls the final result may have discrepancies.
 My personal take is that you may still be able to use this in a restricted manner.<br>
<br>
-dibyendu<br>
<br>
Sent from my Windows Phone</div>
</div>
<div dir="ltr">
<hr>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">From:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:mrkmurph@gmail.com">Mark Murphy</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Sent:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">ý2/ý5/ý2015 11:28 PM</span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">To:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Subject:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">[LLVMdev] Questions about Static Profile Estimator</span><br>
<br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">I have been using ProfileEstimatorPass to provide some static ProfileInfo<br>
information in order to do some optimizations, and I have a couple of<br>
questions.<br>
<br>
1. The estimator seems to be purely intra-procedural.  It starts new edge<br>
and block weights at the beginning of every function.  Is there any existing<br>
way to get this to produce a full program profile? <br>
<br>
2. I found the BranchProbabilityInfo file and saw that it has heuristics<br>
that should produce a good static estimate.  Can BranchProbabilityInfo or<br>
BlockFrequencyInfo be used to provide ProfileInfo data? <br>
<br>
Thanks for any help or guidance you can give me. <br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://llvm.1065342.n5.nabble.com/Questions-about-Static-Profile-Estimator-tp77459.html">
http://llvm.1065342.n5.nabble.com/Questions-about-Static-Profile-Estimator-tp77459.html</a><br>
Sent from the LLVM - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
LLVMdev@cs.uiuc.edu         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div>
</span></font>
</body>
</html>