Re: would like to create a new function out of a loop body

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/19/2015 05:54 AM, Bilha Mendelson wrote:
Hi all,

I'm looking at some code modifications/optimization that will take a
loop body, generate a function out of it and replace it with a call
instruction.

I thought that the best is to make this at the GIMPLE representation.

Do you know if someone has already done this and/or point me to some
similar modifications so that I'll not need to start doing it from
scratch.

I'm using gcc 4.9.3
Nothing currently in the tree to do that. However, you could probably repurpose the IPA outlining code to do what you want.

Jeff




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux