GNU Compiler Collection (GCC) Internals: LTO

Next: Match and Simplify, Previous: Plugins, Up: Top   [Contents][Index]


24 Link Time Optimization

Link Time Optimization (LTO) gives GCC the capability of dumping its internal representation (GIMPLE) to disk, so that all the different compilation units that make up a single executable can be optimized as a single module. This expands the scope of inter-procedural optimizations to encompass the whole program (or, rather, everything that is visible at link time).

• LTO Overview:    Overview of LTO.
• LTO object file layout:    LTO file sections in ELF.
• IPA:    Using summary information in IPA passes.
• WHOPR:    Whole program assumptions, linker plugin and symbol visibilities.
• Internal flags:    Internal flags controlling lto1.