pub struct LoopCanonicalizeStats {
pub preheaders_inserted: usize,
pub header_phis_rewritten: usize,
pub preheader_phis_inserted: usize,
}Expand description
Statistics from loop canonicalization.
Fields§
§preheaders_inserted: usizeNumber of preheader blocks inserted.
header_phis_rewritten: usizeNumber of header phi nodes rewritten to use a preheader incoming value.
preheader_phis_inserted: usizeNumber of new preheader phi nodes inserted.
Implementations§
Trait Implementations§
Source§impl Clone for LoopCanonicalizeStats
impl Clone for LoopCanonicalizeStats
Source§fn clone(&self) -> LoopCanonicalizeStats
fn clone(&self) -> LoopCanonicalizeStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopCanonicalizeStats
impl Debug for LoopCanonicalizeStats
Source§impl Default for LoopCanonicalizeStats
impl Default for LoopCanonicalizeStats
Source§fn default() -> LoopCanonicalizeStats
fn default() -> LoopCanonicalizeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoopCanonicalizeStats
impl RefUnwindSafe for LoopCanonicalizeStats
impl Send for LoopCanonicalizeStats
impl Sync for LoopCanonicalizeStats
impl Unpin for LoopCanonicalizeStats
impl UnsafeUnpin for LoopCanonicalizeStats
impl UnwindSafe for LoopCanonicalizeStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more