[LLVMdev] outlining in llvm

Tehila Mayzels tehila at cs.technion.ac.il
Wed Dec 31 12:49:23 PST 2014


Hi,

 

I have some questions regarding outlining (extracting piece of code into a
function):

1.       Is there an outlining pass in llvm (IR)? I've found out
CodeExtractor pass, but I'm not sure it's exactly the same idea.

2.       How do I set the function name?

 

 

And another question:

Where do I control the execution of my pass? I'm writing a pass that first
works on loops, than on a function (outlined from the loop) and then again
on loops.

How can I do that?

 

Thanks and happy new year,

Tehila.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141231/f424e3b4/attachment.html>


More information about the llvm-dev mailing list