Module rustc_codegen_llvm::back::lto
source · Structs§
- Linker π
- 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 π
- 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.