| /wasmtime-44.0.1/winch/codegen/src/ |
| H A D | stack.rs | 71 pub struct Local { struct 103 Local(Local), enumerator 114 impl From<Local> for Val { 115 fn from(local: Local) -> Self { in from() 116 Val::Local(local) in from() 165 Self::Local(Local { index, ty }) in local() 200 Self::Local(Local { index: i, .. }) if i == index => true, in is_local_at_index() 310 Val::Local(l) => l.ty, in ty()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | memory.rs | 235 Local(LocalMemory), enumerator 256 Memory::Local(memory) in new_dynamic() 289 Memory::Local(memory) in new_static() 381 Memory::Local(mem) => mem.byte_size(), in byte_size() 391 Memory::Local(mem) => mem.needs_init(), in needs_init() 452 Memory::Local(mem) => mem.grow(delta_pages, limiter).await?, in grow() 464 Memory::Local(mem) => mem.vmmemory(), in vmmemory() 479 Memory::Local(mem) => mem.unwrap_static_image(), in unwrap_static_image() 493 Memory::Local(_) => None, in as_shared_memory() 549 Memory::Local(mem) => mem.wasm_accessible(), in wasm_accessible() [all …]
|
| /wasmtime-44.0.1/cranelift/object/tests/ |
| H A D | basic.rs | 25 .declare_function("abc", Linkage::Local, &sig) in error_on_incompatible_sig_in_declare_function() 29 .declare_function("abc", Linkage::Local, &sig) in error_on_incompatible_sig_in_declare_function() 42 .declare_function("abc", Linkage::Local, &sig) in define_simple_function() 88 .declare_function("abc", Linkage::Local, &Signature::new(CallConv::SystemV)) in panic_on_declare_without_define() 183 .declare_function("function", Linkage::Local, &sig) in libcall_function() 237 .declare_function("function\u{0}with\u{0}nul\u{0}bytes", Linkage::Local, &sig) in reject_nul_byte_symbol_for_func() 255 Linkage::Local, in reject_nul_byte_symbol_for_data() 273 .declare_data("my_data", Linkage::Local, true, false) in aarch64_colocated_data_symbol_reloc() 287 .declare_function("load_data_addr", Linkage::Local, &sig) in aarch64_colocated_data_symbol_reloc()
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | diff_v8.rs | 172 let context = v8::Local::new(&mut scope, &self.context); in evaluate() 204 let instance = v8::Local::new(&mut scope, &self.instance); in evaluate() 219 let array = v8::Local::<'_, v8::Array>::try_from(v8_vals).unwrap(); in evaluate() 235 let context = v8::Local::new(&mut scope, &self.context); in get_global() 249 let context = v8::Local::new(&mut scope, &self.context); in get_memory() 258 v8::Local::<'_, v8::SharedArrayBuffer>::try_from(v8) in get_memory() 262 v8::Local::<'_, v8::ArrayBuffer>::try_from(v8) in get_memory() 273 fn eval<'s>(scope: &mut v8::HandleScope<'s>, code: &str) -> Result<v8::Local<'s, v8::Value>> { in eval() 295 val: &v8::Local<'_, v8::Value>, in get_diff_value()
|
| /wasmtime-44.0.1/cranelift/jit/tests/ |
| H A D | basic.rs | 32 .declare_function("abc", Linkage::Local, &sig) in error_on_incompatible_sig_in_declare_function() 36 .declare_function("abc", Linkage::Local, &sig) in error_on_incompatible_sig_in_declare_function() 48 let func_id = module.declare_function("abc", Linkage::Local, &sig)?; in define_simple_function() 163 .declare_function("function", Linkage::Local, &sig) in libcall_function()
|
| /wasmtime-44.0.1/crates/cranelift/src/debug/transform/ |
| H A D | expression.rs | 137 Local { enumerator 165 parts: vec![CompiledExpressionPart::Local { in from_label() 599 if let (Some(CompiledExpressionPart::Local { trailing, .. }), true) = in compile_expression() 615 push!(CompiledExpressionPart::Local { in compile_expression() 972 parts: vec![CompiledExpressionPart::Local { in test_debug_parse_expressions() 995 CompiledExpressionPart::Local { in test_debug_parse_expressions() 1015 CompiledExpressionPart::Local { in test_debug_parse_expressions() 1041 CompiledExpressionPart::Local { in test_debug_parse_expressions() 1068 CompiledExpressionPart::Local { in test_debug_parse_expressions() 1109 CompiledExpressionPart::Local { in test_debug_parse_expressions() [all …]
|
| /wasmtime-44.0.1/cranelift/jit/examples/ |
| H A D | jit-minimal.rs | 31 .declare_function("a", Linkage::Local, &sig_a) in main() 34 .declare_function("b", Linkage::Local, &sig_b) in main()
|
| /wasmtime-44.0.1/cranelift/module/src/ |
| H A D | module.rs | 142 Local, enumerator 167 Self::Local => match b { in merge() 171 Self::Local | Self::Import => Self::Local, in merge() 181 Self::Local | Self::Preemptible | Self::Hidden | Self::Export => true, in is_definable() 189 Self::Local | Self::Hidden | Self::Export => true, in requires_definition() 197 Self::Local | Self::Hidden | Self::Export => true, in is_final() 770 linkage: Linkage::Local, in declare_anonymous_function() 815 linkage: Linkage::Local, in declare_anonymous_data()
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | env.rs | 91 Local(FuncIndex), enumerator 191 Callee::Local(idx) in callee_from_index() 338 Callee::Local(idx) | Callee::Import(idx) => { in callee_sig()
|
| H A D | context.rs | 290 Val::Local(local) => { in pop_to_addr() 324 Val::Local(local) => { in move_val_to_reg() 847 Val::Local(local) => { in spill_impl()
|
| H A D | call.rs | 151 Callee::Local(i) => { in lower()
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | translate.rs | 390 Local(ComponentIndex), enumerator 400 Local(ModuleIndex), enumerator 1522 let mut module = ClosedOverModule::Local(index); in alias_component_outer() 1538 let mut component = ClosedOverComponent::Local(index); in alias_component_outer()
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component_fuzz.rs | 344 let mut locals = locals.iter().cloned().map(FlatSource::Local); in store_flat_helper() 609 Local(u32), enumerator 620 FlatSource::Local(i) => write!(f, "(local.get {i})"), in fmt() 983 let mut locals = (0..params_lowered.len() as u32).map(FlatSource::Local); in make_import_and_export()
|
| /wasmtime-44.0.1/crates/environ/src/fact/ |
| H A D | trampoline.rs | 1804 MallocSize::Local(dst_byte_len.idx), in string_copy() 1918 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 1); in string_deflate_to_utf8() 2112 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2); in string_utf8_to_utf16() 2196 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2); in string_compact_utf16_to_compact() 2285 let dst_mem = self.malloc(dst_opts, MallocSize::Local(dst_byte_len.idx), 2); in string_to_compact() 2609 MallocSize::Local(dst_byte_len.idx), in begin_translate_sequence() 3758 MallocSize::Local(idx) => self.instruction(LocalGet(idx)), in malloc() 4406 Local(u32), enumerator
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | function_runner.rs | 194 .declare_function(&name, Linkage::Local, &func.signature)?; in declare_function()
|
| /wasmtime-44.0.1/crates/environ/src/component/translate/ |
| H A D | inline.rs | 1819 ClosedOverModule::Local(i) => self.modules[i].clone(), in closed_over_module() 1826 ClosedOverComponent::Local(i) => self.components[i].clone(), in closed_over_component()
|
| /wasmtime-44.0.1/cranelift/object/src/ |
| H A D | backend.rs | 958 Linkage::Local => SymbolScope::Compilation, in translate_linkage()
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_environ.rs | 903 wasmparser::Name::Local(reader) => { in name_section()
|