Re: [EXT] Re: How does one traverse all the global decls

2019-08-22 Thread Gary Oblock
On 8/22/19 2:16 AM, Martin Jambor wrote: > External Email > > -- > Hi, > > On Wed, Aug 21 2019, Gary Oblock wrote: >> I'm trying to do some analysis code for an optimization >> that involves my code looking at all the declarations

Re: How does one traverse all the global decls

2019-08-22 Thread Richard Biener
On Thu, Aug 22, 2019 at 11:16 AM Martin Jambor wrote: > > Hi, > > On Wed, Aug 21 2019, Gary Oblock wrote: > > I'm trying to do some analysis code for an optimization > > that involves my code looking at all the declarations and > > types there of during the link time optimizations. > > > > Note, d

Re: How does one traverse all the global decls

2019-08-22 Thread Martin Jambor
Hi, On Wed, Aug 21 2019, Gary Oblock wrote: > I'm trying to do some analysis code for an optimization > that involves my code looking at all the declarations and > types there of during the link time optimizations. > > Note, doing this for the local variables seems to be trivial > because of FOR_E

How does one traverse all the global decls

2019-08-21 Thread Gary Oblock
I'm trying to do some analysis code for an optimization that involves my code looking at all the declarations and types there of during the link time optimizations. Note, doing this for the local variables seems to be trivial because of FOR_EACH_LOCAL_DECL and there are also obvious ways of gettin