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.
  • Iterator that visits nodes in the coverage graph, in an order that always prefers โ€œreadyโ€ nodes whose predecessors have already been visited.

Enumsยง

  • ReadyState ๐Ÿ”’
    State of a node in the coverage graph during ready-first traversal.

Constantsยง

Functionsยง