Re: identifying indirect references in a loop

2009-12-11 Thread Richard Guenther
On Fri, Dec 11, 2009 at 5:16 AM, Aravinda wrote: > Hi, > > Im trying to identify all indirect references in a loop so that, after > this analysis, I have a list of tree_nodes of pointer_type that are > dereferenced in a loop along with their step size, if any. > > E.g. > while(i++ < n) > { >   *(p

identifying indirect references in a loop

2009-12-10 Thread Aravinda
Hi, Im trying to identify all indirect references in a loop so that, after this analysis, I have a list of tree_nodes of pointer_type that are dereferenced in a loop along with their step size, if any. E.g. while(i++ < n) { *(p+i); } I want to get the pointer_type_node for 'p' and identify th