Re: How could I get alias set information from data_reference_p

2009-07-16 Thread Li Feng
Hi Daniel, On Thu, Jul 16, 2009 at 11:45 PM, Daniel Berlin wrote: > On Thu, Jul 16, 2009 at 5:00 AM, Li Feng wrote: >> Hi Richard, >> On 7/16/09, Richard Guenther wrote: >>> On Thu, Jul 16, 2009 at 1:15 AM, Tobias >>> Grosser wrote: On Wed, 2009-07-15 at 22:48 +0200, Richard Guenther wrote: >

Re: How could I get alias set information from data_reference_p

2009-07-16 Thread Sebastian Pop
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

Re: How could I get alias set information from data_reference_p

2009-07-16 Thread Daniel Berlin
On Thu, Jul 16, 2009 at 5:00 AM, Li Feng wrote: > Hi Richard, > On 7/16/09, Richard Guenther wrote: >> On Thu, Jul 16, 2009 at 1:15 AM, Tobias >> Grosser wrote: >>> On Wed, 2009-07-15 at 22:48 +0200, Richard Guenther wrote: On Wed, Jul 15, 2009 at 10:46 PM, Richard Guenther wrote: >

Re: How could I get alias set information from data_reference_p

2009-07-16 Thread Richard Guenther
On Thu, Jul 16, 2009 at 11:00 AM, Li Feng wrote: > Hi Richard, > On 7/16/09, Richard Guenther wrote: >> On Thu, Jul 16, 2009 at 1:15 AM, Tobias >> Grosser wrote: >>> On Wed, 2009-07-15 at 22:48 +0200, Richard Guenther wrote: On Wed, Jul 15, 2009 at 10:46 PM, Richard Guenther wrote:

Re: How could I get alias set information from data_reference_p

2009-07-16 Thread Li Feng
Hi Richard, On 7/16/09, Richard Guenther wrote: > On Thu, Jul 16, 2009 at 1:15 AM, Tobias > Grosser wrote: >> On Wed, 2009-07-15 at 22:48 +0200, Richard Guenther wrote: >>> On Wed, Jul 15, 2009 at 10:46 PM, Richard >>> Guenther wrote: >>> > On Wed, Jul 15, 2009 at 9:15 PM, Tobias >>> > Grosser wro

Re: How could I get alias set information from data_reference_p

2009-07-16 Thread Richard Guenther
On Thu, Jul 16, 2009 at 1:15 AM, Tobias Grosser wrote: > On Wed, 2009-07-15 at 22:48 +0200, Richard Guenther wrote: >> On Wed, Jul 15, 2009 at 10:46 PM, Richard >> Guenther wrote: >> > On Wed, Jul 15, 2009 at 9:15 PM, Tobias >> > Grosser wrote: >> >>> A note on Lis final graph algorithm.  I don't u

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Tobias Grosser
On Wed, 2009-07-15 at 22:48 +0200, Richard Guenther wrote: > On Wed, Jul 15, 2009 at 10:46 PM, Richard > Guenther wrote: > > On Wed, Jul 15, 2009 at 9:15 PM, Tobias > > Grosser wrote: > >>> A note on Lis final graph algorithm. I don't understand why you want > >>> to allow data-references to be pa

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Richard Guenther
On Wed, Jul 15, 2009 at 10:46 PM, Richard Guenther wrote: > On Wed, Jul 15, 2009 at 9:15 PM, Tobias > Grosser wrote: >>> A note on Lis final graph algorithm.  I don't understand why you want >>> to allow data-references to be part of multiple alias-sets?  (Of course >>> I don't know how you are goi

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Richard Guenther
On Wed, Jul 15, 2009 at 9:15 PM, Tobias Grosser wrote: >> A note on Lis final graph algorithm.  I don't understand why you want >> to allow data-references to be part of multiple alias-sets?  (Of course >> I don't know how you are going to use the alias-sets ...) > > Just to pass more information t

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Tobias Grosser
On Wed, 2009-07-15 at 13:26 +0200, Richard Guenther wrote: > On Wed, Jul 15, 2009 at 1:00 PM, Tobias > Grosser wrote: > > On Tue, 2009-07-14 at 23:34 +0200, Richard Guenther wrote: > >> On Tue, Jul 14, 2009 at 6:08 PM, Sebastian Pop wrote: > >> > On Tue, Jul 14, 2009 at 11:03, Sebastian Pop wrote:

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Richard Guenther
On Wed, Jul 15, 2009 at 1:00 PM, Tobias Grosser wrote: > On Tue, 2009-07-14 at 23:34 +0200, Richard Guenther wrote: >> On Tue, Jul 14, 2009 at 6:08 PM, Sebastian Pop wrote: >> > On Tue, Jul 14, 2009 at 11:03, Sebastian Pop wrote: >> >>> Why do you need alias-set numbers? >> >> >> >> We want to repr

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Tobias Grosser
On Tue, 2009-07-14 at 23:34 +0200, Richard Guenther wrote: > On Tue, Jul 14, 2009 at 6:08 PM, Sebastian Pop wrote: > > On Tue, Jul 14, 2009 at 11:03, Sebastian Pop wrote: > >>> Why do you need alias-set numbers? > >> > >> We want to represent the alias set information as an extra subscript > >> on

Re: How could I get alias set information from data_reference_p

2009-07-15 Thread Li Feng
Hi Richard, Maybe you could look into this thread and give us some suggestion/confirmation. Now we plan to use dr_may_alias_p (DR1, DR2) to partition the alias set. http://groups.google.de/group/gcc-graphite/browse_thread/thread/7bffbe9037b5adf4?hl=en Thanks, Li On Wed, Jul 15, 2009 at 5:34 AM,

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Richard Guenther
On Tue, Jul 14, 2009 at 6:08 PM, Sebastian Pop wrote: > On Tue, Jul 14, 2009 at 11:03, Sebastian Pop wrote: >>> Why do you need alias-set numbers? >> >> We want to represent the alias set information as an extra subscript >> on memory accesses: for example, >> >> if we have A[10] and supposing that

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Sebastian Pop
On Tue, Jul 14, 2009 at 11:03, Sebastian Pop wrote: >> Why do you need alias-set numbers? > > We want to represent the alias set information as an extra subscript > on memory accesses: for example, > > if we have A[10] and supposing that A is in alias set 6, this would be > represented as "memory_a

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Sebastian Pop
On Tue, Jul 14, 2009 at 10:26, Richard Guenther wrote: > What do you mean by 'different number for each alias set'? An alias set numbering maps alias sets to integer numbers, and that map is one-to-one. >  If you want to have a number that is the same for all conflicting > memory references then

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Richard Guenther
On Tue, Jul 14, 2009 at 5:14 PM, Sebastian Pop wrote: > Hi Richi, > > On Tue, Jul 14, 2009 at 04:40, Richard > Guenther wrote: >> You misunderstood what alias-set numbers represent.  Alias-set >> numbers encode type-based alias information only - which in >> your case cannot disambiguate a or Q. >>

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Sebastian Pop
Hi Richi, On Tue, Jul 14, 2009 at 04:40, Richard Guenther wrote: > You misunderstood what alias-set numbers represent.  Alias-set > numbers encode type-based alias information only - which in > your case cannot disambiguate a or Q. > I also have misunderstood this. > For dependency checking you

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Richard Guenther
On Tue, Jul 14, 2009 at 11:12 AM, Li Feng wrote: > Hi Richard, > On Tue, Jul 14, 2009 at 4:54 PM, Richard > Guenther wrote: >> On Tue, Jul 14, 2009 at 8:01 AM, Li Feng wrote: >>> Hi, >>> >>> I'm now working on Graphite branch and need to know >>> the alias set information for each data_reference_p,

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Li Feng
Hi Richard, On Tue, Jul 14, 2009 at 4:54 PM, Richard Guenther wrote: > On Tue, Jul 14, 2009 at 8:01 AM, Li Feng wrote: >> Hi, >> >> I'm now working on Graphite branch and need to know >> the alias set information for each data_reference_p, which >> would be an integer (or alias_set_type) stands for

Re: How could I get alias set information from data_reference_p

2009-07-14 Thread Richard Guenther
On Tue, Jul 14, 2009 at 8:01 AM, Li Feng wrote: > Hi, > > I'm now working on Graphite branch and need to know > the alias set information for each data_reference_p, which > would be an integer (or alias_set_type) stands for which > alias set it is in. > > I tried to get the alias set information wi