This is the mail archive of the gcc@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]

Re: Best way to create rtl code



On Mar 29, 2004, at 9:17 PM, Jim Wilson wrote:


Next, where is the best place to do this? I'd like to do it after inlining has been performed, if possible.

This depends a great deal on what you are trying to do.


We currently have two inlining passes, one that operates on trees, and one that operates on RTL. The one that operates on RTL may go away in the future. Not all language front-ends support the tree inliner yet. If after the tree inliner is OK, then you could add rtl anytime during or after rtl generation. If it has to be after hte RTL inliner, then you would have to look at the list of optimization passes, and add the new code sometime after the RTL inliner optimization pass.

Thank you for your replies, I was able to get it working quite well.


Jared Buttles
-------------------------------------------
Research Associate, Cylant Inc.
www.cylant.com


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