Re: Computation and usage of SSA_NAME_PTR_INFO

2013-05-02 Thread Nikhil Patil
On Thu, May 2, 2013 at 1:16 PM, Richard Biener wrote: > On Wed, May 1, 2013 at 5:11 PM, Nikhil Patil > wrote: >> On Tue, Apr 30, 2013 at 1:32 PM, Richard Biener >> wrote: >>> On Mon, Apr 29, 2013 at 7:34 PM, Nikhil Patil >>> wrote: Hello, 1. Which passes of gcc make use of poin

Re: Computation and usage of SSA_NAME_PTR_INFO

2013-05-02 Thread Richard Biener
On Wed, May 1, 2013 at 5:11 PM, Nikhil Patil wrote: > On Tue, Apr 30, 2013 at 1:32 PM, Richard Biener > wrote: >> On Mon, Apr 29, 2013 at 7:34 PM, Nikhil Patil >> wrote: >>> Hello, >>> >>> 1. Which passes of gcc make use of points-to information in >>> SSA_NAME_PTR_INFO (or more precisely, pt_s

Re: Computation and usage of SSA_NAME_PTR_INFO

2013-05-01 Thread Nikhil Patil
On Tue, Apr 30, 2013 at 1:32 PM, Richard Biener wrote: > On Mon, Apr 29, 2013 at 7:34 PM, Nikhil Patil > wrote: >> Hello, >> >> 1. Which passes of gcc make use of points-to information in >> SSA_NAME_PTR_INFO (or more precisely, pt_solution) in doing >> optimizations? > > All passes that query t

Re: Computation and usage of SSA_NAME_PTR_INFO

2013-04-30 Thread Richard Biener
On Mon, Apr 29, 2013 at 7:34 PM, Nikhil Patil wrote: > Hello, > > 1. Which passes of gcc make use of points-to information in > SSA_NAME_PTR_INFO (or more precisely, pt_solution) in doing > optimizations? All passes that query the alias oracle (tree-ssa-alias.h) which is almost all passes doing o

Computation and usage of SSA_NAME_PTR_INFO

2013-04-29 Thread Nikhil Patil
Hello, 1. Which passes of gcc make use of points-to information in SSA_NAME_PTR_INFO (or more precisely, pt_solution) in doing optimizations? 2. Also, who computes this points-to information and populates pt_solution? Is it ONLY ipa-pta pass? When I accessed pt_solution through a plugin which R