Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 25 of 41) sorted by relevance

12

/wasmtime-44.0.1/crates/wiggle/tests/
H A Dlists.rs146 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 Dlists.witx27 (param $elements (list $pair_ints))
32 (param $elements (list $pair_ints))
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dtable.rs188 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 Dinstance.rs958 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 Dlibcalls.rs987 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 Dpartial-init-table-segment.wast25 ;; 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 Dtable_copy.wast41 ;; Do a `table.copy` to rearrange the elements. Copy from 4..7 to 0..3.
/wasmtime-44.0.1/cranelift/entity/
H A DREADME.md21 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 Dmodule_environ.rs508 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 Dtable_pool.rs126 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 Dconfig.hh206 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 Dallocator.rs512 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 Dwasi-nn.wit26 /// 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 Dinst_vector.isle27 ;; 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 Dlist.rs456 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 Dtyped-funcrefs-eager-init.wat16 ;; This syntax declares a table that is exactly 100 elements, whose
17 ;; elements are nullable function references, and whose default
H A Dtyped-funcrefs.wat16 ;; 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 Dconfig.rs659 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 Disle.rs614 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 Dinst.isle1620 ;; 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 Dmodule.rs266 pub elements: TableSegmentElements, field
/wasmtime-44.0.1/cranelift/codegen/src/ir/
H A Dinstructions.rs141 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 Dconfig.rs3845 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 Dworld.wit277 /// Get the current length of this table, in elements.
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dlower.isle485 ;; 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 …]

12