about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2025-02-21Remove some unnecessary `FIXME` comments.Nicholas Nethercote-3/+0
2025-02-21Put a `BlockTailInfo` in `BlockFrame::TailExpr`.Nicholas Nethercote-1/+1
2025-02-21Rename `ClearCrossCrate::assert_crate_local`.Nicholas Nethercote-2/+2
2025-02-21Remove unused `Body::span_for_ty_context` method.Nicholas Nethercote-12/+0
2025-02-21Fix a typo in a comment.Nicholas Nethercote-1/+1
2025-02-20Don't store a redundant span in user-type projectionsZalathar-16/+7
2025-02-20Avoid a useless clone of `UserTypeProjection`Zalathar-2/+2
2025-02-20Simplify `Postorder` customization.Nicholas Nethercote-35/+14
2025-02-20Rollup merge of #137266 - nnethercote:mir-visitor-tweaks, r=compiler-errorsMatthias Krüger-173/+142
2025-02-20Rollup merge of #137262 - compiler-errors:ast-ir-begone, r=lcnrMatthias Krüger-2/+1
2025-02-20Improve how the MIR dialect/phase index is reported.Nicholas Nethercote-16/+10
2025-02-20Improve MIR phase comments.Nicholas Nethercote-22/+29
2025-02-20Reflow `MirPhase` comments.Nicholas Nethercote-22/+25
2025-02-19Add a .bss-like scheme for encoded const allocsBen Kimock-2/+115
2025-02-19Improve formatting within `make_mir_visitor` macro body.Nicholas Nethercote-142/+128
2025-02-19Remove `MirVisitable`.Nicholas Nethercote-27/+0
2025-02-19Add `super_local` method to the MIR visitors.Nicholas Nethercote-4/+14
2025-02-19Make fewer crates depend on rustc_ast_irMichael Goulet-2/+1
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-418/+397
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-418/+397
2025-02-18Rollup merge of #137203 - nnethercote:improve-MIR-modification, r=compiler-er...Matthias Krüger-70/+1
2025-02-18Auto merge of #137162 - nnethercote:remove-Map-2, r=Zalatharbors-1/+1
2025-02-18Inline and replace `Statement::replace_nop`.Nicholas Nethercote-10/+1
2025-02-18Inline and remove `BasicBlockData::retain_statements`.Nicholas Nethercote-11/+0
2025-02-18Remove `BasicBlockData::expand_statements`.Nicholas Nethercote-49/+0
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
2025-02-17Rollup merge of #136959 - nnethercote:simplify-SwitchSources, r=tmiaskoMatthias Krüger-17/+46
2025-02-17Rollup merge of #137095 - saethlin:use-hash64-for-hashes, r=workingjubileeMatthias Krüger-1/+2
2025-02-17Update and clarify the comment on `SwitchTargets`.Nicholas Nethercote-11/+19
2025-02-17Add `SwitchTargetValue`.Nicholas Nethercote-4/+18
2025-02-17Add a useful comment.Nicholas Nethercote-2/+9
2025-02-16Move hashes from rustc_data_structure to rustc_hashes so they can be shared w...Ben Kimock-1/+2
2025-02-15Don't project into `NonNull` when dropping a `Box`Scott McMurray-5/+9
2025-02-14Move `MirPatch` from `rustc_middle` to `rustc_mir_transform`.Nicholas Nethercote-259/+0
2025-02-11Rollup merge of #136847 - nnethercote:simplify-intra-crate-quals, r=oli-obkMatthias Krüger-12/+14
2025-02-11Simplify intra-crate qualifiers.Nicholas Nethercote-12/+14
2025-02-10compiler: die immediately instead of handling unknown target codegenJubilee Young-4/+0
2025-02-10Rollup merge of #136053 - Zalathar:defer-counters, r=saethlinJubilee-78/+67
2025-02-09Rollup merge of #136722 - kornelski:visit-spans, r=chenyukangMatthias Krüger-3/+6
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-8/+11
2025-02-08occured -> occurredMichael Goulet-1/+1
2025-02-08Rustfmtbjorn3-8/+11
2025-02-08Visit fn_span of calls in MIR VisitorKornel-2/+4
2025-02-08super_local_decl should visit source_info before copying itKornel-1/+2
2025-02-07Remove Linkage::Appendingbjorn3-1/+0
2025-02-07Remove Linkage::Privatebjorn3-1/+0
2025-02-06coverage: Remove the old code for simplifying counters after MIR optsZalathar-31/+1
2025-02-06coverage: Defer part of counter-creation until codegenZalathar-31/+45
2025-02-06coverage: Store BCB node IDs in mappings, and resolve them in codegenZalathar-23/+28
2025-02-05Rollup merge of #136563 - nnethercote:clean-up-Trivials, r=lcnrJubilee-73/+1