Home
last modified time | relevance | path

Searched refs:Array (Results 1 – 25 of 31) sorted by relevance

12

/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Dbuilder.rs91 pub fn with_results<Array>(self, reuse: Array) -> InsertReuseBuilder<'f, IIB, Array> in with_results()
93 Array: AsRef<[Option<Value>]>, in with_results()
137 pub struct InsertReuseBuilder<'f, IIB, Array>
140 Array: AsRef<[Option<Value>]>,
143 reuse: Array,
147 impl<'f, IIB, Array> InstBuilderBase<'f> for InsertReuseBuilder<'f, IIB, Array>
150 Array: AsRef<[Option<Value>]>,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/types/
H A Dmatching.rs215 | H::Array in match_heap()
227 | H::Array in match_heap()
239 (H::Array | H::ConcreteArray(_) | H::None, H::Array) => true, in match_heap()
240 (_, H::Array) => false, in match_heap()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs380 Array(GcArray<'a>), enumerator
403 Array(GcArray<'a>), enumerator
1334 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in translate_bool()
1362 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in convert_u8_mask()
1385 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in translate_s8()
1411 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in convert_u16_mask()
1434 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in translate_s16()
4216 Source::Array(_) => todo!(), in record_field_srcs()
4252 Source::Array(a) => a.opts, in opts()
4280 Destination::Array(_) => todo!(), in record_field_dsts()
[all …]
/wasmtime-44.0.1/crates/environ/src/
H A Dgc.rs247 WasmCompositeInnerType::Array(ty) => Some(self.array_layout(ty).into()), in gc_layout()
271 Array(GcArrayLayout), enumerator
279 Self::Array(layout) in from()
309 Self::Array(a) => a, in unwrap_array()
H A Dtypes.rs472 Array, enumerator
519 Self::Array => write!(f, "array"), in fmt()
612 | WasmHeapType::Array in top()
647 | WasmHeapType::Array in bottom()
1198 Array(WasmArrayType), enumerator
1208 Self::Array(ty) => Self::Array(*ty), in try_clone()
1220 Self::Array(ty) => fmt::Display::fmt(ty, f), in fmt()
1233 matches!(self, Self::Array(_)) in is_array()
1239 Self::Array(f) => Some(f), in as_array()
2464 wasmparser::CompositeInnerType::Array(a) => { in convert_composite_type()
[all …]
H A Dkey.rs201 Array = 1, enumerator
213 x if x == Self::Array.into_raw() => Self::Array, in from_raw()
368 FuncKey::ArrayToWasmTrampoline(_, _) => Abi::Array, in abi()
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-winml/src/
H A Dmain.rs2 use ndarray::Array;
115 let exp_output = Array::from_shape_vec(output_shape, output_tensor) in postprocess()
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/src/
H A Dmain.rs4 use ndarray::{Array, Dim};
95 let output_tensor = Array::from_shape_vec(output_shape, output_f32).unwrap(); in main()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs479 heap_type: HeapType::Array,
777 Array, enumerator
1083 | HeapType::Array in top()
1120 | HeapType::Array in bottom()
1194 | HeapType::Array in matches()
1212 (HeapType::Array, HeapType::Array | HeapType::Eq | HeapType::Any) => true, in matches()
1213 (HeapType::Array, _) => false, in matches()
1281 | HeapType::Array in comes_from_same_engine()
1305 HeapType::Array => WasmHeapType::Array, in to_wasm_type()
1339 WasmHeapType::Array => HeapType::Array, in from_wasm_type()
[all …]
H A Dvalues.rs347 | HeapType::Array in _from_raw()
1097 (Ref::Any(Some(a)), HeapType::Array) => a._is_array(store)?, in _matches_ty()
1109 | HeapType::Array in _matches_ty()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_types.rs530 WasmCompositeInnerType::Array(_) => WasmHeapType::ConcreteArray(index), in lookup_heap_type()
540 wasmparser::CompositeInnerType::Array(_) => { in lookup_heap_type()
571 WasmCompositeInnerType::Array(_) => WasmHeapType::ConcreteArray(index), in lookup_heap_type()
586 wasmparser::CompositeInnerType::Array(_) => { in lookup_heap_type()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Darrayref.rs723 GcLayout::Array(a) => Ok(a), in layout()
848 ValType::Ref(RefType::new(false, HeapType::Array)) in valtype()
864 HeapType::Any | HeapType::Eq | HeapType::Array => Ok(()), in dynamic_concrete_type_check()
948 ValType::Ref(RefType::new(false, HeapType::Array)) in valtype()
964 HeapType::Any | HeapType::Eq | HeapType::Array => Ok(()), in dynamic_concrete_type_check()
H A Dstructref.rs529 GcLayout::Array(_) => unreachable!(), in layout()
667 | HeapType::Array in dynamic_concrete_type_check()
767 | HeapType::Array in dynamic_concrete_type_check()
H A Dexnref.rs577 GcLayout::Array(_) => unreachable!(), in layout()
/wasmtime-44.0.1/tests/all/
H A Dmodule.rs354 Array(fn(&Engine) -> ArrayType), in concurrent_type_registry_modifications() enumerator
361 Test::Array(|engine| { in concurrent_type_registry_modifications()
364 Test::Array(|engine| { in concurrent_type_registry_modifications()
450 Some(Test::Array(ctor)) => { in concurrent_type_registry_modifications()
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs318 for abi in [Abi::Wasm, Abi::Array] { in for_component()
324 Abi::Array => "array-call", in for_component()
345 for abi in [Abi::Wasm, Abi::Array] { in for_component()
353 Abi::Array => "array-call", in for_component()
828 if caller_key.abi() == Abi::Array {
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Ddrc.rs100 Array { enumerator
290 GcLayout::Array(l) => { in insert_new_trace_info()
294 TraceInfo::Array { in insert_new_trace_info()
349 TraceInfo::Array { gc_ref_elems } => { in trace_gc_ref()
/wasmtime-44.0.1/tests/misc_testsuite/gc/
H A Darray-new-elem.wast47 ;; Array is initialized with the correct contents.
H A Darray-new-data.wast40 ;; Array is initialized with the correct contents.
H A Darray-init-data.wast68 ;; Array is initialized with the correct contents.
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Ddiff_v8.rs210 let params = v8::Array::new_with_elements(&mut scope, &params); in evaluate()
219 let array = v8::Local::<'_, v8::Array>::try_from(v8_vals).unwrap(); in evaluate()
/wasmtime-44.0.1/crates/fuzzing/wasm-spec-interpreter/ocaml/
H A Dinterpret.ml78 | Ext_mem i -> Memory (fst (Array.get (mems (!s_ref)) (Z.to_int (integer_of_nat i))))
79 …| Ext_glob i -> Global (convert_from_wasm (g_val (Array.get (globs (!s_ref)) (Z.to_int (integer_of…
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dcomponent.rs510 .store_invariant_func(FuncKey::ComponentTrampoline(Abi::Array, index)) in trampoline_ptrs()
527 .store_invariant_func(FuncKey::UnsafeIntrinsic(Abi::Array, intrinsic))? in unsafe_intrinsic_ptrs()
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dopts.rs32 impl<T: smallvec::Array> generated_code::Length for SmallVec<T> {
/wasmtime-44.0.1/crates/wasmtime/src/runtime/externals/
H A Dglobal.rs188 | HeapType::Array in _get()

12