| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module_types.rs | 15 wasm_types: TryPrimaryMap<ModuleInternedTypeIndex, WasmSubType>, 17 TrySecondaryMap<ModuleInternedTypeIndex, PackedOption<ModuleInternedTypeIndex>>, 80 pub fn push(&mut self, ty: WasmSubType) -> ModuleInternedTypeIndex { in push() argument 93 ) -> impl Iterator<Item = (ModuleInternedTypeIndex, ModuleInternedTypeIndex)> + '_ { in trampoline_types() 103 pub fn trampoline_type(&self, ty: ModuleInternedTypeIndex) -> ModuleInternedTypeIndex { in trampoline_type() argument 120 for_ty: ModuleInternedTypeIndex, in set_trampoline_type() argument 121 trampoline_ty: ModuleInternedTypeIndex, in set_trampoline_type() argument 143 range: Range<ModuleInternedTypeIndex>, in push_rec_group() argument 159 pub fn next_ty(&self) -> ModuleInternedTypeIndex { in next_ty() argument 164 impl Index<ModuleInternedTypeIndex> for ModuleTypes { [all …]
|
| H A D | key.rs | 7 BuiltinFunctionIndex, DefinedFuncIndex, HostCall, ModuleInternedTypeIndex, StaticModuleIndex, 235 WasmToArrayTrampoline(ModuleInternedTypeIndex), 428 let ty = ModuleInternedTypeIndex::from_u32(b); in from_raw_parts() 504 pub fn unwrap_wasm_to_array_trampoline(self) -> ModuleInternedTypeIndex { in unwrap_wasm_to_array_trampoline() argument
|
| H A D | types.rs | 52 F: FnMut(ModuleInternedTypeIndex) -> VMSharedTypeIndex, in canonicalize_for_runtime_usage() 89 rec_group_range: Range<ModuleInternedTypeIndex>, in canonicalize_for_hash_consing() argument 92 F: FnMut(ModuleInternedTypeIndex) -> VMSharedTypeIndex, in canonicalize_for_hash_consing() 336 Module(ModuleInternedTypeIndex), 344 impl From<ModuleInternedTypeIndex> for EngineOrModuleTypeIndex { 346 fn from(i: ModuleInternedTypeIndex) -> Self { in from() 406 pub fn as_module_type_index(self) -> Option<ModuleInternedTypeIndex> { in as_module_type_index() argument 415 pub fn unwrap_module_type_index(self) -> ModuleInternedTypeIndex { in unwrap_module_type_index() argument 883 pub fn unwrap_module_type_index(self) -> ModuleInternedTypeIndex { in unwrap_module_type_index() argument 1649 pub struct ModuleInternedTypeIndex(u32); struct [all …]
|
| H A D | fact.rs | 28 use crate::{ModuleInternedTypeIndex, prelude::*}; 196 core_type: ModuleInternedTypeIndex,
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_types.rs | 22 start: ModuleInternedTypeIndex, 23 end: ModuleInternedTypeIndex, 50 exception_types: HashMap<ModuleInternedTypeIndex, ModuleInternedTypeIndex>, 154 for_func_ty: ModuleInternedTypeIndex, in intern_trampoline_type() argument 155 ) -> ModuleInternedTypeIndex { in intern_trampoline_type() argument 275 ) -> WasmResult<ModuleInternedTypeIndex> { in intern_type() argument 302 ) -> ModuleInternedTypeIndex { in wasm_sub_type_in_rec_group() argument 330 for_func_ty: ModuleInternedTypeIndex, in define_exception_type_for_tag() argument 331 ) -> ModuleInternedTypeIndex { in define_exception_type_for_tag() argument 385 ) -> impl Iterator<Item = (ModuleInternedTypeIndex, ModuleInternedTypeIndex)> + '_ { in trampoline_types() [all …]
|
| H A D | module_environ.rs | 10 ModuleInternedTypeIndex, ModuleTypesBuilder, PanicOnOom as _, PrimaryMap, SizeOverflow, 78 pub exported_signatures: Vec<ModuleInternedTypeIndex>,
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | translate.rs | 199 func: ModuleInternedTypeIndex, 202 func: ModuleInternedTypeIndex, 209 func: ModuleInternedTypeIndex, 212 func: ModuleInternedTypeIndex, 221 func: ModuleInternedTypeIndex, 224 func: ModuleInternedTypeIndex, 227 func: ModuleInternedTypeIndex, 231 func: ModuleInternedTypeIndex, 234 func: ModuleInternedTypeIndex, 239 func: ModuleInternedTypeIndex, [all …]
|
| H A D | info.rs | 51 use crate::{EntityIndex, ModuleInternedTypeIndex, PrimaryMap, WasmValType}; 164 pub trampolines: PrimaryMap<TrampolineIndex, ModuleInternedTypeIndex>, 168 pub unsafe_intrinsics: [PackedOption<ModuleInternedTypeIndex>; UnsafeIntrinsic::len() as usize], 543 pub core_type: ModuleInternedTypeIndex,
|
| H A D | dfg.rs | 33 use crate::{EntityIndex, EntityRef, ModuleInternedTypeIndex, PrimaryMap, WasmValType}; 56 pub trampolines: Intern<TrampolineIndex, (ModuleInternedTypeIndex, Trampoline)>, 60 pub unsafe_intrinsics: [PackedOption<ModuleInternedTypeIndex>; UnsafeIntrinsic::len() as usize], 269 UnsafeIntrinsic(ModuleInternedTypeIndex, UnsafeIntrinsic), 549 pub core_type: ModuleInternedTypeIndex, 704 unsafe_intrinsics: [PackedOption<ModuleInternedTypeIndex>; UnsafeIntrinsic::len() as usize], 705 trampolines: PrimaryMap<TrampolineIndex, ModuleInternedTypeIndex>,
|
| H A D | types.rs | 2 use crate::{EntityType, ModuleInternedTypeIndex, ModuleTypes, PrimaryMap}; 464 CoreFunc(ModuleInternedTypeIndex),
|
| H A D | types_builder.rs | 5 EngineOrModuleTypeIndex, EntityType, ModuleInternedTypeIndex, ModuleTypes, ModuleTypesBuilder, 172 pub fn find_resource_drop_signature(&self) -> Option<ModuleInternedTypeIndex> { in find_resource_drop_signature() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | type_registry.rs | 92 types: TryPrimaryMap<ModuleInternedTypeIndex, VMSharedTypeIndex>, 685 TryPrimaryMap<ModuleInternedTypeIndex, VMSharedTypeIndex>, in register_module_types() argument 754 map: &TryPrimaryMap<ModuleInternedTypeIndex, VMSharedTypeIndex>, in register_rec_group() argument 755 range: Range<ModuleInternedTypeIndex>, in register_rec_group() argument 812 map: &TryPrimaryMap<ModuleInternedTypeIndex, VMSharedTypeIndex>, in register_new_rec_group() argument 813 range: Range<ModuleInternedTypeIndex>, in register_new_rec_group() argument 1160 non_canon_types: &[(ModuleInternedTypeIndex, WasmSubType)], in assign_shared_type_indices() argument 1264 range: Range<ModuleInternedTypeIndex>, in canonicalize_entry_types_for_runtime_usage() argument 1279 range: Range<ModuleInternedTypeIndex>, in canonicalize_type_for_runtime_usage() argument 1354 let range = ModuleInternedTypeIndex::from_bits(u32::MAX - 1) in register_singleton_rec_group() [all …]
|
| H A D | instantiate.rs | 15 FuncKey, FunctionLoc, FunctionName, Metadata, Module, ModuleInternedTypeIndex, 159 pub fn wasm_to_array_trampoline(&self, signature: ModuleInternedTypeIndex) -> Option<&[u8]> { in wasm_to_array_trampoline()
|
| H A D | vm.rs | 51 use wasmtime_environ::ModuleInternedTypeIndex; 335 fn engine_type_index(&self, module_index: ModuleInternedTypeIndex) -> VMSharedTypeIndex { in engine_type_index()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | libcalls.rs | 700 use wasmtime_environ::{ModuleInternedTypeIndex, VMGcKind}; in gc_alloc_raw() 710 let module_interned_type_index = ModuleInternedTypeIndex::from_u32(module_interned_type_index); in gc_alloc_raw() 782 use wasmtime_environ::{ModuleInternedTypeIndex, packed_option::ReservedValue}; in get_interned_func_ref() 819 use wasmtime_environ::ModuleInternedTypeIndex; in array_new_data() 823 let array_type_index = ModuleInternedTypeIndex::from_u32(array_type_index); in array_new_data() 893 use wasmtime_environ::ModuleInternedTypeIndex; in array_init_data() 895 let array_type_index = ModuleInternedTypeIndex::from_u32(array_type_index); in array_init_data() 979 use wasmtime_environ::{ModuleInternedTypeIndex, TableSegmentElements}; in array_new_elem() 982 let array_type_index = ModuleInternedTypeIndex::from_u32(array_type_index); in array_new_elem() 1064 use wasmtime_environ::{ModuleInternedTypeIndex, TableSegmentElements}; in array_init_elem() [all …]
|
| H A D | instance.rs | 36 use wasmtime_environ::ModuleInternedTypeIndex; 366 pub fn engine_type_index(&self, module_index: ModuleInternedTypeIndex) -> VMSharedTypeIndex { in engine_type_index()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/ |
| H A D | enabled.rs | 17 Collector, GcArrayLayout, GcLayout, GcStructLayout, I31_DISCRIMINANT, ModuleInternedTypeIndex, 181 WasmHeapType::Func => ModuleInternedTypeIndex::reserved_value(), in read_field_at_addr() 657 interned_type_index: ModuleInternedTypeIndex, in initialize() argument 914 array_type_index: ModuleInternedTypeIndex, in emit_array_size_info() argument 963 array_type_index: ModuleInternedTypeIndex, in array_elem_addr() argument 1379 struct_ty: ModuleInternedTypeIndex, in initialize_struct_fields() argument 1416 fn gc_layout(&mut self, type_index: ModuleInternedTypeIndex) -> &GcLayout { in gc_layout() 1432 fn array_layout(&mut self, type_index: ModuleInternedTypeIndex) -> &GcArrayLayout { in array_layout() 1437 fn struct_or_exn_layout(&mut self, type_index: ModuleInternedTypeIndex) -> &GcStructLayout { in struct_or_exn_layout()
|
| /wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/enabled/ |
| H A D | null.rs | 15 GcTypeLayouts, ModuleInternedTypeIndex, PtrSize, TypeIndex, VMGcKind, WasmRefType, WasmResult, 45 ty: Option<ModuleInternedTypeIndex>, in emit_inline_alloc() argument
|
| H A D | drc.rs | 14 GcTypeLayouts, ModuleInternedTypeIndex, PtrSize, TypeIndex, VMGcKind, WasmHeapTopType, 355 ty: ModuleInternedTypeIndex, in emit_gc_raw_alloc() argument
|
| /wasmtime-44.0.1/crates/environ/src/component/translate/ |
| H A D | adapt.rs | 184 pub core_type: ModuleInternedTypeIndex,
|
| H A D | inline.rs | 203 funcs: PrimaryMap<FuncIndex, (ModuleInternedTypeIndex, dfg::CoreDef)>,
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | func_environ.rs | 31 GlobalConstValue, GlobalIndex, IndexType, Memory, MemoryIndex, Module, ModuleInternedTypeIndex, 149 wasmtime_environ::ModuleInternedTypeIndex, 1040 interned_ty: ModuleInternedTypeIndex, in module_interned_to_shared_ty() argument 1348 pub(crate) sig_refs: SecondaryMap<ModuleInternedTypeIndex, PackedOption<ir::SigRef>>, 1385 … get_or_create_interned_sig_ref(sig_refs) : make_sig_ref : ModuleInternedTypeIndex => ir::SigRef; 1433 index: ModuleInternedTypeIndex, in make_sig_ref() argument
|
| /wasmtime-44.0.1/crates/cranelift/src/debug/transform/ |
| H A D | address_transform.rs | 508 .push_function(wasmtime_environ::ModuleInternedTypeIndex::from_u32(0)); in mock()
|