<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi PreeJackie,<div class=""><br class=""></div><div class="">I still have difficulties associating ‘higher level program analysis’ with the possible candidate functions that will be executed next.</div><div class="">Call graph will definitely be your tools(and actually it’s usually not considered ‘high level’), and function attributes might help. But AFAIC, there is little ‘high level’ language constructions that can help us determinate the possible functions executed next.</div><div class="">Maybe you can give us some examples?</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Bekket<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 27, 2019, at 8:55 PM, preejackie 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="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class=""><font face="Courier New, Courier, monospace" class="">Hi all,</font></p><p class=""><font face="Courier New, Courier, monospace" class="">I'm looking for some
program analysis techniques which help me to find potential
functions to execute next, from the current executing function.
I want to decision based on compile time information. I consider
LLVM IR is too low-level to make such analysis. So, I using call
graph representation of module. I figured out the probability of
function which execute next based on the branch predictor, Call
instruction distance from the entry of function. I believe that
many attributes can be derived from higher level program
representation. Is there any similar work done like this? LLVM
already support analysis for this?</font></p>
<pre class="moz-signature" cols="72">--
Have a great day!
PreeJackie</pre>
</div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></div></body></html>