summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2024-12-20coverage: Rename `basic_coverage_blocks` to just `graph`Zalathar-93/+61
2024-12-19coverage: Store coverage source regions as `Span` until codegenZalathar-150/+18
2024-12-10Rollup merge of #134029 - Zalathar:zero, r=oli-obkLeón Orell Valerian Liehr-5/+102
2024-12-08coverage: Use a query to find counters/expressions that must be zeroZalathar-4/+101
2024-12-08coverage: Move `CoverageIdsInfo` into `mir::coverage`Zalathar-2/+2
2024-12-07coverage: Prefer to visit nodes whose predecessors have been visitedZalathar-146/+125
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/+170
2024-12-04coverage: Use a single `make_phys_counter` methodZalathar-19/+4
2024-12-04coverage: Rename `CounterIncrementSite` to just `Site`Zalathar-13/+14
2024-12-04coverage: Extract `subtracted_sum` in counter creationZalathar-8/+8
2024-11-30coverage: Use a query to identify which counter/expression IDs are usedZalathar-9/+38
2024-11-29Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu"Zalathar-18/+148
2024-11-24coverage: Store coverage source regions as `Span` until codegenZalathar-148/+18
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-0/+1
2024-11-10Rollup merge of #132675 - Zalathar:empty-spans, r=jieyouxuMatthias Krüger-50/+50
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-28/+42
2024-11-08coverage: Remove unhelpful code for handling multiple files per functionZalathar-21/+7
2024-11-08coverage: Pass `ExtractedHirInfo` to `make_source_region`Zalathar-4/+4
2024-11-01coverage: Simplify logic for chaining multiple blocks into one BCBZalathar-26/+22
2024-10-31coverage: Use a standard depth-first search on a custom subgraphZalathar-29/+31
2024-10-31coverage: Make `CoverageSuccessors` a structZalathar-44/+27
2024-10-26coverage: Don't rely on the custom traversal to find enclosing loopsZalathar-63/+85
2024-10-23fix a couple clippy:complexitysMatthias Krüger-2/+2
2024-10-22Rollup merge of #132022 - Zalathar:dominator-order, r=tmiaskoMatthias Krüger-2/+23
2024-10-22Move `cmp_in_dominator_order` out of graph dominator computationZalathar-2/+23
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-18Dont ICE when computing coverage of synthetic async closure bodyMichael Goulet-0/+5
2024-10-08coverage. Warn about too many test vectorszhuyunxing-1/+7
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-115/+274
2024-10-06coverage: Store `bcb_needs_counter` in a field as a bitsetZalathar-8/+14
2024-10-06coverage: Have MakeBcbCounters own its CoverageCountersZalathar-13/+14
2024-10-06coverage: Make `BcbCounter` module-privateZalathar-10/+6
2024-10-03Avoid ICE in coverage builds with bad `#[coverage(..)]` attributesZalathar-1/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-21/+18
2024-09-15coverage: Remove unnecessary `bcb_successors`Zalathar-7/+1
2024-09-15coverage: Replace `bcb_has_multiple_in_edges` with `sole_predecessor`Zalathar-35/+30
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-13/+57
2024-09-15coverage: Streamline creation of physical edge countersZalathar-6/+17
2024-09-15coverage: Streamline creation of physical node countersZalathar-23/+19
2024-09-15coverage: Tweak comments in `graph`Zalathar-4/+4
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-10Rollup merge of #130184 - Zalathar:counters, r=compiler-errorsMatthias Krüger-132/+102
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