Home
last modified time | relevance | path

Searched refs:compilation (Results 1 – 25 of 56) sorted by relevance

123

/wasmtime-44.0.1/crates/cranelift/src/debug/transform/
H A Dmod.rs132 compilation: &mut Compilation<'_>, in transform_dwarf()
134 dbi_log!("Commencing DWARF transform for {:?}", compilation); in transform_dwarf()
137 for (i, _) in compilation.translations.iter() { in transform_dwarf()
138 transforms.push(AddressTransform::new(compilation, i)); in transform_dwarf()
143 let dwarf_package = compilation in transform_dwarf()
147 read_dwarf_package_from_bytes(bytes, &buffer, compilation.tunables) in transform_dwarf()
163 for (module, translation) in compilation.translations.iter() { in transform_dwarf()
171 compilation, in transform_dwarf()
194 compilation, in transform_dwarf()
207 compilation, in transform_dwarf()
[all …]
H A Dsynthetic.rs35 compilation: &Compilation<'_>, in new()
42 let vmctx_ptr_die_id = Self::create_vmctx_ptr_die(module, compilation, unit, out_strings); in new()
85 compilation: &Compilation<'_>, in create_vmctx_ptr_die()
119 match compilation.module_memory_offsets[module] { in create_vmctx_ptr_die()
H A Dsimulate.rs289 compilation: &mut Compilation<'_>, in generate_simulated_dwarf()
299 let di = &compilation.translations.iter().next().unwrap().1.debuginfo; in generate_simulated_dwarf()
359 for (module, index) in compilation.indexes().collect::<Vec<_>>() { in generate_simulated_dwarf()
360 let (symbol, _) = compilation.function(module, index); in generate_simulated_dwarf()
384 let translation = &compilation.translations[module]; in generate_simulated_dwarf()
411 let frame_info = compilation.function_frame_info(module, index); in generate_simulated_dwarf()
H A Daddress_transform.rs192 compilation: &Compilation<'_>, in build_function_addr_map()
196 for idx in compilation.translations[module] in build_function_addr_map()
200 let (symbol, metadata) = compilation.function(module, idx); in build_function_addr_map()
201 let code_section_offset = compilation.translations[module] in build_function_addr_map()
462 pub fn new(compilation: &Compilation<'_>, module: StaticModuleIndex) -> Self { in new()
464 let code_section_offset = compilation.translations[module] in new()
469 for idx in compilation.translations[module] in new()
473 let (_, metadata) = compilation.function(module, idx); in new()
488 let map = build_function_addr_map(compilation, module); in new()
/wasmtime-44.0.1/cranelift/codegen/
H A Dbuild.rs163 for compilation in &isle_compilations.items { in build_isle()
164 for file in &compilation.inputs { in build_isle()
168 if let Err(e) = run_compilation(compilation) { in build_isle()
195 fn run_compilation(compilation: &IsleCompilation) -> Result<(), Errors> { in run_compilation()
198 eprintln!("Rebuilding {}", compilation.output.display()); in run_compilation()
201 let file_paths = compilation in run_compilation()
204 .chain(compilation.untracked_inputs.iter()); in run_compilation()
250 compilation.output.display() in run_compilation()
252 std::fs::write(&compilation.output, code) in run_compilation()
/wasmtime-44.0.1/docs/
H A Dexamples-fast-compilation.md4 default, Wasm compilation is on your critical path. In most scenarios, you can
5 completely remove Wasm compilation from the critical path by [pre-compiling Wasm
8 compilation in these alternative scenarios.
14 result rather than performing compilation all over again.
25 compilation fast: it performs only a single, quick pass over the Wasm
37 Wasmtime can compile Wasm programs in parallel, speeding up the compilation
39 shape of the Wasm program. Wasmtime will generally enable parallel compilation
41 when building Wasmtime itself. You can double check that parallel compilation is
H A Dexamples-serialize.md10 … to skip compilation on the critical path. See also the [pre-compilation example](examples-pre-com…
H A Dexamples-fast-execution.md9 compiler](./examples-fast-compilation.md), it translates Wasm into faster
10 machine code, but compilation is slower. Cranelift is similar to the optimizing
58 that pre-compiled Wasm program on another machine, then during compilation
77 * [Tuning Wasmtime for Fast Wasm Compilation](./examples-fast-compilation.md)
H A Dcontributing-cross-compiling.md5 `cargo` makes cross compilation and running tests under [QEMU] pretty easy.
35 Next, you'll need to install a `gcc` for each cross-compilation target to serve
47 You will also need to install `qemu` to emulate the cross-compilation targets.
H A Dcontributing-conditional-compilation.md19 compilation in Rust and some recommended styles for working with `#[cfg]` in a
25 main ability to handle conditional compilation is the `#[cfg]` attribute. This
29 One of the more common conditional compilation attributes in Rust is
52 lexical tokens like C/C++. This means that conditional compilation happens at
83 Conditional compilation in any language can get hairy quickly and Rust is no
91 Conditional compilation can be great for quickly excluding an entire function in
198 attributes necessary in the repository**. Conditional compilation is required no
265 `#[cfg]` is only use for WebAssembly runtime features, not compilation of
H A DSUMMARY.md39 - [Fast Compilation](./examples-fast-compilation.md)
67 - [Conditional Compilation](./contributing-conditional-compilation.md)
/wasmtime-44.0.1/crates/cranelift/src/debug/
H A Dwrite_debuginfo.rs142 compilation: &mut Compilation<'_>, in create_frame_table()
148 for (_, symbol, metadata) in compilation.functions() { in create_frame_table()
170 compilation: &mut Compilation<'_>, in emit_dwarf()
172 let dwarf = transform_dwarf(isa, compilation)?; in emit_dwarf()
173 let frame_table = create_frame_table(isa, compilation); in emit_dwarf()
/wasmtime-44.0.1/winch/
H A DREADME.md24 Winch's primary goal is compilation performance, therefore only certain, very
30 [rfc]: https://github.com/bytecodealliance/rfcs/blob/main/accepted/wasmtime-baseline-compilation.md
36 * Function as the unit of compilation
44 * Prioritize compilation performance over runtime performance
/wasmtime-44.0.1/crates/c-api/artifact/
H A DCargo.toml31 'parallel-compilation',
53 parallel-compilation = ['wasmtime-c-api/parallel-compilation']
/wasmtime-44.0.1/cranelift/codegen/meta/src/
H A Disle.rs16 for compilation in &self.items { in lookup()
17 if compilation.name == name { in lookup()
18 return Some(compilation); in lookup()
/wasmtime-44.0.1/crates/cli-flags/
H A DCargo.toml31 parallel-compilation = ["wasmtime/parallel-compilation", "dep:rayon"]
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/aarch64/
H A Dleaf.clif1 ;; Test compilation of leaf functions without preserving frame pointers.
H A Dleaf_with_preserve_frame_pointers.clif1 ;; Test compilation of leaf functions while preserving frame pointers.
/wasmtime-44.0.1/cranelift/control/
H A DREADME.md3 fuzzing. Its compilation is feature-gated to prevent any performance
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/s390x/
H A Dleaf.clif1 ;; Test compilation of leaf functions without preserving frame pointers.
H A Dleaf_with_preserve_frame_pointers.clif1 ;; Test compilation of leaf functions while preserving frame pointers.
/wasmtime-44.0.1/crates/c-api/
H A DCargo.toml49 parallel-compilation = ['wasmtime/parallel-compilation']
/wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/
H A Dleaf.clif1 ;; Test compilation of leaf functions without preserving frame pointers.
H A Dleaf_with_preserve_frame_pointers.clif1 ;; Test compilation of leaf functions while preserving frame pointers.
/wasmtime-44.0.1/crates/unwinder/
H A DREADME.md8 from Cranelift compilation metadata that can be mapped and used

123