pub(super) struct TraverseCoverageGraphWithLoops<'a> {
basic_coverage_blocks: &'a CoverageGraph,
backedges: IndexVec<BasicCoverageBlock, Vec<BasicCoverageBlock>>,
context_stack: Vec<TraversalContext>,
visited: BitSet<BasicCoverageBlock>,
}Fields§
§basic_coverage_blocks: &'a CoverageGraph§backedges: IndexVec<BasicCoverageBlock, Vec<BasicCoverageBlock>>§context_stack: Vec<TraversalContext>§visited: BitSet<BasicCoverageBlock>Implementations§
source§impl<'a> TraverseCoverageGraphWithLoops<'a>
impl<'a> TraverseCoverageGraphWithLoops<'a>
pub(super) fn new(basic_coverage_blocks: &'a CoverageGraph) -> Self
sourcepub(super) fn reloop_bcbs_per_loop(
&self
) -> impl Iterator<Item = &[BasicCoverageBlock]>
pub(super) fn reloop_bcbs_per_loop( &self ) -> impl Iterator<Item = &[BasicCoverageBlock]>
For each loop on the loop context stack (top-down), yields a list of BCBs within that loop that have an outgoing edge back to the loop header.
pub(super) fn next(&mut self) -> Option<BasicCoverageBlock>
pub fn add_successors_to_worklists(&mut self, bcb: BasicCoverageBlock)
pub fn is_complete(&self) -> bool
pub fn unvisited(&self) -> Vec<BasicCoverageBlock>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TraverseCoverageGraphWithLoops<'a>
impl<'a> Send for TraverseCoverageGraphWithLoops<'a>
impl<'a> Sync for TraverseCoverageGraphWithLoops<'a>
impl<'a> Unpin for TraverseCoverageGraphWithLoops<'a>
impl<'a> UnwindSafe for TraverseCoverageGraphWithLoops<'a>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 88 bytes