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


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 this 
             sum_12 = D.1065_17 + sum_31;

gets coalesced back into 
            sum = a_matrix[i][k] + sum;  before it is expaned into rtl.. 
How do I keep track that it is indeed the same array reference though
it has gone through some transformation. ( One another tranformation
is generating a pointer to it instead of using the array).

Sumesh 


On 7/26/05, Diego Novillo <dnovillo@redhat.com> wrote:
> 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 the DECLs, you could use var_ann() to add
> annotations.
>


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