[][src]Module rustc_codegen_llvm::back::lto

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Structs

Linker [
Experimental
]
ModuleBuffer [
Experimental
]
ThinBuffer [
Experimental
]
ThinData [
Experimental
]
ThinLTOImports [
Experimental
]
ThinModule [
Experimental
]
ThinShared [
Experimental
]

Enums

LtoModuleCodegen [
Experimental
]
SerializedModule [
Experimental
]

Functions

crate_type_allows_lto [
Experimental
]
fat_lto [
Experimental
]
module_name_to_str [
Experimental
]
run [
Experimental
]

Performs LTO, which in the case of full LTO means merging all modules into a single one and returning it for further optimizing. For ThinLTO, it will do the global analysis necessary and return two lists, one of the modules the need optimization and another for modules that can simply be copied over from the incr. comp. cache.

run_pass_manager [
Experimental
]
thin_lto [
Experimental
]

Prepare "thin" LTO to get run on these modules.