Duncan:<div><br></div><div>I am only superficially familiar with LLVM structure.</div><div><br></div><div>What I am trying to find out is if functions that have a single invocation are still found in the code during the compilation.</div>
<div><br></div><div>In Open64 and other compilers, there is an early inlining pass that inlines all procedures that have a single invocation site. The reasoning is that if there is a single call to a procedure, then there is not downside to inlining it.</div>
<div><br></div><div>Does LLVM usually does that? Or would that be left to whatever front-end is being used? <br clear="all"><br>-- <br> Cheers,<br><br> Nelson<br><br> / <br> \ / / Jose Nelson Amaral - <a href="mailto:amaral@cs.ualberta.ca">amaral@cs.ualberta.ca</a><br>
) / ( Professor <br> / / \ Dept. of Computing Science - University of Alberta<br> ( / ) Edmonton, Alberta, Canada, T6G 2E8<br> \ O / Phone: (780)492-5411 Fax: (780)492-1071<br>
\ / <a href="http://www.cs.ualberta.ca/~amaral">http://www.cs.ualberta.ca/~amaral</a><br> `----'<br><br>
</div>