Structs§
- Linker π
- Module
Buffer - Thin
Buffer - Thin
Data - ThinLTO
Keys πMap - Maps LLVM module identifiers to their corresponding LLVM LTO cache keys
Constants§
- THIN_
LTO_ πKEYS_ INCR_ COMP_ FILE_ NAME - We keep track of the computed LTO cache keys from the previous session to determine which CGUs we can reuse.
Functions§
- crate_
type_ πallows_ lto - fat_lto π
- get_
bitcode_ πslice_ from_ object_ data - module_
name_ πto_ str - optimize_
thin_ π βmodule - parse_
module π - prepare_
lto π - prepare_
thin π - run_fat π
- Performs fat LTO by merging all modules into a single one and returning it for further optimization.
- run_
pass_ πmanager - run_
thin π - Performs thin LTO by performing necessary global analysis and returning two lists, one of the modules that need optimization and another for modules that can simply be copied over from the incr. comp. cache.
- thin_
lto π - Prepare βthinβ LTO to get run on these modules.