[LLVMdev] Inlining in LLVM

Duncan Sands baldrick at free.fr
Sun Oct 24 10:44:16 PDT 2010


Hi Nelson,

> What I am trying to find out is if functions that have a single invocation are
> still found in the code during the compilation.

I'm pretty sure that static functions with a single invocation are always
inlined.  If doing link-time optimization, then pretty much any function
with a single invocation will be inlined.

I'm not sure what this has to do with "early inlining".

Ciao,

Duncan.



More information about the llvm-dev mailing list