rustc_mir_transform::coverage

Module graph

Source

Structsยง

  • BasicCoverageBlock ๐Ÿ”’
    A node in the control-flow graph of CoverageGraph.
  • BasicCoverageBlockData holds the data indexed by a BasicCoverageBlock.
  • CoverageGraph ๐Ÿ”’
    A coverage-specific simplification of the MIR control flow graph (CFG). The CoverageGraphs nodes are BasicCoverageBlocks, which encompass one or more MIR BasicBlocks.
  • Wrapper around a mir::BasicBlocks graph that restricts each nodeโ€™s successors to only the ones considered โ€œrelevantโ€ when building a coverage graph.
  • CoverageSuccessors ๐Ÿ”’
    Holds the coverage-relevant successors of a basic blockโ€™s terminator, and indicates whether that block can potentially be combined into the same BCB as its sole successor.
  • TraversalContext ๐Ÿ”’
    Maintains separate worklists for each loop in the BasicCoverageBlock CFG, plus one for the CoverageGraph outside all loops. This supports traversing the BCB CFG in a way that ensures a loop is completely traversed before processing Blocks after the end of the loop.

Constantsยง

Functionsยง