Home
last modified time | relevance | path

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

12

/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtype_registry.rs252 index: VMSharedTypeIndex,
415 index: VMSharedTypeIndex, in from_parts() argument
442 pub fn index(&self) -> VMSharedTypeIndex { in index() argument
621 type_to_supertypes: TrySecondaryMap<VMSharedTypeIndex, Option<Box<[VMSharedTypeIndex]>>>,
631 type_to_trampoline: TrySecondaryMap<VMSharedTypeIndex, PackedOption<VMSharedTypeIndex>>,
1162 ) -> Box<[VMSharedTypeIndex]> { in assign_shared_type_indices() argument
1277 engine_index: VMSharedTypeIndex, in canonicalize_type_for_runtime_usage() argument
1325 fn supertypes(&self, ty: VMSharedTypeIndex) -> &[VMSharedTypeIndex] { in supertypes() argument
1616 pub fn trampoline_type(&self, index: VMSharedTypeIndex) -> VMSharedTypeIndex { in trampoline_type() argument
1638 pub fn is_subtype(&self, sub: VMSharedTypeIndex, sup: VMSharedTypeIndex) -> bool { in is_subtype() argument
[all …]
H A Dvm.rs48 use wasmtime_environ::{DefinedMemoryIndex, HostPtr, VMOffsets, VMSharedTypeIndex};
335 fn engine_type_index(&self, module_index: ModuleInternedTypeIndex) -> VMSharedTypeIndex { in engine_type_index() argument
379 fn type_ids(&self) -> &[VMSharedTypeIndex] { in type_ids() argument
H A Dtypes.rs12 PanicOnOom as _, Table, Tag, TypeTrace, VMSharedTypeIndex, WasmArrayType,
2048 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
2102 pub(crate) fn from_shared_type_index(engine: &Engine, index: VMSharedTypeIndex) -> StructType { in from_shared_type_index()
2303 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
2343 pub(crate) fn from_shared_type_index(engine: &Engine, index: VMSharedTypeIndex) -> ArrayType { in from_shared_type_index()
2670 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
2710 pub(crate) fn from_shared_type_index(engine: &Engine, index: VMSharedTypeIndex) -> FuncType { in from_shared_type_index()
2752 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
2773 pub(crate) fn from_shared_type_index(engine: &Engine, index: VMSharedTypeIndex) -> ContType { in from_shared_type_index()
2923 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
[all …]
H A Dmodule.rs25 TypeTrace, VMOffsets, VMSharedTypeIndex, WasmChecksum,
1130 signature: VMSharedTypeIndex, in wasm_to_array_trampoline() argument
H A Dfunc.rs21 use wasmtime_environ::{PanicOnOom as _, VMSharedTypeIndex};
550 debug_assert!(func_ref.as_ref().type_index != VMSharedTypeIndex::default()); in from_vm_func_ref()
901 pub(crate) fn type_index(&self, data: &StoreOpaque) -> VMSharedTypeIndex { in type_index() argument
2748 pub(crate) fn sig_index(&self) -> VMSharedTypeIndex { in sig_index() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/
H A Dgc_ref.rs7 use wasmtime_environ::{VMGcKind, VMSharedTypeIndex};
39 ty: VMSharedTypeIndex,
61 Self::from_kind_and_index(VMGcKind::ExternRef, VMSharedTypeIndex::reserved_value()) in externref()
65 pub fn from_kind_and_index(kind: VMGcKind, ty: VMSharedTypeIndex) -> Self { in from_kind_and_index()
111 pub fn ty(&self) -> Option<VMSharedTypeIndex> { in ty() argument
498 let ty = VMSharedTypeIndex::new(1234); in reserved_bits()
H A Dfunc_ref.rs20 use wasmtime_environ::VMSharedTypeIndex;
69 expected_ty: VMSharedTypeIndex, in get_typed() argument
H A Dgc_runtime.rs13 use wasmtime_environ::{GcArrayLayout, GcStructLayout, GcTypeLayouts, VMSharedTypeIndex};
295 ty: VMSharedTypeIndex, in alloc_uninit_struct_or_exn() argument
320 ty: VMSharedTypeIndex, in alloc_uninit_array() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/vmcontext/
H A Dvm_host_func_context.rs11 use wasmtime_environ::{VM_ARRAY_CALL_HOST_FUNC_MAGIC, VMSharedTypeIndex};
36 type_index: VMSharedTypeIndex, in new() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dgc.rs29 use wasmtime_environ::{GcArrayLayout, GcStructLayout, VMGcKind, VMSharedTypeIndex};
289 ty: VMSharedTypeIndex, in alloc_uninit_struct() argument
329 ty: VMSharedTypeIndex, in alloc_uninit_array() argument
355 ty: VMSharedTypeIndex, in alloc_uninit_exn() argument
H A Dprovenance.rs50 use wasmtime_environ::VMSharedTypeIndex;
219 unsafe impl VmSafe for VMSharedTypeIndex {} implementation
H A Dconst_expr.rs13 use wasmtime_environ::{VMSharedTypeIndex, WasmCompositeInnerType, WasmCompositeType, WasmSubType};
66 fn struct_fields_len(&self, store: &mut StoreOpaque, shared_ty: VMSharedTypeIndex) -> usize { in struct_fields_len()
77 shared_ty: VMSharedTypeIndex, in struct_new() argument
92 shared_ty: VMSharedTypeIndex, in struct_new_default() argument
H A Dvmcontext.rs21 DefinedTagIndex, VMCONTEXT_MAGIC, VMSharedTypeIndex, WasmHeapTopType, WasmValType,
780 use super::VMSharedTypeIndex;
789 size_of::<VMSharedTypeIndex>(), in check_vmshared_type_index()
801 pub type_index: VMSharedTypeIndex,
805 pub fn new(type_index: VMSharedTypeIndex) -> Self { in new()
870 pub type_index: VMSharedTypeIndex,
H A Dcomponent.rs32 use wasmtime_environ::{HostPtr, PrimaryMap, VMSharedTypeIndex};
609 type_index: VMSharedTypeIndex, in set_trampoline() argument
630 type_index: VMSharedTypeIndex, in set_intrinsic() argument
H A Dinstance.rs42 VMOffsets, VMSharedTypeIndex, packed_option::ReservedValue,
366 pub fn engine_type_index(&self, module_index: ModuleInternedTypeIndex) -> VMSharedTypeIndex { in engine_type_index() argument
776 fn type_ids_array(&self) -> NonNull<VmPtr<VMSharedTypeIndex>> { in type_ids_array() argument
797 type_index: VMSharedTypeIndex, in construct_func_ref() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Dnull.rs20 GcArrayLayout, GcStructLayout, GcTypeLayouts, VMGcKind, VMSharedTypeIndex,
291 ty: VMSharedTypeIndex, in alloc_uninit_struct_or_exn() argument
306 ty: VMSharedTypeIndex, in alloc_uninit_array() argument
H A Ddrc.rs67 GcArrayLayout, GcLayout, GcStructLayout, GcTypeLayouts, POISON, VMGcKind, VMSharedTypeIndex,
119 trace_infos: HashMap<VMSharedTypeIndex, TraceInfo>,
272 fn ensure_trace_info(&mut self, ty: VMSharedTypeIndex) { in ensure_trace_info() argument
280 fn insert_new_trace_info(&mut self, ty: VMSharedTypeIndex) { in insert_new_trace_info() argument
968 ty: VMSharedTypeIndex, in alloc_uninit_struct_or_exn() argument
991 ty: VMSharedTypeIndex, in alloc_uninit_array() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/types/
H A Dmatching.rs4 EntityType, Global, IndexType, Memory, Table, Tag, TypeTrace, VMSharedTypeIndex, WasmHeapType,
53 expected: VMSharedTypeIndex, in type_reference() argument
54 actual: VMSharedTypeIndex, in type_reference() argument
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs32 F: FnMut(VMSharedTypeIndex) -> Result<(), E>, in trace_engine_indices()
52 F: FnMut(ModuleInternedTypeIndex) -> VMSharedTypeIndex, in canonicalize_for_runtime_usage() argument
92 F: FnMut(ModuleInternedTypeIndex) -> VMSharedTypeIndex, in canonicalize_for_hash_consing() argument
332 Engine(VMSharedTypeIndex),
351 impl From<VMSharedTypeIndex> for EngineOrModuleTypeIndex {
353 fn from(i: VMSharedTypeIndex) -> Self { in from()
393 pub fn unwrap_engine_type_index(self) -> VMSharedTypeIndex { in unwrap_engine_type_index() argument
1661 pub struct VMSharedTypeIndex(u32); struct
1662 entity_impl_with_try_clone!(VMSharedTypeIndex);
1664 impl VMSharedTypeIndex { implementation
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/module/
H A Dregistry.rs15 use wasmtime_environ::{VMSharedTypeIndex, collections::btree_map::Entry};
300 sig: VMSharedTypeIndex, in wasm_to_array_trampoline() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Dexnref.rs17 use wasmtime_environ::{GcLayout, GcStructLayout, VMGcKind, VMSharedTypeIndex};
95 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
370 pub(crate) fn type_index(&self, store: &StoreOpaque) -> Result<VMSharedTypeIndex> { in type_index() argument
H A Dstructref.rs17 use wasmtime_environ::{GcLayout, GcStructLayout, VMGcKind, VMSharedTypeIndex};
91 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
618 pub(crate) fn type_index(&self, store: &StoreOpaque) -> Result<VMSharedTypeIndex> { in type_index() argument
H A Darrayref.rs16 use wasmtime_environ::{GcArrayLayout, GcLayout, VMGcKind, VMSharedTypeIndex};
91 pub(crate) fn type_index(&self) -> VMSharedTypeIndex { in type_index() argument
824 pub(crate) fn type_index(&self, store: &StoreOpaque) -> Result<VMSharedTypeIndex> { in type_index() argument
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/enabled/
H A Dnull.rs12 use wasmtime_environ::VMSharedTypeIndex;
156 i64::from(VMSharedTypeIndex::reserved_value().as_bits()), in emit_inline_alloc()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/func/
H A Dtyped.rs13 use wasmtime_environ::VMSharedTypeIndex;
218 fn debug_typecheck(store: &StoreOpaque, func: VMSharedTypeIndex) { in debug_typecheck() argument

12