about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2024-06-18Rollup merge of #126587 - Zalathar:no-mir-spans, r=oli-obkGuillaume Gomez-16/+25
2024-06-17Rollup merge of #126567 - compiler-errors:instance-kind, r=oli-obk,lcnrMatthias Krüger-1/+1
2024-06-17coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`Zalathar-16/+25
2024-06-17Rollup merge of #126538 - Zalathar:graph, r=nnethercote许杰友 Jieyou Xu (Joe)-154/+46
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-16coverage: Prefer `Iterator::copied`Zalathar-1/+1
2024-06-16coverage: Flatten some graph code with let-elseZalathar-18/+17
2024-06-16coverage: Reduce/simplify visibility in `coverage::graph`Zalathar-24/+28
2024-06-16coverage: Remove some old low-value unit tests for graph traversalZalathar-111/+0
2024-06-16coverage: Split span refinement into two separate stepsZalathar-10/+12
2024-06-16coverage: Split out a function for dividing coverage spans into bucketsZalathar-34/+52
2024-06-16coverage: Eagerly convert coverage spans to a simpler formZalathar-49/+55
2024-06-16coverage: Move most span processing back into `coverage::spans`Zalathar-155/+157
2024-06-16coverage: More consistent variable names for span processingZalathar-25/+25
2024-06-12coverage: Replace the old span refiner with a single functionZalathar-203/+36
2024-06-04coverage: Remove hole-carving code from the main span refinerZalathar-80/+19
2024-06-04coverage: Use hole spans to carve up coverage spans into separate bucketsZalathar-55/+146
2024-06-04coverage: Build up initial spans by appending to a vectorZalathar-18/+21
2024-06-04coverage: Return a nested vector from initial span extractionZalathar-8/+11
2024-05-30coverage: Rename MC/DC `conditions_num` to `num_conditions`Zalathar-6/+6
2024-05-20Rollup merge of #125106 - Zalathar:expressions, r=davidtwcoMatthias Krüger-5/+80
2024-05-14coverage: `CoverageIdsInfo::mcdc_bitmap_bytes` is never neededZalathar-11/+1
2024-05-14coverage: Simplify counter expressions using simple algebraZalathar-0/+37
2024-05-14coverage: Memoize newly-created counter expressionsZalathar-3/+21
2024-05-14coverage: Store expression operands as `BcbCounter`Zalathar-4/+24
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+5
2024-05-06coverage: Tidy imports in `rustc_mir_transform::coverage`Zalathar-7/+8
2024-05-06coverage: Rename `CoverageSpans` to `ExtractedMappings`Zalathar-21/+27
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