about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-21coverage: Simplify the injection of coverage statementsZalathar-13/+13
2023-10-18coverage: Store expression data in function coverage infoZalathar-33/+14
2023-10-18coverage: Rename `Operand` to `CovTerm`Zalathar-20/+20
2023-10-18coverage: Store the number of counters/expressions in function coverage infoZalathar-0/+8
2023-10-12coverage: Store a graph reference in the graph traversal structZalathar-5/+5
2023-10-12coverage: Simplify the detection of reloop edges to be given expressionsZalathar-78/+43
2023-10-03coverage: Remove `next_id` methods from counter/expression IDsZalathar-2/+2
2023-10-03coverage: Remove code for making expression copies of BCB countersZalathar-4/+0
2023-10-03coverage: Update comments/logs that referred to `CoverageSpan`Zalathar-5/+5
2023-10-03coverage: Encapsulate coverage spansZalathar-12/+7
2023-09-20coverage: Remove vestigial counter/expression debug labelsZalathar-22/+5
2023-09-20coverage: Remove vestigial `format_counter` methodsZalathar-24/+16
2023-09-20coverage: Remove debug code from the instrumentorZalathar-33/+9
2023-08-20coverage: Don't store `function_source_hash` in `BcbCounter::Counter`Zalathar-8/+3
2023-08-20coverage: Give the instrumentor its own counter type, separate from MIRZalathar-19/+61
2023-08-13Store BCB counters externally, not directly in the BCB graphZalathar-27/+125
2023-08-13Accumulate intermediate expressions into `CoverageCounters`Zalathar-50/+23
2023-08-13Rename helper struct `BcbCounters` to `MakeBcbCounters`Zalathar-4/+3
2023-08-01Make coverage counter IDs count up from 0, not 1Zalathar-5/+5
2023-08-01Make coverage expression IDs count up from 0, not down from `u32::MAX`Zalathar-11/+8
2023-08-01Replace `ExpressionOperandId` with enum `Operand`Zalathar-13/+13
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-4/+4
2023-01-21Consistently use dominates instead of is_dominated_byTomasz Miąsko-3/+3
2022-06-03Replace `&Vec<_>`s with `&[_]`sMaybe Waffle-4/+4
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-0/+614