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 - enable_
autodiff_ 🔒settings - 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.