This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Thanks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]