about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2025-02-19Rollup merge of #137251 - Zalathar:holes-visitor, r=jieyouxuMatthias Krüger-25/+26
2025-02-19Auto merge of #136539 - matthewjasper:late-normalize-errors, r=compiler-errorsbors-2/+15
2025-02-19coverage: Make `HolesVisitor::visit_hole_span` a regular methodZalathar-18/+18
2025-02-19coverage: Get hole spans from nested items without fully visiting themZalathar-8/+9
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-1/+1
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-1/+1
2025-02-18Rollup merge of #137203 - nnethercote:improve-MIR-modification, r=compiler-er...Matthias Krüger-136/+126
2025-02-18Inline and replace `Statement::replace_nop`.Nicholas Nethercote-3/+5
2025-02-18Inline and remove `BasicBlockData::retain_statements`.Nicholas Nethercote-5/+6
2025-02-18Improve `MirPatch` documentation and naming.Nicholas Nethercote-16/+41
2025-02-18Use `MirPatch` in `EnumSizeOpt`.Nicholas Nethercote-112/+74
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-8/+8
2025-02-17Handle normalization failures in drop elaborationMatthew Jasper-2/+15
2025-02-17Rollup merge of #136466 - nnethercote:start-removing-Map, r=cjgillotMatthias Krüger-6/+5
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-5/+4
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-15Don't project into `NonNull` when dropping a `Box`Scott McMurray-4/+41
2025-02-14Rollup merge of #137008 - nnethercote:mv-code-into-rustc_mir_transform, r=oli...Matthias Krüger-22/+1304
2025-02-14Auto merge of #137010 - workingjubilee:rollup-g00c07v, r=workingjubileebors-2/+1
2025-02-14Move `MirPatch` from `rustc_middle` to `rustc_mir_transform`.Nicholas Nethercote-15/+275
2025-02-14Move drop elaboration infrastructure.Nicholas Nethercote-8/+1030
2025-02-13Rollup merge of #136957 - Zalathar:counters, r=oli-obkJubilee-11/+16
2025-02-13Make `-O` mean `-C opt-level=3`clubby789-2/+1
2025-02-13coverage: Eliminate more counters by giving them to unreachable nodesZalathar-11/+16
2025-02-12Auto merge of #135994 - 1c3t3a:rename-unsafe-ptr, r=oli-obkbors-4/+4
2025-02-11compiler: replace ExternAbi::name calls with formattersJubilee Young-6/+1
2025-02-11Rollup merge of #136786 - compiler-errors:de-de-duplicate-blocks, r=oli-obkMatthias Krüger-197/+0
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-4/+4
2025-02-10Rollup merge of #136053 - Zalathar:defer-counters, r=saethlinJubilee-365/+116
2025-02-09Remove the deduplicate_blocks passMichael Goulet-197/+0
2025-02-09Rollup merge of #136722 - kornelski:visit-spans, r=chenyukangMatthias Krüger-0/+2
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-133/+185
2025-02-08Rustfmtbjorn3-133/+185
2025-02-08Detect (non-raw) borrows of null ZST pointers in CheckNullMichael Goulet-29/+56
2025-02-08Visit SourceInfo of all TerminatorsKornel-0/+2
2025-02-07Rollup merge of #136627 - RalfJung:mir-validation-cfg-checker, r=compiler-errorsMatthias Krüger-0/+6
2025-02-06Don't reset cast kind without also updating the operand in simplify_castMichael Goulet-9/+11
2025-02-06coverage: Remove the old code for simplifying counters after MIR optsZalathar-133/+6
2025-02-06coverage: Don't create counters for code that was removed by MIR optsZalathar-13/+19
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-214/+108
2025-02-06coverage: Store BCB node IDs in mappings, and resolve them in codegenZalathar-44/+22
2025-02-06MIR validation: add comment explaining the limitations of CfgCheckerRalf Jung-0/+6
2025-02-03Contracts core intrinsics.Felix S. Klock II-1/+18
2025-02-03Rollup merge of #136464 - nnethercote:rm-TyCtxtAt-for-hooks, r=oli-obk许杰友 Jieyou Xu (Joe)-3/+1
2025-02-03Remove hook calling via `TyCtxtAt`.Nicholas Nethercote-3/+1
2025-02-02Rollup merge of #136358 - clubby789:opt-none-noinline, r=saethlinMatthias Krüger-1/+5
2025-02-02Rollup merge of #136279 - Zalathar:ensure-ok, r=oli-obkMatthias Krüger-6/+6
2025-02-01Rollup merge of #130514 - compiler-errors:unsafe-binders, r=oli-obkMatthias Krüger-5/+60
2025-02-01Rename `tcx.ensure_with_value()` to `tcx.ensure_done()`Zalathar-6/+6
2025-01-31Auto merge of #136350 - matthiaskrgr:rollup-6eqfyvh, r=matthiaskrgrbors-2/+3