Module rustc_mir_transform::coverage::graph

source ยท


  • 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.
  • 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.


  • 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.



Opaque Typesยง

  •  ๐Ÿ”’