Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 59) sorted by relevance

123

/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/lower/
H A Disle.rs452 CondBrKind::Cond(*cond) in cond_br_cond()
504 match cond { in icmp_zero_cond()
515 match cond { in fcmp_zero_cond()
520 | &FloatCC::LessThan => Some(*cond), in fcmp_zero_cond()
526 match cond { in fcmp_zero_cond_not_eq()
533 match cond { in icmp_zero_cond_not_eq()
540 match cond { in float_cc_cmp_zero_to_vec_misc_op()
551 match cond { in int_cc_cmp_zero_to_vec_misc_op()
562 match cond { in float_cc_cmp_zero_to_vec_misc_op_swap()
573 match cond { in int_cc_cmp_zero_to_vec_misc_op_swap()
[all …]
/wasmtime-44.0.1/crates/fiber/src/
H A Dmiri.rs72 cond: Condvar, field
107 .cond in run()
142 cond: Condvar::new(), in new()
175 my_state.cond.notify_one(); in resume()
179 .cond in resume()
201 state.cond.notify_one(); in drop()
224 state.cond.notify_one(); in set_result()
231 .cond in block_until_notified()
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/load/
H A Dload_conditional.isle12 (spec (lhs cond x y)
13 (provide (= result (load_effect #x0000 (widthof (if cond x y)) (if cond x y)))))
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/store/
H A Dstore_switch.isle12 (spec (lhs cond val2 val3)
13 …ovide (= result (store_effect #x0000 (widthof (switch cond (true val2) (false val3))) (switch cond…
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dloop_analysis.rs321 let cond = func.dfg.append_block_param(block0, types::I32); in nested_loops_detection() localVariable
333 cur.ins().brif(cond, block1, &[], block3, &[]); in nested_loops_detection()
336 cur.ins().brif(cond, block0, &[], block4, &[]); in nested_loops_detection()
379 let cond = func.dfg.append_block_param(block0, types::I32); in complex_loop_detection() localVariable
385 cur.ins().brif(cond, block1, &[], block3, &[]); in complex_loop_detection()
391 cur.ins().brif(cond, block1, &[], block5, &[]); in complex_loop_detection()
397 cur.ins().brif(cond, block3, &[], block5, &[]); in complex_loop_detection()
400 cur.ins().brif(cond, block0, &[], block6, &[]); in complex_loop_detection()
H A Dflowgraph.rs233 let cond = func.dfg.append_block_param(block0, types::I32); in branches_and_jumps() localVariable
244 br_block0_block2_block1 = cur.ins().brif(cond, block2, &[], block1, &[]); in branches_and_jumps()
247 br_block1_block1_block2 = cur.ins().brif(cond, block1, &[], block2, &[]); in branches_and_jumps()
305 .brif(cond, block1, &[], ret_block, &[]); in branches_and_jumps()
H A Dwrite.rs426 IntCompare { cond, args, .. } => write!(w, " {} {}, {}", cond, args[0], args[1]), in write_operands()
427 IntCompareImm { cond, arg, imm, .. } => write!(w, " {} {}, {}", cond, arg, { in write_operands()
435 FloatCompare { cond, args, .. } => write!(w, " {} {}, {}", cond, args[0], args[1]), in write_operands()
/wasmtime-44.0.1/tests/misc_testsuite/winch/
H A Dbr_table.wast868 (func (export "as-br_if-cond")
877 (func (export "as-br_if-value-cond") (result i32)
904 (func (export "as-if-cond") (result i32)
946 (func (export "as-select-cond") (result i32)
1078 (func (export "nested-br_if-value-cond") (param i32) (result i32)
1249 (assert_return (invoke "as-br_if-cond"))
1251 (assert_return (invoke "as-br_if-value-cond") (i32.const 9))
1259 (assert_return (invoke "as-if-cond") (i32.const 2))
1269 (assert_return (invoke "as-select-cond") (i32.const 7))
1305 (assert_return (invoke "nested-br_if-value-cond" (i32.const 0)) (i32.const 9))
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/
H A Dmod.rs1770 let cond = cond.pretty_print_default(); in print_with_state() localVariable
1782 let cond = cond.pretty_print_default(); in print_with_state() localVariable
1794 let cond = cond.pretty_print_default(); in print_with_state() localVariable
2142 let cond = cond.pretty_print_default(); in print_with_state() localVariable
2148 let cond = cond.pretty_print_default(); in print_with_state() localVariable
2158 let cond = cond.pretty_print_default(); in print_with_state() localVariable
2168 let cond = cond.pretty_print_default(); in print_with_state() localVariable
3429 let cond = cond.pretty_print_default(); in print_with_state() localVariable
3437 let cond = cond.pretty_print_default(); in print_with_state() localVariable
3526 let cond = cond.pretty_print_default(); in print_with_state() localVariable
[all …]
H A Demit.rs2044 cond, in emit_with_alloc_consumer()
2064 cond, in emit_with_alloc_consumer()
2082 cond, in emit_with_alloc_consumer()
2128 &Inst::Loop { ref body, cond } => { in emit_with_alloc_consumer()
2140 &Inst::CondBreak { cond } => { in emit_with_alloc_consumer()
2352 &Inst::CMov32 { rd, cond, ri, rm } => { in emit_with_alloc_consumer()
2358 &Inst::CMov64 { rd, cond, ri, rm } => { in emit_with_alloc_consumer()
2467 &Inst::FpuCMov32 { rd, cond, ri, rm } => { in emit_with_alloc_consumer()
3119 &Inst::VecCMov { rd, cond, ri, rm } => { in emit_with_alloc_consumer()
3561 cond, in emit_with_alloc_consumer()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/
H A Dinst.isle208 (cond Cond)
215 (cond Cond)
222 (cond Cond))
227 (cond Cond))
235 (cond Cond))
243 (cond Cond))
504 (cond Cond))
511 (cond Cond))
2682 (rule (cset cond)
4839 (let ((cond Cond (cond_code cond))
[all …]
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dmacros.rs105 ($cond:expr $(,)?) => {
106 if !$cond {
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/
H A Demit.rs159 assert!(cond < (1 << 4)); in enc_cbr()
387 | (cond.bits() << 12) in enc_csel()
399 | (cond.bits() << 12) in enc_fcsel()
406 | cond.bits() << 12 in enc_ccmp()
415 | cond.bits() << 12 in enc_ccmp_imm()
1425 &Inst::CSet { rd, cond } => { in emit()
1428 &Inst::CSetm { rd, cond } => { in emit()
1436 cond, in emit()
1445 cond, in emit()
1587 cond, in emit()
[all …]
H A Dmod.rs1493 let cond = cond.pretty_print(0); in print_with_state() localVariable
1500 let cond = cond.pretty_print(0); in print_with_state() localVariable
1505 let cond = cond.pretty_print(0); in print_with_state() localVariable
1510 let cond = cond.pretty_print(0); in print_with_state() localVariable
1518 cond, in print_with_state()
1523 let cond = cond.pretty_print(0); in print_with_state() localVariable
1536 let cond = cond.pretty_print(0); in print_with_state() localVariable
1945 let cond = cond.pretty_print(0); in print_with_state() localVariable
1952 let cond = cond.pretty_print(0); in print_with_state() localVariable
1959 let cond = cond.pretty_print(0); in print_with_state() localVariable
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/
H A Demit.rs131 Inst::TrapIf { cond, code } => { in pulley_emit()
136 cond: cond.clone(), in pulley_emit()
333 cond, in pulley_emit()
341 cond.invert().encode(&mut inverted, 0); in pulley_emit()
344 cond.invert() in pulley_emit()
356 patch_pc_rel_offset(sink, |sink| cond.encode(sink, 0)); in pulley_emit()
H A Dmod.rs137 Inst::TrapIf { cond, code: _ } => { in pulley_get_operands()
138 cond.get_operands(collector); in pulley_get_operands()
257 cond, in pulley_get_operands()
261 cond.get_operands(collector); in pulley_get_operands()
686 Inst::TrapIf { cond, code } => { in print_with_state()
748 cond, in print_with_state()
/wasmtime-44.0.1/cranelift/codegen/src/legalizer/
H A Dmod.rs158 cond, in simple_legalize()
161 } => expand_icmp_imm(func, inst, cond, arg, imm), in simple_legalize()
206 cond: ir::condcodes::IntCC, in expand_icmp_imm()
214 pos.func.dfg.replace(inst).icmp(cond, arg, imm); in expand_icmp_imm()
/wasmtime-44.0.1/tests/disas/winch/x64/br/
H A Das_br_if_cond.wat4 (func (export "as-br_if-cond")
H A Das_if_cond.wat4 (func (export "as-if-cond") (result i32)
/wasmtime-44.0.1/tests/disas/winch/x64/unreachable/
H A Das_br_if_cond.wat5 (func (export "as-br_if-cond")
H A Das_if_cond.wat5 (func (export "as-if-cond") (result i32)
/wasmtime-44.0.1/tests/disas/
H A Dpr2303.wat5 (func (export "runif") (param $cond i32)
10 (local.get $cond)
/wasmtime-44.0.1/tests/disas/winch/x64/br_if/
H A Das_br_if_cond.wat4 (func (export "as-br-if-cond")
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dinst.isle198 (cond Cond)
207 (cond Cond)
216 (cond Cond)
468 (cond Cond)
475 (cond Cond)
482 (cond Cond)
489 (cond Cond)
506 (cond Cond)
513 (cond Cond)
784 (cond Cond)
[all …]
/wasmtime-44.0.1/cranelift/frontend/src/
H A Dswitch.rs281 fn icmp_imm_u128(bx: &mut FunctionBuilder, cond: IntCC, x: Value, y: u128) -> Value { in icmp_imm_u128()
284 bx.ins().icmp_imm(cond, x, y as i64) in icmp_imm_u128()
286 bx.ins().icmp_imm(cond, x, index) in icmp_imm_u128()
292 bx.ins().icmp(cond, x, index) in icmp_imm_u128()

123