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

Method optimize

crates/rustc_codegen_nvvm/src/lib.rs:204–211  ·  view source on GitHub ↗
(
        cgcx: &CodegenContext<Self>,
        diag_handler: &Handler,
        module: &ModuleCodegen<Self::Module>,
        config: &ModuleConfig,
    )

Source from the content-addressed store, hash-verified

202 }
203
204 unsafe fn optimize(
205 cgcx: &CodegenContext<Self>,
206 diag_handler: &Handler,
207 module: &ModuleCodegen<Self::Module>,
208 config: &ModuleConfig,
209 ) -> Result<(), FatalError> {
210 back::optimize(cgcx, diag_handler, module, config)
211 }
212
213 unsafe fn optimize_thin(
214 cgcx: &CodegenContext<Self>,

Callers

nothing calls this directly

Calls 1

optimizeFunction · 0.85

Tested by

no test coverage detected