pub struct DceStats {
pub lets_eliminated: usize,
pub alts_eliminated: usize,
pub constants_propagated: usize,
pub copies_propagated: usize,
pub functions_eliminated: usize,
pub iterations: usize,
}Expand description
Accumulated statistics for a DCE run.
Fields§
§lets_eliminated: usizeNumber of dead let-bindings removed.
alts_eliminated: usizeNumber of unreachable case alternatives removed.
constants_propagated: usizeNumber of constant values propagated (and let removed).
copies_propagated: usizeNumber of copy bindings propagated (and let removed).
functions_eliminated: usizeNumber of unreachable function declarations removed.
iterations: usizeTotal number of fixed-point iterations executed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DceStats
impl RefUnwindSafe for DceStats
impl Send for DceStats
impl Sync for DceStats
impl Unpin for DceStats
impl UnsafeUnpin for DceStats
impl UnwindSafe for DceStats
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