pub struct Loop {
pub header_block: usize,
pub body_blocks: Vec<usize>,
pub exit_blocks: Vec<usize>,
pub loop_type: LoopType,
pub induction_variables: Vec<String>,
pub is_natural: bool,
pub nesting_level: u32,
}
Expand description
Loop information for control flow analysis
Fields§
§header_block: usize
Loop header block ID
body_blocks: Vec<usize>
Loop body block IDs
exit_blocks: Vec<usize>
Loop exit block IDs
loop_type: LoopType
Loop type classification
induction_variables: Vec<String>
Induction variables (if detected)
is_natural: bool
Whether this is a natural loop
nesting_level: u32
Nesting level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnwindSafe for Loop
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more