| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | builder.rs | 91 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 D | matching.rs | 215 | 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 D | trampoline.rs | 380 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 D | gc.rs | 247 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 D | types.rs | 472 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 D | key.rs | 201 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 D | main.rs | 2 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 D | main.rs | 4 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 D | types.rs | 479 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 D | values.rs | 347 | 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 D | module_types.rs | 530 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 D | arrayref.rs | 723 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 D | structref.rs | 529 GcLayout::Array(_) => unreachable!(), in layout() 667 | HeapType::Array in dynamic_concrete_type_check() 767 | HeapType::Array in dynamic_concrete_type_check()
|
| H A D | exnref.rs | 577 GcLayout::Array(_) => unreachable!(), in layout()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | module.rs | 354 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 D | compile.rs | 318 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 D | drc.rs | 100 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 D | array-new-elem.wast | 47 ;; Array is initialized with the correct contents.
|
| H A D | array-new-data.wast | 40 ;; Array is initialized with the correct contents.
|
| H A D | array-init-data.wast | 68 ;; Array is initialized with the correct contents.
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | diff_v8.rs | 210 let params = v8::Array::new_with_elements(&mut scope, ¶ms); 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 D | interpret.ml | 78 | 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 D | component.rs | 510 .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 D | opts.rs | 32 impl<T: smallvec::Array> generated_code::Length for SmallVec<T> {
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/externals/ |
| H A D | global.rs | 188 | HeapType::Array in _get()
|