comparison gcc/doc/lto.texi @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 @c Copyright (C) 2010-2018 Free Software Foundation, Inc. 1 @c Copyright (C) 2010-2020 Free Software Foundation, Inc.
2 @c This is part of the GCC manual. 2 @c This is part of the GCC manual.
3 @c For copying conditions, see the file gcc.texi. 3 @c For copying conditions, see the file gcc.texi.
4 @c Contributed by Jan Hubicka <jh@suse.cz> and 4 @c Contributed by Jan Hubicka <jh@suse.cz> and
5 @c Diego Novillo <dnovillo@google.com> 5 @c Diego Novillo <dnovillo@google.com>
6 6
348 348
349 @item In WHOPR mode all stages are used. 349 @item In WHOPR mode all stages are used.
350 @end itemize 350 @end itemize
351 351
352 To simplify development, the GCC pass manager differentiates 352 To simplify development, the GCC pass manager differentiates
353 between normal inter-procedural passes and small inter-procedural 353 between normal inter-procedural passes (@pxref{Regular IPA passes}),
354 passes. A @emph{small inter-procedural pass} 354 small inter-procedural passes (@pxref{Small IPA passes})
355 (@code{SIMPLE_IPA_PASS}) is a pass that does 355 and late inter-procedural passes (@pxref{Late IPA passes}).
356 everything at once and thus it can not be executed during WPA in 356 A small or late IPA pass (@code{SIMPLE_IPA_PASS}) does
357 everything at once and thus cannot be executed during WPA in
357 WHOPR mode. It defines only the @emph{Execute} stage and during 358 WHOPR mode. It defines only the @emph{Execute} stage and during
358 this stage it accesses and modifies the function bodies. Such 359 this stage it accesses and modifies the function bodies. Such
359 passes are useful for optimization at LGEN or LTRANS time and are 360 passes are useful for optimization at LGEN or LTRANS time and are
360 used, for example, to implement early optimization before writing 361 used, for example, to implement early optimization before writing
361 object files. The simple inter-procedural passes can also be used 362 object files. The simple inter-procedural passes can also be used