| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | lists.rs | 146 elements: Vec<MemArea>, field 161 elements, in strat() 179 self.elements.len() as u32, in test() 194 self.elements.len() as i32, in test() 242 let elem_range = elements in sum_of_elements() 266 elements: Vec<types::PairInts>, field 282 Just(elements), in strat() 295 elements, in strat() 322 self.elements.len() as i32, in test() 332 .elements in test() [all …]
|
| H A D | lists.witx | 27 (param $elements (list $pair_ints)) 32 (param $elements (list $pair_ints))
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | table.rs | 188 elements: TryVec<FuncTableElem>, field 206 elements: TryVec<ContTableElem>, field 516 Table::Dynamic(DynamicTable::Func(DynamicFuncTable { elements, .. })) => elements.len(), in size() 518 elements.len() in size() 952 elements, in funcrefs() 956 unsafe { slice::from_raw_parts(elements.as_ptr().cast(), elements.len()) }, in funcrefs() 975 elements, in funcrefs_mut() 997 Self::Dynamic(DynamicTable::GcRef(DynamicGcRefTable { elements, .. })) => elements, in gc_refs() 1009 slice::from_raw_parts(elements.as_ptr().cast(), elements.len()) in contrefs() 1022 slice::from_raw_parts_mut(elements.as_mut_ptr().cast(), elements.len()) in contrefs_mut() [all …]
|
| H A D | instance.rs | 958 let elements = store in table_init() localVariable 969 elements, in table_init() 984 elements: &TableSegmentElements, in table_init_segment() 1010 match elements { in table_init_segment() 1012 let elements = funcs in table_init_segment() localVariable 1016 for (i, func_idx) in positions.zip(elements) { in table_init_segment()
|
| H A D | libcalls.rs | 987 let elements = instance.passive_element_segment(&mut storage, elem_index); in array_new_elem() localVariable 1000 let mut vals = Vec::with_capacity(usize::try_from(elements.len()).unwrap()); in array_new_elem() 1001 match elements { in array_new_elem() 1097 let elements = instance.passive_element_segment(&mut storage, elem_index); in array_init_elem() localVariable 1104 let vals = match elements { in array_init_elem()
|
| /wasmtime-44.0.1/tests/misc_testsuite/ |
| H A D | partial-init-table-segment.wast | 25 ;; Part of this segment is out of bounds, so none of its elements should be 36 ;; its elements were written into the table.
|
| H A D | table_copy.wast | 41 ;; Do a `table.copy` to rearrange the elements. Copy from 4..7 to 0..3.
|
| /wasmtime-44.0.1/cranelift/entity/ |
| H A D | README.md | 21 own keys when elements are inserted, while an `SecondaryMap` reuses the keys 23 index space. `SecondaryMap`'s values must implement `Default` and all elements
|
| /wasmtime-44.0.1/crates/environ/src/compile/ |
| H A D | module_environ.rs | 508 Payload::ElementSection(elements) => { in translate_payload() 509 self.validator.element_section(&elements)?; in translate_payload() 511 for (index, entry) in elements.into_iter().enumerate() { in translate_payload() 523 let elements = match items { in translate_payload() localVariable 561 elements, in translate_payload() 569 self.result.module.passive_elements.push(elements)?; in translate_payload() 1282 let top = match offset.checked_add(segment.elements.len()) { in try_func_table_init() 1310 let function_elements = match &segment.elements { in try_func_table_init()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/ |
| H A D | table_pool.rs | 126 let elements = self in data_size() localVariable 129 elements * element_size in data_size()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | config.hh | 206 void table_elements(size_t elements) { in table_elements() argument 207 wasmtime_pooling_allocation_config_table_elements_set(ptr.get(), elements); in table_elements()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/ |
| H A D | allocator.rs | 512 let end = start.checked_add(segment.elements.len()); in check_table_init_bounds() 575 &segment.elements, in initialize_tables() 578 segment.elements.len(), in initialize_tables()
|
| /wasmtime-44.0.1/crates/wasi-nn/wit/ |
| H A D | wasi-nn.wit | 26 /// The type of the elements in a tensor. 41 /// in the type (e.g., a 2x2 tensor with 4-byte f32 elements would have a data array of length
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/ |
| H A D | inst_vector.isle | 27 ;; The tail mode specifies how the tail elements of a vector register are handled. 29 ;; Tail Agnostic means that the tail elements are left in an undefined state. 31 ;; Tail Undisturbed means that the tail elements are left in their original values. 37 ;; The mask mode specifies how the masked elements of a vector register are handled. 39 ;; Mask Agnostic means that the masked out elements are left in an undefined state. 47 ;; This setting specifies the number of elements that are going to be processed 48 ;; in a single instruction. Note: We may end up processing fewer elements than 306 ;; Vector unit-stride operations access elements stored contiguously in memory 1079 ;; `vslidedown` moves all elements in the vector down by n elements. 1080 ;; The top most elements are up to the tail policy. [all …]
|
| /wasmtime-44.0.1/cranelift/entity/src/ |
| H A D | list.rs | 456 pub fn from_iter<I>(elements: I, pool: &mut ListPool<T>) -> Self in from_iter() 461 list.extend(elements, pool); in from_iter() 466 pub fn extend<I>(&mut self, elements: I, pool: &mut ListPool<T>) in extend() 470 let iterator = elements.into_iter(); in extend()
|
| /wasmtime-44.0.1/tests/disas/ |
| H A D | typed-funcrefs-eager-init.wat | 16 ;; This syntax declares a table that is exactly 100 elements, whose 17 ;; elements are nullable function references, and whose default
|
| H A D | typed-funcrefs.wat | 16 ;; This syntax declares a table that is exactly 100 elements, whose 17 ;; elements are nullable function references, and whose default
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | config.rs | 659 elements: usize, in wasmtime_pooling_allocation_config_table_elements_set() 661 c.config.table_elements(elements); in wasmtime_pooling_allocation_config_table_elements_set()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/lower/ |
| H A D | isle.rs | 614 fn targets_jt_space(&mut self, elements: &BoxVecMachLabel) -> CodeOffset { in targets_jt_space() 618 (4 * (8 + elements.len())).try_into().unwrap() in targets_jt_space()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/ |
| H A D | inst.isle | 1620 ;; Reverse elements in 16-bit lanes 1622 ;; Reverse elements in 32-bit lanes 1624 ;; Reverse elements in 64-bit doublewords 1673 ;; Shift left long (by element size), 8-bit elements 1675 ;; Shift left long (by element size), 16-bit elements 1677 ;; Shift left long (by element size), 32-bit elements 1716 ;; A vector operation on a pair of elements with one register. 1719 ;; Add pair of elements 1724 ;; and operates on a pair of elements. 1727 ;; Sign extend and add pair of elements [all …]
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module.rs | 266 pub elements: TableSegmentElements, field
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | instructions.rs | 141 pub fn extend<I, T>(&mut self, elements: I, pool: &mut ValueListPool) in extend() 147 elements in extend()
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | config.rs | 3845 pub fn table_elements(&mut self, elements: usize) -> &mut Self { in table_elements() 3846 self.config.limits.table_elements = elements; in table_elements()
|
| /wasmtime-44.0.1/crates/debugger/wit/ |
| H A D | world.wit | 277 /// Get the current length of this table, in elements.
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/ |
| H A D | lower.isle | 485 ;; Multiply high part unsigned, vector types with 8-, 16-, or 32-bit elements. 490 ;; Multiply high part unsigned, vector types with 64-bit elements on z17. 493 ;; Multiply high part unsigned, vector types with 64-bit elements pre-z17. 526 ;; Multiply high part signed, vector types with 8-, 16-, or 32-bit elements. 531 ;; Multiply high part signed, vector types with 64-bit elements on z17. 534 ;; Multiply high part signed, vector types with 64-bit elements pre-z17. 2154 ;; the current lane order. Otherwise, lane elements need to be swapped, 2212 ;; For 64-bit elements we always use VPDI. 2439 ;; For 64-bit elements we always use VPDI. 2616 ;; need to handle mask elements outside the range 0..15 by zeroing the lane. [all …]
|