[Committed] Introduce beginnings of gcc::pass_manager class (was Re: [PATCH 01/11] Introduce beginnings of a pipeline class.)

2013-07-30 Thread David Malcolm
On Mon, 2013-07-29 at 13:56 -0600, Jeff Law wrote: > On 07/26/2013 09:04 AM, David Malcolm wrote: [...snip quote of ChangeLog...] > So as has been discussed elsewhere I'd like to see pipeline changed to > pass_manager. > > WRT references. Not being a C++ guy, I'd always mentally equated > refer

Re: [PATCH 01/11] Introduce beginnings of a pipeline class.

2013-07-29 Thread Jeff Law
On 07/26/2013 09:04 AM, David Malcolm wrote: gcc/ * Makefile.in (PIPELINE_H): New. (lto-cgraph.o): Depend on CONTEXT_H and PIPELINE_H. (passes.o): Likewise. (statistics.o): Likewise. (cgraphunit.o): Likewise. (context.o): Depend on PIPELINE_H.

[PATCH 01/11] Introduce beginnings of a pipeline class.

2013-07-26 Thread David Malcolm
This patch introduces a gcc::pipeline class and moves various non-GTY globals relating to pass management into it. The gcc::context gains its first field: a pointer to the gcc::pipeline instance. It was previously sent as: http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01090.html as part of: ht