MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / optimize_thin

Method optimize_thin

crates/rustc_codegen_nvvm/src/lib.rs:213–218  ·  view source on GitHub ↗
(
        cgcx: &CodegenContext<Self>,
        thin_module: &mut ThinModule<Self>,
    )

Source from the content-addressed store, hash-verified

211 }
212
213 unsafe fn optimize_thin(
214 cgcx: &CodegenContext<Self>,
215 thin_module: &mut ThinModule<Self>,
216 ) -> Result<ModuleCodegen<Self::Module>, FatalError> {
217 lto::optimize_thin(cgcx, thin_module)
218 }
219
220 unsafe fn codegen(
221 cgcx: &CodegenContext<Self>,

Callers

nothing calls this directly

Calls 1

optimize_thinFunction · 0.85

Tested by

no test coverage detected