Structs§
- Linker π
- ThinLTO
Keys πMap Maps LLVM module identifiers to their corresponding LLVM LTO cache keys
Constants§
- We keep track of the computed LTO cache keys from the previous session to determine which CGUs we can reuse.
Functions§
- fat_lto π
- 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.