This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH 00/11] Rewrite of pass management
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 29 Jul 2013 11:19:57 +0100
- Subject: Re: [PATCH 00/11] Rewrite of pass management
- References: <1374851081-32153-1-git-send-email-dmalcolm at redhat dot com>
On 26/07/13 16:04, David Malcolm wrote:
The following patch series eliminates the mutable global variables
representing GCC's passes, allowing for multiple compilation contexts in
one process, potentially with different combinations of passes
of OpenGL shader programs in another) and with pass instances owning
additional data, including GC references.
The opt_pass hierarchy becomes a true C++ class hierarchy.
Patch 1 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.
Why 'pipeline'? Given that we already use the term for hardware
scheduling, it seems particularly confusing to use that term here for
something that seems to be completely unrelated.