| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | records.witx | 6 (field $first s32) 11 (field $first s64) 18 (field $first (@witx const_pointer s32)) 23 (field $first (@witx const_pointer s32)) 48 (param $first (@witx const_pointer s32))
|
| H A D | records.rs | 17 Ok(an_pair.first as i64 + an_pair.second as i64) in sum_of_pair() 25 let first = memory in sum_of_pair_of_ptrs() localVariable 26 .read(an_pair.first) in sum_of_pair_of_ptrs() 31 Ok(first as i64 + second as i64) in sum_of_pair_of_ptrs() 39 let first = memory in sum_of_int_and_ptr() localVariable 40 .read(an_pair.first) in sum_of_int_and_ptr() 43 Ok(first as i64 + second) in sum_of_int_and_ptr() 51 first: 10, in return_pair_ints() 59 first: GuestPtr<i32>, in return_pair_of_ptrs() 62 Ok(types::PairIntPtrs { first, second }) in return_pair_of_ptrs() [all …]
|
| H A D | lists.rs | 233 Ok(pair.first.wrapping_add(pair.second)) in sum_of_element() 250 sum = sum.wrapping_add(pair.first).wrapping_add(pair.second); in sum_of_elements() 259 .prop_map(|(first, second)| types::PairInts { first, second }) in strat() 335 assert_eq!(result, e.first.wrapping_add(e.second), "sum of element"); in test() 380 .wrapping_add(elem.first) in test()
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | disasm.rs | 66 let mut first = true; localVariable 68 if !first { 73 first = false; 123 let mut first = true; in print_bytes() localVariable 125 if first { in print_bytes() 126 first = false; in print_bytes()
|
| /wasmtime-44.0.1/tests/misc_testsuite/ |
| H A D | call_indirect.wast | 72 (func (export "type-first-i32") (result i32) 75 (func (export "type-first-i64") (result i64) 78 (func (export "type-first-f32") (result f32) 81 (func (export "type-first-f64") (result f64) 145 (func (export "type-first-i32") (result i32) 148 (func (export "type-first-i64") (result i64) 151 (func (export "type-first-f32") (result f32) 154 (func (export "type-first-f64") (result f64) 179 (assert_return (invoke "type-first-i32") (i32.const 32)) 180 (assert_return (invoke "type-first-i64") (i64.const 64)) [all …]
|
| /wasmtime-44.0.1/tests/misc_testsuite/winch/ |
| H A D | simd_multivalue.wast | 11 ;; test case where vector is neither the first return value nor the last return value 13 (func (export "not-first-nor-last") (param v128) (result i64 v128 i64) 19 (assert_return (invoke "not-first-nor-last" (v128.const i32x4 1 2 3 4)) (i64.const 0) (v128.const i…
|
| H A D | select.wast | 20 (func (export "as-select-first") (param i32) (result i32) 30 (func (export "as-loop-first") (param i32) (result i32) 40 (func (export "as-br_table-first") (param i32) (result i32) 57 (func (export "as-br_if-first") (param i32) (result i32) 118 (func (export "as-store-first") (param i32) 161 (assert_return (invoke "as-loop-first" (i32.const 0)) (i32.const 3)) 162 (assert_return (invoke "as-loop-first" (i32.const 1)) (i32.const 2)) 175 (assert_return (invoke "as-br_if-first" (i32.const 0)) (i32.const 3)) 176 (assert_return (invoke "as-br_if-first" (i32.const 1)) (i32.const 2)) 211 (assert_return (invoke "as-store-first" (i32.const 0))) [all …]
|
| H A D | global.wast | 42 (func (export "as-loop-first") (result i32) 75 (func (export "as-br_if-first") (result i32) 88 (func (export "as-br_table-first") (result i32) 142 (func (export "as-store-first") 170 (assert_return (invoke "as-loop-first") (i32.const 6)) 178 (assert_return (invoke "as-br_if-first") (i32.const 6)) 204 (assert_return (invoke "as-br_table-first") (i32.const 6)) 207 (assert_return (invoke "as-store-first"))
|
| H A D | ref-types-basic.wast | 38 (func (export "select-null-first") (param $c i32) (result funcref) 80 (assert_return (invoke "select-null-first" (i32.const 1)) (ref.null func)) 81 (assert_return (invoke "select-null-first" (i32.const 0)) (ref.func 1))
|
| H A D | br_table.wast | 833 (func (export "as-block-first") 848 (func (export "as-loop-first") (result i32) 932 (func (export "as-select-first") (param i32 i32) (result i32) 955 (func (export "as-call-first") (result i32) 1238 (assert_return (invoke "as-block-first")) 1243 (assert_return (invoke "as-loop-first") (i32.const 3)) 1265 (assert_return (invoke "as-select-first" (i32.const 0) (i32.const 6)) (i32.const 5)) 1266 (assert_return (invoke "as-select-first" (i32.const 1) (i32.const 6)) (i32.const 5)) 1271 (assert_return (invoke "as-call-first") (i32.const 12))
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | exception_table.rs | 265 let mut first = true; in fmt() localVariable 267 if first { in fmt() 269 first = false; in fmt() 285 let space = if first { "" } else { " " }; in fmt()
|
| H A D | jumptable.rs | 40 *self.table.first().unwrap() in default_block() 101 if let Some((first, rest)) = self.jt.as_slice().split_first() { in fmt() 102 write!(fmt, "{}", first.display(self.pool))?; in fmt()
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/runtests/ |
| H A D | return-call-loop.clif | 24 ;; current SP and the first loop iteration's SP. 31 ;; our first iteration, grab the initial SP. 57 ;; current SP and the first loop iteration's SP. 64 ;; our first iteration, grab the initial SP. 90 ;; current SP and the first loop iteration's SP. 96 ;; Another iteration of the loop. If this was our first iteration, grab the
|
| /wasmtime-44.0.1/examples/ |
| H A D | linking2.wat | 12 ;; store the pointer in the first iovec field 17 ;; store the length in the first iovec field
|
| /wasmtime-44.0.1/benches/wasi/ |
| H A D | read-dir.wat | 15 ;; The fd of the preopened directory; the first three are the 23 ;; directory; here we start at the first entry.
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | runone.rs | 193 let mut first = true; in update_at() localVariable 195 if first && !line.starts_with("function") { in update_at() 203 first = false; in update_at()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/ |
| H A D | abi.rs | 1192 let first = clobbered_gpr.first().unwrap().to_reg().hw_enc(); in get_clobbered_gprs() localVariable 1194 debug_assert!(clobbered_gpr.iter().all(|r| r.to_reg().hw_enc() >= first)); in get_clobbered_gprs() 1200 let first = core::cmp::max(first, 6); in get_clobbered_gprs() localVariable 1202 Some((first, last)) in get_clobbered_gprs() 1231 && clobbered_gpr.map_or(false, |(first, _)| { 1232 SImm20::maybe_from_i64(8 * first as i64 + stack_size as i64).is_some() 1241 if let Some((first, mut last)) = clobbered_gpr { 1244 let mut offset = callee_pop_size as i64 + 8 * first as i64; 1254 writable_gpr(first), 1258 reg = gpr(first); [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/lower/ |
| H A D | isle.rs | 352 let (mut running_value, op, first) = in load_constant_full() 359 let first = (0..(size.bits() / 16)) in load_constant_full() localVariable 365 (replace(base, get(value, first), first), op, first) in load_constant_full() 381 MoveWideOp::MovZ => get(value, first), in load_constant_full() 382 MoveWideOp::MovN => !get(value, first), in load_constant_full() 384 shift: first, in load_constant_full() 391 for shift in (first + 1)..(size.bits() / 16) { in load_constant_full()
|
| /wasmtime-44.0.1/crates/c-api/tests/component/ |
| H A D | types.cc | 40 EXPECT_EQ(i.first, "x"); in TEST() 47 EXPECT_EQ(e.first, "x"); in TEST() 67 EXPECT_EQ("t", ty.export_nth(engine, 0)->first); in TEST() 98 EXPECT_EQ(ty.param_nth(0)->first, "x"); in TEST()
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | strings.wast | 34 (then (i32.const 2)) ;; first allocation aligned 84 (then (i32.const 2)) ;; first allocation aligned 133 (then (i32.const 2)) ;; first allocation aligned 184 (then (i32.const 2)) ;; first allocation aligned 226 ;; - first realloc fails to hold latin1 241 ;; first allocation is aligned 310 ;; - first realloc fails to hold latin1 324 ;; first allocation is aligned
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | dbg.rs | 19 Some((first, rest)) => { in fmt()
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/egraph/ |
| H A D | issue-7891.clif | 18 ; pass without getting key parts transformed away by other optimizations first: 31 ; - The block which the egraph pass examines first uses a value that is only 35 ; By doing all that, we create an opportunity where the first block could produce
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/verifier/ |
| H A D | undeclared_vmctx.clif | 3 ; Using a vmctx global value without declaring it first leads to an error.
|
| /wasmtime-44.0.1/tests/disas/winch/x64/unreachable/ |
| H A D | as_block_first.wat | 4 (func (export "as-block-first") (result i32)
|
| H A D | as_loop_first.wat | 6 (func (export "as-loop-first") (result i32)
|