From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10210 invoked by alias); 26 Jul 2005 22:39:16 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 10185 invoked by uid 22791); 26 Jul 2005 22:39:10 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.202) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 26 Jul 2005 22:39:10 +0000 Received: by zproxy.gmail.com with SMTP id s1so31013nze for ; Tue, 26 Jul 2005 15:39:08 -0700 (PDT) Received: by 10.36.106.20 with SMTP id e20mr233694nzc; Tue, 26 Jul 2005 15:39:08 -0700 (PDT) Received: by 10.36.115.18 with HTTP; Tue, 26 Jul 2005 15:39:07 -0700 (PDT) Message-ID: <7326d8e4050726153954b9a5f0@mail.gmail.com> Date: Tue, 26 Jul 2005 22:39:00 -0000 From: drizzle drizzle Reply-To: drizzle drizzle To: Diego Novillo Subject: Re: Annotations in tree Cc: gcc@gcc.gnu.org In-Reply-To: <20050726203123.GA4355@topo.toronto.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7326d8e405072613213c282bd7@mail.gmail.com> <20050726203123.GA4355@topo.toronto.redhat.com> X-SW-Source: 2005-07/txt/msg01111.txt.bz2 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=20 D.1065_17 =3D a_matrix[i_24][k_30]; // I have identified thi= s=20 sum_12 =3D D.1065_17 + sum_31; gets coalesced back into=20 sum =3D a_matrix[i][k] + sum; before it is expaned into rtl..= =20 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=20 On 7/26/05, Diego Novillo wrote: > On Tue, Jul 26, 2005 at 04:21:51PM -0400, drizzle drizzle wrote: >=20 > > 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. >