about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
AgeCommit message (Expand)AuthorLines
2025-08-22Uplift rustc_mir_transform::coverage::counters::union_find to rustc_data_stru...Camille Gillot-1/+0
2025-02-24Rollup merge of #136610 - Jarcho:range_idx, r=NoratriebJacob Pratt-1/+1
2025-02-21Allow SliceIndex to be indexed by ranges.Jason Newcomb-1/+1
2025-02-13coverage: Eliminate more counters by giving them to unreachable nodesZalathar-6/+2
2025-02-06coverage: Remove the old code for simplifying counters after MIR optsZalathar-1/+1
2025-02-06coverage: Don't create counters for code that was removed by MIR optsZalathar-12/+14
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-49/+20
2025-02-06coverage: Store BCB node IDs in mappings, and resolve them in codegenZalathar-5/+1
2025-01-26Incorporate `iter_nodes` into `graph::DirectedGraph`Zalathar-2/+0
2025-01-24coverage: Treat the "merged node flow graph" as a plain data structZalathar-5/+7
2025-01-24coverage: Simplify how counter terms are storedZalathar-3/+3
2025-01-18coverage: Add a few more comments to counter creationZalathar-0/+15
2025-01-18coverage: Remove `BcbCounter` and `BcbExpression`Zalathar-64/+16
2025-01-18coverage: Flatten top-level counter creation into plain functionsZalathar-93/+90
2025-01-18coverage: Move `phys_counter_for_node` into `CoverageCounters`Zalathar-19/+18
2025-01-18coverage: Remove the `Site` enum now that we only instrument nodesZalathar-26/+13
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-376/+70
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-4/+7
2024-12-07coverage: Prefer to visit nodes whose predecessors have been visitedZalathar-13/+2
2024-12-04coverage: Remove the expression simplifier from `CoverageCounters`Zalathar-51/+4
2024-12-04coverage: Use a separate counter type during counter creationZalathar-73/+94
2024-12-04coverage: Add an extra "transcribe" step after counter creationZalathar-3/+129
2024-12-04coverage: Use a single `make_phys_counter` methodZalathar-19/+4
2024-12-04coverage: Rename `CounterIncrementSite` to just `Site`Zalathar-8/+9
2024-12-04coverage: Extract `subtracted_sum` in counter creationZalathar-8/+8
2024-10-26coverage: Don't rely on the custom traversal to find enclosing loopsZalathar-18/+13
2024-10-19coverage: Streamline several names of things in counter creationZalathar-85/+69
2024-10-19coverage: Make counter creation handle nodes/edges more uniformlyZalathar-48/+54
2024-10-06coverage: Store `bcb_needs_counter` in a field as a bitsetZalathar-6/+13
2024-10-06coverage: Have MakeBcbCounters own its CoverageCountersZalathar-13/+14
2024-10-06coverage: Make `BcbCounter` module-privateZalathar-4/+4
2024-09-15coverage: Remove unnecessary `bcb_successors`Zalathar-7/+1
2024-09-15coverage: Replace `bcb_has_multiple_in_edges` with `sole_predecessor`Zalathar-20/+21
2024-09-15coverage: Simplify choosing an out-edge to be given a counter expressionZalathar-69/+48
2024-09-15coverage: Track whether a node's count is the sum of its out-edgesZalathar-3/+9
2024-09-15coverage: Streamline creation of physical edge countersZalathar-6/+17
2024-09-15coverage: Streamline creation of physical node countersZalathar-23/+19
2024-09-12coverage: Simplify creation of sum countersZalathar-17/+13
2024-09-12coverage: Separate creation of edge counters from building their sumZalathar-28/+26
2024-09-10coverage: Avoid referring to "operands" in counter creationZalathar-8/+8
2024-09-10coverage: Avoid referring to out-edges as "branches"Zalathar-97/+80
2024-09-10coverage: Avoid referring to "coverage spans" in counter creationZalathar-28/+15
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-06-16coverage: Remove some old low-value unit tests for graph traversalZalathar-5/+0
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-0/+37
2024-05-14coverage: Memoize newly-created counter expressionsZalathar-3/+21
2024-05-14coverage: Store expression operands as `BcbCounter`Zalathar-4/+24
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-14Merge `WithNumNodes` into DirectedGraphMaybe Waffle-1/+1
2024-03-20coverage: Tidy imports in `rustc_mir_transform::coverage::counters`Zalathar-4/+4