[LLVMdev] Re: function inlining by function name ?

Chris Lattner sabre at nondot.org
Tue Jul 5 10:01:43 PDT 2005


On Mon, 4 Jul 2005, Long Fei wrote:

> Does llvm support inlining certain functions with their names specified by 
> the user ? If you think it will be easy to modify the source code to do this, 
> please give me some hint where to start with.

There currently isn't a way to do this, but you could hack the 
InlineSimple.cpp file in lib/Transforms/IPO.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list