about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
AgeCommit message (Expand)AuthorLines
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
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-15/+7
2024-04-14Merge `WithNumNodes` into DirectedGraphMaybe Waffle-3/+1
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-5/+13
2024-02-23coverage: Use variable name `this` in `CoverageGraph::from_mir`Zalathar-7/+6
2024-01-14coverage: Simplify computing successors in the BCB graphZalathar-14/+7
2024-01-14coverage: Move helper `add_basic_coverage_block` into a local closureZalathar-22/+18
2024-01-14coverage: Simplify the loop that combines blocks into BCBsZalathar-57/+33
2024-01-14coverage: Indicate whether a block's successors allow BCB chainingZalathar-28/+62
2024-01-14coverage: Determine a block's successors from just the terminatorZalathar-14/+11
2023-11-25coverage: Assert that bcb0 starts with bb0 and has no in-edgesZalathar-0/+13
2023-11-25coverage: Eliminate `BcbBranch`Zalathar-39/+0
2023-11-25coverage: Extract `CoverageGraph::bcb_has_multiple_in_edges`Zalathar-1/+15
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-12coverage: Simplify adding BCB successors to the traversal worklistsZalathar-38/+39
2023-10-12coverage: Don't store loop backedges in the traversal contextZalathar-7/+10
2023-10-12coverage: Store a graph reference in the graph traversal structZalathar-11/+10
2023-10-12coverage: Use a `VecDeque` for loop traversal worklistsZalathar-31/+18
2023-10-12coverage: Rename `next_bcb` to just `bcb`Zalathar-9/+10
2023-10-12coverage: Simplify the detection of reloop edges to be given expressionsZalathar-4/+14
2023-10-10coverage: Unbox and simplify `bcb_filtered_successors`Zalathar-27/+23
2023-10-10coverage: Replace `ShortCircuitPreorder` with a single functionZalathar-55/+17
2023-10-03coverage: Update comments/logs that referred to `CoverageSpan`Zalathar-2/+2
2023-09-20coverage: Remove debug code from the instrumentorZalathar-7/+0
2023-09-18coverage: Simplify sorting of coverage spans extracted from MIRZalathar-6/+2
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-1/+1
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-2/+2
2023-08-13Store BCB counters externally, not directly in the BCB graphZalathar-103/+2
2023-08-01Replace `ExpressionOperandId` with enum `Operand`Zalathar-7/+4
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-9/+6
2023-06-27Simplify some conditionsMaybe Waffle-1/+1
2023-05-17Merge DominatorTree and Dominators.Camille GILLOT-14/+5
2023-05-17Preprocess dominator tree to answer queries in O(1)Tomasz Miąsko-26/+20
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-2/+2
2023-04-03Doc-comment `IndexVec::from_elem` and use it in a few more placesScott McMurray-3/+2
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-3/+3
2023-03-10Rollup merge of #108902 - lcnr:do-while-sus, r=davidtwco,NilstriebMatthias Krüger-20/+20
2023-03-09no more do whilelcnr-20/+20
2023-03-07Remove DropAndReplace terminatorGiacomo Pasini-1/+0
2023-01-21Consistently use dominates instead of is_dominated_byTomasz Miąsko-7/+7
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-1/+1
2022-12-18Make `#[debug_format]` an attribute in `newtype_index`Nilstrieb-1/+1
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-2/+2
2022-07-07Move `predecessors` from Body to BasicBlocksTomasz Miąsko-1/+1