Re: Annotations in tree

2005-07-26 Thread Daniel Berlin
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. Lo

Re: Annotations in tree

2005-07-26 Thread drizzle drizzle
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. I know how to insert it into the tree but some how all my creations attempts with build_functi

Re: Annotations in tree

2005-07-26 Thread Daniel Berlin
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 lev

Re: Annotations in tree

2005-07-26 Thread drizzle drizzle
What doesnt exist very long - the references ? At RTL level, I just want to insert a counter for each one of these. One alternative I saw is inserting a dummy functiion call. Would that work ? If so, for a given name, how do I create a corresponding function expression for it ? thanks f

Re: Annotations in tree

2005-07-26 Thread Daniel Berlin
On Tue, 2005-07-26 at 18:39 -0400, drizzle drizzle wrote: > I am not sure if I unerstand ...can you elaborate please ? So what I > need is if I identify say a reference a[i] inside a loop, I want to > identify the corresponding RTL. What are you trying to do at the RTL level with array reference

Re: Annotations in tree

2005-07-26 Thread drizzle drizzle
I am not sure if I unerstand ...can you elaborate please ? So what I need is if I identify say a reference a[i] inside a loop, I want to identify the corresponding RTL. What I find now is that these get transformed for example D.1065_17 = a_matrix[i_24][k_30]; // I have identified

Re: Annotations in tree

2005-07-26 Thread Diego Novillo
On Tue, Jul 26, 2005 at 04:21:51PM -0400, drizzle drizzle wrote: >I am trying to find out how to insert annotations for certain array > references identified in tree-loop-linear.c so that when converting to > In the ARRAY_REFs themselves? I would build a hash table on the side. If it's on th