Searched refs:compiled_code (Results 1 – 7 of 7) sorted by relevance
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | test_compile.rs | 59 let compiled_code = comp_ctx.compile(isa, &mut Default::default()); in run() localVariable 61 let compiled_code = if self.expect_fail { in run() localVariable 62 if compiled_code.is_ok() { in run() 67 compiled_code.map_err(|e| crate::pretty_anyhow_error(&e.func, e.inner))? in run() 69 let total_size = compiled_code.code_info().total_size; in run() 71 let vcode = compiled_code.vcode.as_ref().unwrap(); in run() 82 pulley_interpreter::disas::Disassembler::new(compiled_code.buffer.data()); in run() 89 compiled_code.disassemble(Some(¶ms), &cs)? in run() 95 .chain(compiled_code.vcode.as_ref().unwrap().lines()) in run()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | incremental_cache.rs | 52 Ok(compiled_code) => { in compile_with_cache() 53 let info = compiled_code.code_info(); in compile_with_cache() 57 assert_eq!(*actual_result, compiled_code); in compile_with_cache() 63 let compiled_code = self.compiled_code.insert(compiled_code); in compile_with_cache() localVariable 64 return Ok((compiled_code, true)); in compile_with_cache() 91 let compiled_code = self in compile_with_cache() localVariable 92 .compiled_code in compile_with_cache() 95 Ok((compiled_code, false)) in compile_with_cache()
|
| H A D | context.rs | 54 pub(crate) compiled_code: Option<CompiledCode>, field 79 compiled_code: None, in for_function() 90 self.compiled_code = None; in clear() 96 pub fn compiled_code(&self) -> Option<&CompiledCode> { in compiled_code() method 97 self.compiled_code.as_ref() in compiled_code() 103 self.compiled_code.take() in take_compiled_code() 120 let compiled_code = self.compile(isa, ctrl_plane)?; in compile_and_emit() localVariable 121 mem.extend_from_slice(compiled_code.code_buffer()); in compile_and_emit() 122 Ok(compiled_code) in compile_and_emit() 223 .compiled_code in compile() [all …]
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | compile.rs | 103 let compiled_code = context in handle_module() localVariable 106 let code_info = compiled_code.code_info(); in handle_module() 127 let result = context.compiled_code().unwrap(); in handle_module() 131 context.compiled_code().unwrap().code_buffer(), in handle_module()
|
| /wasmtime-44.0.1/cranelift/jit/src/ |
| H A D | backend.rs | 484 let compiled_code = ctx.compiled_code().unwrap(); in define_function_with_control_plane() localVariable 490 let relocs = compiled_code in define_function_with_control_plane() 501 .add_func(0, compiled_code.buffer.call_sites()) in define_function_with_control_plane() 512 compiled_code.code_buffer(), in define_function_with_control_plane()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | compiler.rs | 1502 let compiled_code = compilation_result?; in finish_with_info() localVariable 1513 let alignment = compiled_code.buffer.alignment.max(preferred_alignment); in finish_with_info() 1515 compiled_code.buffer.clone(), in finish_with_info() 1532 let unwind = compiled_code in finish_with_info() 1549 compiled_function.set_value_labels_ranges(compiled_code.value_labels_ranges.clone()); in finish_with_info() 1556 let cfa_unwind = compiled_code in finish_with_info()
|
| /wasmtime-44.0.1/cranelift/object/src/ |
| H A D | backend.rs | 344 let buffer = &ctx.compiled_code().unwrap().buffer; in define_function_with_control_plane()
|