about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2025-06-29mir: Add a `new` method to `statement`dianqk-1/+1
2025-05-27coverage: Revert "unused local file IDs" due to empty function namesZalathar-36/+2
2025-05-10coverage: Enlarge empty spans during MIR instrumentation, not codegenZalathar-2/+36
2025-05-06coverage: Handle hole spans without dividing spans into bucketsZalathar-59/+33
2025-05-06coverage: Only merge adjacent coverage spansZalathar-34/+26
2025-04-26Auto merge of #140288 - Zalathar:new-executor, r=jieyouxubors-1/+1
2025-04-25Trivial compiler change to inhibit download-rustc in CIZalathar-1/+1
2025-04-24Trivial compiler change to inhibit download-rustc in CIZalathar-2/+1
2025-04-01coverage: Don't split bang-macro spans, just truncate themZalathar-32/+15
2025-04-01coverage: Instead of splitting, just discard any span that overlaps a holeZalathar-46/+16
2025-04-01coverage: Shrink call spans to just the function nameZalathar-11/+7
2025-03-21coverage: Defer the filtering of hole spansZalathar-15/+15
2025-03-21coverage: Separate span-extraction from unexpansionZalathar-75/+66
2025-03-18coverage: Don't store a body span in `FunctionCoverageInfo`Zalathar-1/+0
2025-02-24Auto merge of #135726 - jdonszelmann:attr-parsing, r=oli-obkbors-1/+1
2025-02-24Change span field accesses to method callsJana Dönszelmann-1/+1
2025-02-24Rollup merge of #136610 - Jarcho:range_idx, r=NoratriebJacob Pratt-2/+2
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-6/+3
2025-02-21Allow SliceIndex to be indexed by ranges.Jason Newcomb-2/+2
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