transparent way of inserting insns
Wed May 19 16:40:00 GMT 2004
On Wed, May 19, 2004 at 09:15:00AM -0600, Johnny Huynh wrote:
> I am trying to add another pass in gcc (for my own purposes) that needs to
> add some simple, non-control insns in a basic block before the register
> allocation pass. Is there a simple,transparent way of doing this?
That sounds somewhat similar to what happens in profiling, where hooks are
inserted to record the execution of every basic block. So perhaps looking
at how profiling works might be a starting point.
More information about the Gcc