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

Method codegen

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

Source from the content-addressed store, hash-verified

218 }
219
220 unsafe fn codegen(
221 cgcx: &CodegenContext<Self>,
222 diag_handler: &Handler,
223 module: ModuleCodegen<Self::Module>,
224 config: &ModuleConfig,
225 ) -> Result<CompiledModule, FatalError> {
226 back::codegen(cgcx, diag_handler, module, config)
227 }
228
229 fn prepare_thin(module: ModuleCodegen<Self::Module>) -> (String, Self::ThinBuffer) {
230 debug!("Prepare thin");

Callers

nothing calls this directly

Calls 1

codegenFunction · 0.70

Tested by

no test coverage detected