about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
AgeCommit message (Expand)AuthorLines
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
2024-03-20coverage: Remove incorrect assertions from counter allocationZalathar-31/+0
2024-02-02coverage: Split out counter increment sites from BCB node/edge countersZalathar-31/+39
2023-12-30coverage: Make `coverage_counters` a local variableZalathar-15/+15
2023-12-29coverage: Avoid a possible query stability hazard in `CoverageCounters`Zalathar-3/+6
2023-11-25coverage: Eliminate `BcbBranch`Zalathar-65/+69
2023-11-25coverage: Extract `CoverageGraph::bcb_has_multiple_in_edges`Zalathar-8/+1
2023-11-25coverage: Simplify building coverage expressions based on sumsZalathar-71/+54
2023-11-25coverage: Use `BcbCounter` to build coverage expressionsZalathar-19/+16
2023-11-25coverage: Push down creation of a visited node's counterZalathar-6/+7
2023-11-25coverage: Push down and inline `bcb_needs_branch_counters`Zalathar-9/+10
2023-11-25coverage: Rename parameter `branching_bcb` to `from_bcb`Zalathar-9/+7
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-10-31coverage: Replace impossible `coverage::Error` with assertionsZalathar-47/+30
2023-10-31coverage: Promote some debug-only checks to always runZalathar-12/+12
2023-10-30coverage: Use a tracing span to group the parts of a sum-up expressionZalathar-1/+4
2023-10-30coverage: Inline the "recursive" worker methods for assigning countersZalathar-21/+5
2023-10-30coverage: Replace manual debug indents with nested tracing spansZalathar-65/+19