Home
last modified time | relevance | path

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

/wasmtime-44.0.1/crates/test-macros/src/
H A Dwasmtime_test.rs48 use wasmtime_test_util::wast::Compiler;
52 strategies: Vec<Compiler>,
62 self.strategies.retain(|s| *s != Compiler::Winch); in strategies_from()
65 self.strategies.retain(|s| *s != Compiler::CraneliftNative); in strategies_from()
68 self.strategies.retain(|s| *s != Compiler::CraneliftPulley); in strategies_from()
77 self.strategies.retain(|s| *s == Compiler::Winch); in strategies_from()
80 self.strategies.retain(|s| *s == Compiler::CraneliftNative); in strategies_from()
120 Compiler::CraneliftNative, in default()
121 Compiler::Winch, in default()
122 Compiler::CraneliftPulley, in default()
[all …]
/wasmtime-44.0.1/crates/test-util/src/
H A Dwasmtime_wast.rs7 use wast::{Collector, Compiler}; in apply_wast_config()
10 Compiler::CraneliftNative | Compiler::CraneliftPulley => wasmtime::Strategy::Cranelift, in apply_wast_config()
11 Compiler::Winch => wasmtime::Strategy::Winch, in apply_wast_config()
13 if let Compiler::CraneliftPulley = wast_config.compiler { in apply_wast_config()
H A Dwast.rs326 pub compiler: Compiler,
335 pub enum Compiler { enum
359 impl Compiler { implementation
372 Compiler::CraneliftNative => config.legacy_exceptions(), in should_fail()
374 Compiler::Winch => { in should_fail()
399 Compiler::CraneliftPulley => { in should_fail()
409 Compiler::CraneliftNative => { in supports_host()
415 Compiler::Winch => cfg!(target_arch = "x86_64") || cfg!(target_arch = "aarch64"), in supports_host()
416 Compiler::CraneliftPulley => true, in supports_host()
494 if config.compiler == Compiler::Winch { in should_fail()
/wasmtime-44.0.1/tests/
H A Dwast.rs7 use wasmtime_test_util::wast::{Collector, Compiler, WastConfig, WastTest, limits};
57 Compiler::CraneliftNative, in main()
58 Compiler::Winch, in main()
59 Compiler::CraneliftPulley, in main()
152 Compiler::CraneliftNative | Compiler::CraneliftPulley => true, in run_wast()
/wasmtime-44.0.1/crates/winch/src/
H A Dbuilder.rs1 use crate::compiler::Compiler;
83 fn build(&self) -> Result<Box<dyn wasmtime_environ::Compiler>> { in build() argument
91 Ok(Box::new(Compiler::new(isa, cranelift, tunables))) in build()
H A Dcompiler.rs27 pub(crate) struct Compiler { struct
34 impl Compiler { implementation
37 trampolines: Box<dyn wasmtime_environ::Compiler>, in new() argument
109 impl wasmtime_environ::Compiler for Compiler { implementation
257 struct NoInlineCompiler(Box<dyn wasmtime_environ::Compiler>);
259 impl wasmtime_environ::Compiler for NoInlineCompiler {
/wasmtime-44.0.1/crates/cranelift/src/
H A Dobj.rs26 use wasmtime_environ::{Compiler, TripleExt};
31 fn text_align(compiler: &dyn Compiler) -> u64 { in text_align()
50 compiler: &'a dyn Compiler,
76 compiler: &'a dyn Compiler, in new() argument
380 compiler: &dyn Compiler, in append_section() argument
516 compiler: &dyn Compiler, in write_systemv_unwind_info() argument
H A Dbuilder.rs122 fn build(&self) -> Result<Box<dyn wasmtime_environ::Compiler>> { in build() argument
124 Ok(Box::new(crate::compiler::Compiler::new( in build()
H A Dtrap.rs2 use crate::compiler::Compiler;
16 fn compiler(&self) -> &Compiler; in compiler() argument
H A Dcompiler.rs79 pub struct Compiler { struct
91 impl Drop for Compiler { argument
119 impl Compiler { implementation
128 ) -> Compiler { in new() argument
130 Compiler { in new()
224 impl wasmtime_environ::Compiler for Compiler { implementation
845 impl InliningCompiler for Compiler { implementation
1050 impl Compiler { impl
1447 compiler: &'a Compiler,
H A Dlib.rs48 use self::compiler::Compiler;
324 fn new(compiler: &Compiler) -> Self { in new()
H A Dfunc_environ.rs5 use crate::compiler::Compiler;
54 pub(crate) fn new(compiler: &Compiler) -> Self { in new()
129 compiler: &'module_environment Compiler,
236 compiler: &'module_environment Compiler, in new() argument
1313 fn compiler(&self) -> &Compiler { in compiler() argument
/wasmtime-44.0.1/crates/explorer/
H A DCargo.toml4 description = "INTERNAL: Compiler explorer for Wasmtime and Cranelift"
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmod.rs137 fn build(&self) -> Result<Box<dyn Compiler>>; in build() argument
230 pub trait Compiler: Send + Sync { trait
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs32 CompiledModuleInfo, Compiler, DefinedFuncIndex, FilePos, FinishedObject, FuncKey,
233 type CompileInput<'a> = Box<dyn FnOnce(&dyn Compiler) -> Result<CompileOutput<'a>> + Send + 'a>;
268 f: impl FnOnce(&dyn Compiler) -> Result<CompileOutput<'a>> + Send + 'a, in push_input()
614 compiler: &dyn Compiler, in compile_with_inlining() argument
942 Box::new(move |compiler: &dyn Compiler| { in compile_required_builtins()
H A Dengine.rs55 compiler: Option<Box<dyn wasmtime_environ::Compiler>>,
669 pub(crate) fn compiler(&self) -> Option<&dyn wasmtime_environ::Compiler> { in compiler() argument
673 pub(crate) fn try_compiler(&self) -> Result<&dyn wasmtime_environ::Compiler> { in try_compiler() argument
H A Dconfig.rs2612 ) -> Result<(Self, Box<dyn wasmtime_environ::Compiler>)> { in build_compiler() argument
/wasmtime-44.0.1/winch/
H A DREADME.md4 <h3>WebAssembly Intentionally Non-optimizing Compiler and Host</h3>
/wasmtime-44.0.1/docs/
H A Dstability-tiers.md28 | Compiler | Cranelift [^support] |
29 | Compiler | Winch [^support] |
70 [^support]: Compiler support is further broken down [below](#compiler-support)
199 #### Compiler Support
201 Compiler backends of Wasmtime, at this time Cranelift and Winch, are further
499 * **Compiler**
H A Dstability-platform-support.md15 ## Compiler Support
H A Dcontributing-coding-guidelines.md22 ### Compiler Warnings and Lints
26 tested on CI. Compiler warnings change over time, however, so it's not always
37 Compiler lints are controlled through the `[workspace.lints.rust]` table in the
/wasmtime-44.0.1/crates/fuzzing/src/generators/
H A Dconfig.rs259 wasmtime_test_util::wast::Compiler::CraneliftNative in make_wast_test_compliant()
262 wasmtime_test_util::wast::Compiler::CraneliftPulley in make_wast_test_compliant()
264 CompilerStrategy::Winch => wasmtime_test_util::wast::Compiler::Winch, in make_wast_test_compliant()
/wasmtime-44.0.1/crates/cranelift/src/compiler/
H A Dcomponent.rs5 use crate::{TRAP_CANNOT_LEAVE_COMPONENT, TRAP_INTERNAL_ASSERT, compiler::Compiler};
19 compiler: &'a Compiler,
99 compiler: &'a Compiler, in new() argument
1562 compiler: &'a Compiler,
1568 fn compiler(&self) -> &Compiler { in compiler() argument
1583 impl ComponentCompiler for Compiler { implementation
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs50 struct Compiler<'a, 'b> { struct
85 ) -> (Compiler<'a, 'b>, Signature, Signature) { in compile() argument
106 Compiler::new( in compile()
145 Compiler::new(module, result, sig.params.len() as u32, false) in compile()
169 Compiler::new(module, result, sig.params.len() as u32, false) in compile()
342 let mut compiler = Compiler { in compile_helper()
447 impl<'a, 'b> Compiler<'a, 'b> { impl
/wasmtime-44.0.1/cranelift/isle/docs/
H A Dlanguage-reference.md1370 ### Compiler Stages