From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25522 invoked by alias); 16 Jul 2009 16:04:03 -0000 Received: (qmail 25322 invoked by uid 22791); 16 Jul 2009 16:04:02 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Jul 2009 16:03:57 +0000 Received: by ey-out-1920.google.com with SMTP id 13so54998eye.14 for ; Thu, 16 Jul 2009 09:03:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.78.16 with SMTP id a16mr11152763ebb.66.1247760234444; Thu, 16 Jul 2009 09:03:54 -0700 (PDT) In-Reply-To: <4aca3dc20907160845p484cebc6l562fd9468624a211@mail.gmail.com> References: <1247655619.1418.179.camel@localhost> <84fc9c000907150426w69f13cebv4a36e834d1e3c9f1@mail.gmail.com> <1247685312.87884.417.camel@localhost> <84fc9c000907151346r58239f06u318b55fe72ae0038@mail.gmail.com> <15137_1247690941_4A5E40BC_15137_586_1_84fc9c000907151348s41395cc5u6cfacb60cde78bfa@mail.gmail.com> <1247699704.87884.423.camel@localhost> <84fc9c000907160139x54526dbfvc8104860192542c2@mail.gmail.com> <4aca3dc20907160845p484cebc6l562fd9468624a211@mail.gmail.com> Date: Thu, 16 Jul 2009 16:04:00 -0000 Message-ID: Subject: Re: How could I get alias set information from data_reference_p From: Sebastian Pop To: Daniel Berlin Cc: Li Feng , Richard Guenther , Tobias Grosser , gcc@gcc.gnu.org, gcc-graphite Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-07/txt/msg00316.txt.bz2 On Thu, Jul 16, 2009 at 10:45, Daniel Berlin wrote: > So if i understand you right, it seems all you've done is inverted the > existing alias/points-to sets. > IE instead of saying A has B, C, D in it's alias set, you are saying B > is in the alias set of A, C is in the alias set of A, D is in the > alias set of A. > > Effectively, > > A -> {B, C, D} > B -> {C, D, E} > becomes > B -> A > C -> A, B > D -> A ,B > E -> B > Yes, this is correct. > Then you are assigning numbers to the sets that appear on the RHS. Correct. > You still end up with bitmaps, and you still have to intersect them > (or describe containment some other way and do containment queries). > > For a large program, this mapping is actually massive and quite > expensive to compute In the case of Graphite, the queries are limited to the data references within a SCoP. Usually a SCoP does not necessarily contain huge amount of data references. In the future, we may also set restrictions on the number of data references that we allow in a SCoP. Sebastian