Document passes.def.

gcc/
	* doc/cfg.texi (Control Flow): Refer to passes.def instead of
	passes.c.
	* doc/passes.texi (Pass manager): Refer to passes.def.

From-SVN: r206054
This commit is contained in:
Thomas Schwinge 2013-12-17 16:21:34 +01:00 committed by Thomas Schwinge
parent c25a7053e9
commit 2769de23ee
3 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2013-12-17 Thomas Schwinge <thomas@codesourcery.com> 2013-12-17 Thomas Schwinge <thomas@codesourcery.com>
* doc/cfg.texi (Control Flow): Refer to passes.def instead of
passes.c.
* doc/passes.texi (Pass manager): Refer to passes.def.
* doc/gccint.texi (Top): Fix inclusion order. * doc/gccint.texi (Top): Fix inclusion order.
2013-12-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 2013-12-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>

View File

@ -23,7 +23,7 @@ used to represent the control flow graph are defined in
In GCC, the representation of control flow is maintained throughout In GCC, the representation of control flow is maintained throughout
the compilation process, from constructing the CFG early in the compilation process, from constructing the CFG early in
@code{pass_build_cfg} to @code{pass_free_cfg} (see @file{passes.c}). @code{pass_build_cfg} to @code{pass_free_cfg} (see @file{passes.def}).
The CFG takes various different modes and may undergo extensive The CFG takes various different modes and may undergo extensive
manipulations, but the graph is always valid between its construction manipulations, but the graph is always valid between its construction
and its release. This way, transfer of information such as data flow, and its release. This way, transfer of information such as data flow,

View File

@ -208,6 +208,7 @@ semantic checks), it should return @code{GS_ERROR}.
The pass manager is located in @file{passes.c}, @file{tree-optimize.c} The pass manager is located in @file{passes.c}, @file{tree-optimize.c}
and @file{tree-pass.h}. and @file{tree-pass.h}.
It processes passes as described in @file{passes.def}.
Its job is to run all of the individual passes in the correct order, Its job is to run all of the individual passes in the correct order,
and take care of standard bookkeeping that applies to every pass. and take care of standard bookkeeping that applies to every pass.