about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2024-01-23Stop using `eval_rvalue_into_place` in const propOli Scherer-156/+200
2024-01-23partially inline `eval_rvalue_into_place` for const prop lintOli Scherer-6/+185
2024-01-23Allow passing a layout to the `eval_*` methodsOli Scherer-11/+26
2024-01-23Auto merge of #116152 - cjgillot:unchunck, r=nnethercotebors-2/+2
2024-01-23Do not thread through Assert terminator.Camille GILLOT-15/+2
2024-01-22Remove uses of HybridBitSet.Camille GILLOT-2/+2
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-8/+8
2024-01-22Use debug_assert instead of expanded equivalentWesley Wiser-4/+2
2024-01-22Auto merge of #120161 - cjgillot:static-pass-name, r=tmiaskobors-2/+16
2024-01-22coverage: Don't instrument `#[automatically_derived]` functionsZalathar-0/+11
2024-01-21Make MIR pass name a compile-time constant.Camille GILLOT-2/+16
2024-01-18Extract process_assign.Camille GILLOT-89/+79
2024-01-18Extract process_constant.Camille GILLOT-34/+44
2024-01-18Use an interpreter in jump threading.Camille GILLOT-27/+75
2024-01-17Rollup merge of #115291 - cjgillot:dest-prop-save, r=JakobDegenMatthias Krüger-44/+37
2024-01-17Auto merge of #119670 - cjgillot:gvn-arithmetic, r=oli-obkbors-6/+175
2024-01-17Auto merge of #119922 - nnethercote:fix-Diag-code-is_lint, r=oli-obkbors-1/+1
2024-01-16Expand match over binops.Camille GILLOT-15/+18
2024-01-16Explain side-effects from simplify_operand.Camille GILLOT-0/+4
2024-01-16Do not read a scalar on a non-scalar layout.Camille GILLOT-2/+7
2024-01-16Simplify Len.Camille GILLOT-4/+34
2024-01-16Simplify unary operations.Camille GILLOT-0/+20
2024-01-16Simplify binary ops.Camille GILLOT-2/+109
2024-01-16Auto merge of #116520 - Enselic:large-copy-into-fn, r=oli-obkbors-46/+50
2024-01-16Auto merge of #119672 - cjgillot:dse-sandwich, r=oli-obkbors-7/+16
2024-01-16Auto merge of #119439 - cjgillot:gvn-faster, r=oli-obkbors-27/+46
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