11 lines
449 B
Rust
11 lines
449 B
Rust
|
|
//! Pattern lowerers for different loop constructs
|
||
|
|
//!
|
||
|
|
//! Phase 2: Extracted from control_flow.rs
|
||
|
|
//! - Pattern 1: Simple While Loop (pattern1_minimal.rs)
|
||
|
|
//! - Pattern 2: Loop with Conditional Break (pattern2_with_break.rs)
|
||
|
|
//! - Pattern 3: Loop with If-Else PHI (pattern3_with_if_phi.rs)
|
||
|
|
|
||
|
|
pub(in crate::mir::builder) mod pattern1_minimal;
|
||
|
|
pub(in crate::mir::builder) mod pattern2_with_break;
|
||
|
|
pub(in crate::mir::builder) mod pattern3_with_if_phi;
|