about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2025-02-19coverage: Make `HolesVisitor::visit_hole_span` a regular methodZalathar-18/+18
2025-02-19coverage: Get hole spans from nested items without fully visiting themZalathar-8/+9
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-5/+4
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-13coverage: Eliminate more counters by giving them to unreachable nodesZalathar-11/+16
2025-02-10Rollup merge of #136053 - Zalathar:defer-counters, r=saethlinJubilee-365/+116
2025-02-08Rustfmtbjorn3-28/+27
2025-02-06coverage: Remove the old code for simplifying counters after MIR optsZalathar-133/+6
2025-02-06coverage: Don't create counters for code that was removed by MIR optsZalathar-13/+19
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-214/+108
2025-02-06coverage: Store BCB node IDs in mappings, and resolve them in codegenZalathar-44/+22
2025-02-03Remove hook calling via `TyCtxtAt`.Nicholas Nethercote-3/+1
2025-01-26Incorporate `iter_nodes` into `graph::DirectedGraph`Zalathar-21/+0
2025-01-25Auto merge of #128657 - clubby789:optimize-none, r=fee1-dead,WaffleLapkinbors-0/+4
2025-01-24coverage: Treat the "merged node flow graph" as a plain data structZalathar-83/+89
2025-01-24coverage: Replace `FrozenUnionFind` with a plain IndexVecZalathar-31/+11
2025-01-24coverage: Simplify how counter terms are storedZalathar-30/+20
2025-01-24coverage: Make query `coverage_ids_info` return an OptionZalathar-9/+3
2025-01-24coverage: Remove some dead code from MC/DC branch mapping conversionZalathar-19/+13
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+4
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
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-95/+91
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-35/+16
2025-01-16coverage: Make `yank_to_spantree_root` iterative instead of recursiveZalathar-19/+35
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-632/+723
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-26/+29
2025-01-10remove more redundant into() conversionsMatthias Krüger-3/+2
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