| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | debug.rs | 19 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 D | issue-12808.wat | 25 …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 D | debug-exceptions.wat | 38 …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 D | debug.wat | 25 …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 D | vmcontext.rs | 102 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 D | stack_switching.rs | 548 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 D | artifacts.rs | 5 CompiledFunctionsTable, CompiledModuleInfo, PrimaryMap, StaticModuleIndex, WasmChecksum, 22 pub static_modules: PrimaryMap<StaticModuleIndex, CompiledModuleInfo>,
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/ |
| H A D | table.rs | 6 use wasmtime_environ::StaticModuleIndex; 14 let mut module = Module::new(StaticModuleIndex::from_u32(0)); in create_table()
|
| H A D | tag.rs | 8 use wasmtime_environ::StaticModuleIndex; 13 let mut module = Module::new(StaticModuleIndex::from_u32(0)); in create_tag()
|
| H A D | memory.rs | 15 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 D | key.rs | 7 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 D | module_artifacts.rs | 667 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 D | synthetic.rs | 4 use wasmtime_environ::StaticModuleIndex; 34 module: StaticModuleIndex, in new() argument 84 module: StaticModuleIndex, in create_vmctx_ptr_die() argument
|
| H A D | mod.rs | 12 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 D | simulate.rs | 14 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 D | address_transform.rs | 5 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 D | unit.rs | 18 use wasmtime_environ::StaticModuleIndex; 263 module: StaticModuleIndex, in clone_unit() argument
|
| /wasmtime-44.0.1/crates/winch/src/ |
| H A D | compiler.rs | 13 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 D | mod.rs | 7 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 D | code_memory.rs | 15 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 D | instantiate.rs | 16 StaticModuleIndex, 94 fn module_index(&self) -> StaticModuleIndex { in module_index() argument
|
| H A D | code.rs | 14 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 D | compile.rs | 34 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 D | on_demand.rs | 23 StaticModuleIndex, 85 _get_module: &'a dyn Fn(StaticModuleIndex) -> &'a Module, in validate_component()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | component.rs | 20 GlobalInitializer, InstantiateModule, NameMapNoIntern, OptionsIndex, StaticModuleIndex, 77 static_modules: PrimaryMap<StaticModuleIndex, Module>, 481 pub(crate) fn static_module(&self, idx: StaticModuleIndex) -> &Module { in static_module()
|