Home
last modified time | relevance | path

Searched refs:Loop (Results 1 – 25 of 30) sorted by relevance

12

/wasmtime-44.0.1/cranelift/codegen/src/
H A Dloop_analysis.rs17 pub struct Loop(u32); struct
18 entity_impl!(Loop, "loop");
25 loops: PrimaryMap<Loop, LoopData>,
26 block_loop_map: SecondaryMap<Block, PackedOption<Loop>>,
32 parent: PackedOption<Loop>,
79 pub fn new(header: Block, parent: Option<Loop>) -> Self { in new()
101 pub fn loops(&self) -> Keys<Loop> { in loops() argument
109 pub fn loop_header(&self, lp: Loop) -> Block { in loop_header()
114 pub fn loop_parent(&self, lp: Loop) -> Option<Loop> { in loop_parent() argument
144 pub fn is_child_loop(&self, child: Loop, parent: Loop) -> bool { in is_child_loop() argument
[all …]
/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dstack.rs84 Loop { enumerator
103 | Self::Loop { in num_return_values()
117 | Self::Loop { in num_param_values()
127 | Self::Loop { destination, .. } => destination, in following_code()
134 Self::Loop { header, .. } => header, in br_destination()
150 | Self::Loop { in original_stack_size()
160 Self::Loop { .. } => true, in is_loop()
174 Self::Loop { .. } => false, in exit_is_branched_to()
188 Self::Loop { .. } => {} in set_branched_to_exit()
493 self.control_stack.push(ControlStackFrame::Loop { in push_loop()
H A Dcode_translator.rs268 Operator::Loop { blockty } => { in translate_operator()
447 if let ControlStackFrame::Loop { header, .. } = frame { in translate_operator()
3344 Operator::Loop { blockty: _ } in translate_unreachable_operator()
3424 ControlStackFrame::Loop { header, .. } => { in translate_unreachable_operator()
/wasmtime-44.0.1/cranelift/filetests/filetests/runtests/
H A Dreturn-call-loop.clif15 ;;;; Tail-Recursive Loop ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
23 ;; Loop counter reached zero, we're done iterating. Return a comparison of the
48 ;;;; Tail-Recursive Loop With Stack Arguments ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
56 ;; Loop counter reached zero, we're done iterating. Return a comparison of the
81 ;;;; Mutually-Recursive Loop With Different #s of Stack Arguments ;;;;;;;;;;;;;;
89 ;; Loop counter reached zero, we're done iterating. Return a comparison of the
122 ;;;; Indirect Return-Call Loop ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
/wasmtime-44.0.1/winch/codegen/src/codegen/
H A Dcontrol.rs248 Loop { enumerator
300 let mut control = Self::Loop {
475 Loop { head, .. } => { in emit()
574 Loop { stack_state, .. } => { in emit_end()
619 Loop { head, .. } => head, in label()
631 Loop { .. } => None, in exit_label()
657 Loop { sig, .. } => sig.params::<M>(), in results()
668 If { sig, .. } | Else { sig, .. } | Block { sig, .. } | Loop { sig, .. } => { in params()
1036 Loop { .. } => false, in is_next_sequence_reachable()
1047 | Loop { stack_state, .. } => stack_state, in stack_state()
[all …]
H A Dmod.rs378 If { .. } | Block { .. } | Loop { .. } | Else | End => true, in emit_body()
1352 | Operator::Loop { .. } in fuel_before_visit_op()
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dserialize.rs93 Loop { enumerator
199 Loop(BindingId), enumerator
222 HasControlFlow::Loop(binding_id) => rule.iterators.contains(&binding_id), in partition()
619 HasControlFlow::Loop(source) => { in make_control_flow()
645 ControlFlow::Loop { result, body } in make_control_flow()
667 Candidate::new(HasControlFlow::Loop(source)), in set_ready()
694 HasControlFlow::Loop(source) => source, in best_control_flow()
H A Dcodegen.rs565 .any(|c| matches!(c.check, ControlFlow::Loop { .. })) in validate_block()
589 ControlFlow::Loop { body, .. } => Codegen::block_weight(body), in block_weight()
724 ControlFlow::Loop { result, body } => { in emit_block_contents()
/wasmtime-44.0.1/crates/environ/src/
H A Dtunables.rs374 | Operator::Loop { .. } in default_operator_cost()
400 (Loop) => {
/wasmtime-44.0.1/crates/wasi/src/p3/filesystem/
H A Dmod.rs104 crate::filesystem::ErrorCode::Loop => Self::Loop, in from()
/wasmtime-44.0.1/crates/wasi-common/src/snapshots/preview_1/
H A Derror.rs97 RustixErrno::LOOP => Errno::Loop.into(), in from_raw_os_error()
165 Some(Foundation::ERROR_STOPPED_ON_SYMLINK) => return Some(Errno::Loop.into()), in from_raw_os_error()
180 Some(WinSock::WSAELOOP) => Some(Errno::Loop.into()), in from_raw_os_error()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dfilesystem.rs30 crate::filesystem::ErrorCode::Loop => Self::Loop, in from()
/wasmtime-44.0.1/crates/wasi/src/p2/host/filesystem/
H A Dsync.rs344 ErrorCode::Loop => Self::Loop, in from()
/wasmtime-44.0.1/cranelift/codegen/src/egraph/
H A Delaborate.rs11 use crate::loop_analysis::{Loop, LoopAnalysis};
105 lp: Loop,
/wasmtime-44.0.1/crates/wasi/src/
H A Dfilesystem.rs208 Loop, enumerator
378 RustixErrno::LOOP => ErrorCode::Loop, in from_raw_os_error()
418 Some(Foundation::ERROR_STOPPED_ON_SYMLINK) => ErrorCode::Loop, in from_raw_os_error()
H A Dp1.rs443 return Err(types::Errno::Loop.into()); in unused()
1048 crate::filesystem::ErrorCode::Loop => types::Errno::Loop, in from()
1083 filesystem::ErrorCode::Loop => types::Errno::Loop, in from()
H A Dp0.rs709 Loop,
/wasmtime-44.0.1/crates/wasi/src/p2/host/
H A Dfilesystem.rs648 RustixErrno::LOOP => ErrorCode::Loop, in from_raw_os_error()
689 Some(Foundation::ERROR_STOPPED_ON_SYMLINK) => ErrorCode::Loop, in from_raw_os_error()
/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dops.rs347 func.instruction(&Instruction::Loop(wasm_encoder::BlockType::Empty)); in to_wasm_binary()
/wasmtime-44.0.1/crates/wasi-common/src/snapshots/
H A Dpreview_0.rs164 Loop,
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/
H A Dmod.rs238 | Inst::Loop { .. } in available_in_isa()
1036 Inst::Loop { body, .. } => { in s390x_get_operands()
3520 &Inst::Loop { ref body, cond } => { in print_with_state()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dinst.isle1016 (Loop
1020 ;; Conditional branch breaking out of a loop emitted via Loop.
2855 ;; Completed instruction sequence for use in MInst.Loop.
2937 ;; Emit a `MInst.Loop` instruction holding a loop body instruction sequence.
2940 (emit (MInst.Loop (inst_builder_finish ib) cond)))
H A Dlower.isle3393 ;; Loop bodies for atomic read-modify-write operations.
3397 ;; Loop bodies for 32-/64-bit atomic XCHG operations.
3406 ;; Loop bodies for 32-/64-bit atomic NAND operations.
3425 ;; Loop bodies for 8-/16-bit atomic bit operations.
3467 ;; Loop bodies for atomic ADD/SUB operations.
3505 ;; Loop bodies for atomic MIN/MAX operations.
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs2649 self.instruction(Loop(BlockType::Empty)); in begin_translate_sequence()
3215 self.instruction(Loop(BlockType::Empty)); in translate_fixed_length_list()
/wasmtime-44.0.1/cranelift/docs/
H A Dir.md67 brif v12, block3(v11), block4 ; Loop backedge.

12