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: Annotations in tree


On Tue, 2005-07-26 at 20:08 -0400, drizzle drizzle wrote:
> tree level is fine too, it was just that the RTL level already had a
> host of counters being inserted.  One implementation question if I may
> ask, so at the tree level how do I create a call to my function.

build_function_call_expr.

Look at what tree-profile.c does.

>  I
> know how to insert it into the tree but some how all my creations
> attempts with build_function_call fail.
> 
> thanks once again ...
> 
> On 7/26/05, Daniel Berlin <dberlin@dberlin.org> wrote:
> > On Tue, 2005-07-26 at 19:42 -0400, drizzle drizzle wrote:
> > > What doesnt exist very long - the references ?
> > 
> > By RTL, they've been expanded to pointer accesses.
> > 
> > >       At RTL level, I just want to  insert a counter for each one of
> > > these.
> > Why do it at the rtl level.
> > Why not do it at the tree level?
> > 
> > 
> >


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