about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-46/+50
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-1/+1
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/+63
2024-01-14coverage: Determine a block's successors from just the terminatorZalathar-14/+11
2024-01-11Rollup merge of #119842 - Zalathar:kind, r=oli-obkMatthias Krüger-32/+49
2024-01-11Do not run simplify_locals inside DSE.Camille GILLOT-2/+0
2024-01-11Sandwich MIR optimizations between DSE.Camille GILLOT-5/+16
2024-01-11coverage: Add enums to accommodate other kinds of coverage mappingsZalathar-7/+20
2024-01-11coverage: Store extracted spans as a flat list of mappingsZalathar-27/+27
2024-01-11coverage: Extract helper function `term_for_bcb`Zalathar-4/+8
2024-01-11Auto merge of #119677 - cjgillot:early-cfg-opt, r=oli-obkbors-6/+17
2024-01-10coverage: Discard code regions that might cause fatal errors in `llvm-cov`Zalathar-1/+36
2024-01-09Rollup merge of #119699 - cjgillot:simplify-unreachable, r=oli-obkGuillaume Gomez-65/+46
2024-01-09Rollup merge of #119668 - cjgillot:transform-promote, r=oli-obkGuillaume Gomez-1/+954
2024-01-09Rollup merge of #119033 - Zalathar:unicode, r=davidtwcoMatthias Krüger-20/+71
2024-01-08Make match exhaustive.Camille GILLOT-1/+1
2024-01-08Simplify code flow.Camille GILLOT-222/+157
2024-01-08Move promote_consts back to rustc_mir_transform.Camille GILLOT-1/+1019
2024-01-08coverage: `llvm-cov` expects column numbers to be bytes, not code pointsZalathar-14/+59
2024-01-08coverage: Allow `make_code_region` to failZalathar-6/+12
2024-01-08Remove `DiagnosticBuilderState`.Nicholas Nethercote-2/+1
2024-01-07Do not recompute liveness for DestinationPropagation.Camille GILLOT-44/+37
2024-01-07Auto merge of #119675 - cjgillot:set-no-discriminant, r=tmiaskobors-2/+20
2024-01-07Merge dead bb pruning and unreachable bb deduplication.Camille GILLOT-65/+46
2024-01-07Avoid recording no-op replacements.Camille GILLOT-5/+8
2024-01-07Do not re-simplify SSA locals.Camille GILLOT-14/+23
2024-01-07Cache feature unsized locals + use smallvec.Camille GILLOT-3/+7
2024-01-07Make rev_locals a vec.Camille GILLOT-7/+10
2024-01-07Reorder early post-inlining passes.Camille GILLOT-6/+17
2024-01-07Skip threading over no-op SetDiscriminant.Camille GILLOT-2/+20
2024-01-06rustc_mir_transform: Enforce `rustc::potential_query_instability` lintMartin Nordholts-1/+4
2024-01-06Rollup merge of #119591 - Enselic:DestinationPropagation-stable, r=cjgillotMatthias Krüger-16/+14
2024-01-06Auto merge of #119499 - cjgillot:dtm-opt, r=nnethercotebors-7/+10
2024-01-06Auto merge of #119648 - compiler-errors:rollup-42inxd8, r=compiler-errorsbors-154/+175
2024-01-05Rollup merge of #119208 - Zalathar:hoist, r=WaffleLapkin,SwatinemMichael Goulet-154/+175
2024-01-06Auto merge of #119459 - cjgillot:inline-mir-utils, r=compiler-errorsbors-0/+1
2024-01-05rustc_mir_transform: Make DestinationPropagation stable for queriesMartin Nordholts-16/+14
2024-01-05Rollup merge of #119563 - compiler-errors:coroutine-resume, r=oli-obkMatthias Krüger-0/+1
2024-01-05Rollup merge of #119577 - tmiasko:lint, r=oli-obkMichael Goulet-24/+57
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-12/+12
2024-01-05Stabilize THIR unsafeckMatthew Jasper-7/+8
2024-01-05coverage: Make the remaining fields of `CoverageSpan` non-publicZalathar-4/+4
2024-01-05coverage: Split out `SpanFromMir` from `CoverageSpan`Zalathar-24/+51
2024-01-05coverage: Hoist the splitting of visible macro invocationsZalathar-34/+36
2024-01-05coverage: Hoist the removal of unwanted macro expansion spansZalathar-26/+27
2024-01-05coverage: Overhaul how "visible macros" are determinedZalathar-66/+58
2024-01-05coverage: Avoid early returns from `mir_to_initial_sorted_coverage_spans`Zalathar-15/+14