Home
last modified time | relevance | path

Searched refs:Codegen (Results 1 – 8 of 8) sorted by relevance

/wasmtime-44.0.1/crates/winch/src/
H A Dcompiler.rs83 .map_err(|e| CompileError::Codegen(format!("{e:?}")))? in emit_unwind_info()
148 .map_err(|e| CompileError::Codegen(format!("{e:?}"))); in compile_function()
278 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_function()
295 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_array_to_wasm_trampoline()
311 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_wasm_to_array_trampoline()
324 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_wasm_to_builtin()
399 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_trampoline()
419 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_intrinsic()
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dcodegen.rs64 Codegen::compile(files, typeenv, termenv, terms).generate_rust(options) in codegen()
68 struct Codegen<'a> { struct
159 impl<'a> Codegen<'a> { impl
165 ) -> Codegen<'a> { in compile()
166 Codegen { in compile()
586 arms.iter().map(|a| Codegen::block_weight(&a.body)).sum() in block_weight()
588 ControlFlow::Equal { body, .. } => Codegen::block_weight(body), in block_weight()
589 ControlFlow::Loop { body, .. } => Codegen::block_weight(body), in block_weight()
817 && Codegen::block_weight(&arm.body) > match_arm_body_closure_threshold in emit_block_contents()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmod.rs41 Codegen(String), enumerator
51 CompileError::Codegen(s) => write!(f, "Compilation error: {s}"), in fmt()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiler.rs333 .map_err(|e| CompileError::Codegen(e.to_string()))?; in compile_function()
1016 .map_err(|error| CompileError::Codegen(pretty_error(&error.func, error.inner)))?; in compile_maybe_cached()
1046 .map_err(|error| CompileError::Codegen(pretty_error(&error.func, error.inner)))?; in compile_uncached()
1534 .map_err(|error| CompileError::Codegen(pretty_error(&context.func, error)))?; in finish_with_info()
1558 .map_err(|error| CompileError::Codegen(pretty_error(&context.func, error)))?; in finish_with_info()
/wasmtime-44.0.1/cranelift/
H A Drustc.md52 compilation. Cranelift's base IR is focused on Codegen, so a
/wasmtime-44.0.1/crates/cli-flags/src/
H A Dlib.rs253 enum Codegen {
592 codegen_raw: Vec<opt::CommaSeparated<Codegen>>,
/wasmtime-44.0.1/docs/
H A Dcli-options.md296 Codegen-related configuration options, `-C help` to see all
/wasmtime-44.0.1/cranelift/docs/
H A Dir.md620 ## Codegen implementation instructions