<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 15, 2016, at 3:14 AM, Emma Espinosa via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hi,<br class="">Which optimization passes use profile information?<span class="Apple-converted-space"> </span><a href="http://llvm.org/docs/Passes.html" target="_blank" class="">http://llvm.org/docs/Passes.html</a><span class="Apple-converted-space"> </span>seems to suggest only block placement uses it, is that correct?<br class=""></div></div></blockquote><div><br class=""></div><div><br class=""></div>Using grep in the codebase to look for BlockFrequencyInfo and BranchProbabilityInfo yield a bunch of middle passes like JumpThreading, LoopUnswitch, LoopVectorize, InductiveRangeCheckElimination. There are more in the CodeGen. And I know that we also try to use it to drive ThinLTO importing.</div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div></body></html>