about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2024-05-06coverage: Destructure the mappings struct to make sure we don't miss anyZalathar-4/+13
2024-05-06coverage: Don't recompute the number of test vector bitmap bytesZalathar-33/+12
2024-05-06coverage: Make the special case for async functions exit earlyZalathar-18/+21
2024-05-06coverage: Separately compute the set of BCBs with counter mappingsZalathar-46/+59
2024-05-04coverage: Rename `BcbBranchPair` to `mappings::BranchPair`Zalathar-7/+7
2024-05-04coverage: Flatten `BcbMappingKind` into `mappings::CodeMapping`Zalathar-32/+20
2024-05-04coverage: Extract helper `region_for_span`Zalathar-4/+5
2024-05-04coverage: Split out MC/DC branches from `BcbMappingKind`Zalathar-80/+72
2024-05-04coverage: Split out MC/DC decisions from `BcbMappingKind`Zalathar-51/+71
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-3/+3
2024-04-30coverage: Split off `mappings.rs` from `spans.rs` and `from_mir.rs`Zalathar-275/+283
2024-04-30coverage: Prepare to split `spans.rs` into two filesZalathar-26/+30
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-0/+11
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-24/+46
2024-04-22coverage: Separate branch pairs from other mapping kindsZalathar-25/+44
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-23/+77
2024-04-20coverage. Lowering MC/DC statements to llvm-irzhuyunxing-1/+11
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-22/+160
2024-04-15Rollup merge of #123934 - WaffleLapkin:graph-mini-refactor, r=fmease许杰友 Jieyou Xu (Joe)-24/+9
2024-04-15Use RPITIT for `Successors` and `Predecessors` traitsMaybe Waffle-6/+2
2024-04-14Rename `WithNumEdges` => `NumEdges` and `WithStartNode` => `StartNode`Maybe Waffle-2/+2
2024-04-14Merge `{With,Graph}{Successors,Predecessors}` into `{Successors,Predecessors}`Maybe Waffle-17/+8
2024-04-14Merge `WithNumNodes` into DirectedGraphMaybe Waffle-6/+4
2024-04-04coverage: Remove useless constantsZalathar-1/+1
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-2/+5
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-31/+20
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-03-18Deduplicate `associated_body` and `body_id`Oli Scherer-3/+1
2024-03-17some minor code simplificationsMatthias Krüger-3/+2
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-3/+68
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+5
2024-03-13coverage: Make `is_eligible_for_coverage` a hook methodZalathar-38/+41
2024-03-13Allow `rustc_mir_transform` to register hook providersZalathar-3/+3
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-7/+16
2024-02-23Rollup merge of #121492 - Zalathar:hole, r=fmeaseMatthias Krüger-65/+62
2024-02-23coverage: Rename `is_closure` to `is_hole`Zalathar-60/+59
2024-02-23coverage: Remove some lingering references to `pending_dups`Zalathar-6/+4
2024-02-23coverage: Use variable name `this` in `CoverageGraph::from_mir`Zalathar-7/+6
2024-02-21coverage: Simplify (non-closure) covspans truncating each otherZalathar-7/+7
2024-02-21coverage: Remove `pending_dups` from the span refinerZalathar-164/+16
2024-02-21coverage: Eagerly deduplicate covspans with the same spanZalathar-5/+10
2024-02-16coverage: Discard spans that fill the entire function bodyZalathar-4/+9
2024-02-13coverage: Simplify code for adding `prev` to pending dupsZalathar-40/+12
2024-02-13coverage: Move `prev_original_span` into `PrevCovspan`Zalathar-19/+11
2024-02-13coverage: Split `CoverageSpan` into several distinct structsZalathar-83/+139
2024-02-13coverage: Don't track `curr_original_span` explicitlyZalathar-11/+2
2024-02-13coverage: When merging spans, keep `prev` and merge `curr` into itZalathar-9/+3
2024-02-11is_closure_likeMichael Goulet-2/+2
2024-02-07Rollup merge of #120564 - Zalathar:increment-site, r=oli-obkGuillaume Boisseau-80/+79