Home
last modified time | relevance | path

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

12

/wasmtime-44.0.1/crates/cranelift/src/
H A Ddebug.rs19 OwnedMemoryIndex, PrimaryMap, PtrSize, StaticModuleIndex, Tunables, VMOffsets,
53 translations: &'a PrimaryMap<StaticModuleIndex, ModuleTranslation<'a>>,
60 &'a dyn Fn(StaticModuleIndex, DefinedFuncIndex) -> (SymbolId, &'a CompiledFunctionMetadata),
72 symbol_id_to_index: HashMap<SymbolId, (usize, StaticModuleIndex, DefinedFuncIndex)>,
77 module_memory_offsets: PrimaryMap<StaticModuleIndex, ModuleMemoryOffset>,
83 translations: &'a PrimaryMap<StaticModuleIndex, ModuleTranslation<'a>>, in new() argument
85 StaticModuleIndex, in new() argument
150 fn indexes(&self) -> impl Iterator<Item = (StaticModuleIndex, DefinedFuncIndex)> + use<'_> { in indexes()
160 ) -> impl Iterator<Item = (StaticModuleIndex, usize, &'a CompiledFunctionMetadata)> + '_ { in functions()
170 module: StaticModuleIndex, in function() argument
/wasmtime-44.0.1/tests/disas/
H A Dissue-12808.wat25 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
29 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
33 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
37 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
41 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
53 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
68 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
75 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
H A Ddebug-exceptions.wat38 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
42 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
46 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
51 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
54 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
58 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
92 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
113 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
120 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
126 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
[all …]
H A Ddebug.wat25 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
29 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
33 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
38 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
51 …bug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedF…
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dvmcontext.rs102 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmfunction_import_offsets()
172 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmtable_offsets()
197 let module = Module::new(StaticModuleIndex::from_u32(0)); in ensure_sizes_match()
235 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmmemory_import_offsets()
311 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmglobal_import_offsets()
350 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmtag_import_offsets()
427 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmmemory_definition_offsets()
474 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmtable_definition_offsets()
524 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmglobal_definition_offsets()
534 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vmglobal_begins_aligned()
[all …]
H A Dstack_switching.rs548 use wasmtime_environ::{HostPtr, Module, PtrSize, StaticModuleIndex, VMOffsets};
561 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vm_stack_limits_offsets()
575 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vm_common_stack_information_offsets()
606 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vm_array_offsets()
628 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vm_contobj_offsets()
646 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vm_contref_offsets()
684 let module = Module::new(StaticModuleIndex::from_u32(0)); in check_vm_stack_chain_offsets()
/wasmtime-44.0.1/crates/environ/src/component/
H A Dartifacts.rs5 CompiledFunctionsTable, CompiledModuleInfo, PrimaryMap, StaticModuleIndex, WasmChecksum,
22 pub static_modules: PrimaryMap<StaticModuleIndex, CompiledModuleInfo>,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dtable.rs6 use wasmtime_environ::StaticModuleIndex;
14 let mut module = Module::new(StaticModuleIndex::from_u32(0)); in create_table()
H A Dtag.rs8 use wasmtime_environ::StaticModuleIndex;
13 let mut module = Module::new(StaticModuleIndex::from_u32(0)); in create_tag()
H A Dmemory.rs15 DefinedMemoryIndex, DefinedTableIndex, EntityIndex, HostPtr, Module, StaticModuleIndex,
33 let mut module = Module::new(StaticModuleIndex::from_u32(0)); in create_memory()
137 _get_module: &'a dyn Fn(StaticModuleIndex) -> &'a Module, in validate_component()
/wasmtime-44.0.1/crates/environ/src/
H A Dkey.rs7 BuiltinFunctionIndex, DefinedFuncIndex, HostCall, ModuleInternedTypeIndex, StaticModuleIndex,
229 DefinedWasmFunction(StaticModuleIndex, DefinedFuncIndex),
232 ArrayToWasmTrampoline(StaticModuleIndex, DefinedFuncIndex),
417 let module = StaticModuleIndex::from_u32(a & Self::MODULE_MASK); in from_raw_parts()
422 let module = StaticModuleIndex::from_u32(a & Self::MODULE_MASK); in from_raw_parts()
488 pub fn unwrap_defined_wasm_function(self) -> (StaticModuleIndex, DefinedFuncIndex) { in unwrap_defined_wasm_function() argument
496 pub fn unwrap_array_to_wasm_trampoline(self) -> (StaticModuleIndex, DefinedFuncIndex) { in unwrap_array_to_wasm_trampoline() argument
H A Dmodule_artifacts.rs667 use crate::{DefinedFuncIndex, StaticModuleIndex};
678 StaticModuleIndex::from_u32(m), in def_func_key()
685 StaticModuleIndex::from_u32(m), in array_to_wasm_tramp_key()
/wasmtime-44.0.1/crates/cranelift/src/debug/transform/
H A Dsynthetic.rs4 use wasmtime_environ::StaticModuleIndex;
34 module: StaticModuleIndex, in new() argument
84 module: StaticModuleIndex, in create_vmctx_ptr_die() argument
H A Dmod.rs12 DefinedFuncIndex, ModuleTranslation, PrimaryMap, StaticModuleIndex, Tunables, prelude::*,
31 module: StaticModuleIndex, in function_frame_info() argument
110 StaticModuleIndex::from_u32(0), in read_dwarf_package_from_bytes()
H A Dsimulate.rs14 DebugInfoData, EntityRef, FunctionMetadata, PrimaryMap, StaticModuleIndex, WasmFileInfo,
33 addr_tr: &PrimaryMap<StaticModuleIndex, AddressTransform>, in generate_line_info() argument
290 addr_tr: &PrimaryMap<StaticModuleIndex, AddressTransform>, in generate_simulated_dwarf() argument
293 vmctx_ptr_die_refs: &PrimaryMap<StaticModuleIndex, write::DebugInfoRef>, in generate_simulated_dwarf() argument
H A Daddress_transform.rs5 use wasmtime_environ::{DefinedFuncIndex, FilePos, PrimaryMap, StaticModuleIndex};
193 module: StaticModuleIndex, in build_function_addr_map() argument
462 pub fn new(compilation: &Compilation<'_>, module: StaticModuleIndex) -> Self { in new()
504 let mut translation = wasmtime_environ::ModuleTranslation::new(StaticModuleIndex::new(0)); in mock()
531 Self::new(&compile, StaticModuleIndex::from_u32(0)) in mock()
H A Dunit.rs18 use wasmtime_environ::StaticModuleIndex;
263 module: StaticModuleIndex, in clone_unit() argument
/wasmtime-44.0.1/crates/winch/src/
H A Dcompiler.rs13 ModuleTranslation, ModuleTypesBuilder, PrimaryMap, StaticModuleIndex, Tunables, VMOffsets,
224 _translations: &'a PrimaryMap<StaticModuleIndex, ModuleTranslation<'a>>, in append_dwarf() argument
226 StaticModuleIndex, in append_dwarf() argument
369 translations: &'a PrimaryMap<StaticModuleIndex, ModuleTranslation<'a>>, in append_dwarf() argument
371 StaticModuleIndex, in append_dwarf() argument
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmod.rs7 DefinedFuncIndex, FlagValue, FuncKey, FunctionLoc, ObjectKind, PrimaryMap, StaticModuleIndex,
443 translations: &'a PrimaryMap<StaticModuleIndex, ModuleTranslation<'a>>, in append_dwarf() argument
445 StaticModuleIndex, in append_dwarf() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dcode_memory.rs15 use wasmtime_environ::StaticModuleIndex;
375 fn wasm_bytecode_end_for_module(&self, index: StaticModuleIndex) -> Option<usize> { in wasm_bytecode_end_for_module()
389 pub(crate) fn wasm_bytecode_for_module(&self, index: StaticModuleIndex) -> Option<&[u8]> { in wasm_bytecode_for_module()
393 self.wasm_bytecode_end_for_module(StaticModuleIndex::from_u32(index.as_u32() - 1))? in wasm_bytecode_for_module()
H A Dinstantiate.rs16 StaticModuleIndex,
94 fn module_index(&self) -> StaticModuleIndex { in module_index() argument
H A Dcode.rs14 use wasmtime_environ::StaticModuleIndex;
239 pub fn wasm_bytecode_for_module(&self, module: StaticModuleIndex) -> Option<&[u8]> { in wasm_bytecode_for_module()
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs34 ModuleTypes, ModuleTypesBuilder, ObjectKind, PrimaryMap, StaticModuleIndex, Tunables,
84 StaticModuleIndex::from_u32(0), in build_module_artifacts()
281 let module_index = StaticModuleIndex::from_u32(0); in for_module()
295 StaticModuleIndex, in for_component()
438 StaticModuleIndex, in collect_inputs_in_translations()
1068 translations: PrimaryMap<StaticModuleIndex, ModuleTranslation<'_>>, in link_and_append_code() argument
1152 modules: PrimaryMap<StaticModuleIndex, CompiledModuleInfo>,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/
H A Don_demand.rs23 StaticModuleIndex,
85 _get_module: &'a dyn Fn(StaticModuleIndex) -> &'a Module, in validate_component()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dcomponent.rs20 GlobalInitializer, InstantiateModule, NameMapNoIntern, OptionsIndex, StaticModuleIndex,
77 static_modules: PrimaryMap<StaticModuleIndex, Module>,
481 pub(crate) fn static_module(&self, idx: StaticModuleIndex) -> &Module { in static_module()

12