about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-07-01mir: Mark `Statement` and `BasicBlockData` as `#[non_exhaustive]`dianqk-0/+1
2025-06-29mir: Use the `new` method for `BasicBlockData`dianqk-1/+9
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-1/+29
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-2/+2
2025-03-16Build `UserTypeProjections` lazily when visiting bindingsZalathar-82/+3
2025-03-15Move codec module back into middleMichael Goulet-2/+2
2025-03-15Fold visit into tyMichael Goulet-3/+2
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-02-24Move `impl` blocks out of `rustc_middle/src/mir/syntax.rs`.Nicholas Nethercote-0/+11
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-6/+3
2025-02-21Rollup merge of #137305 - nnethercote:rustc_middle-2, r=lcnrMatthias Krüger-19/+4
2025-02-21Rollup merge of #137204 - nnethercote:clarify-MIR-dialects-and-phases, r=Ralf...Matthias Krüger-14/+7
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-15/+6
2025-02-20Avoid a useless clone of `UserTypeProjection`Zalathar-2/+2
2025-02-20Improve how the MIR dialect/phase index is reported.Nicholas Nethercote-14/+7
2025-02-19Remove `MirVisitable`.Nicholas Nethercote-5/+0
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-1/+0
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-1/+0
2025-02-18Rollup merge of #137203 - nnethercote:improve-MIR-modification, r=compiler-er...Matthias Krüger-61/+1
2025-02-18Inline and replace `Statement::replace_nop`.Nicholas Nethercote-1/+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-17Add `SwitchTargetValue`.Nicholas Nethercote-1/+1
2025-02-14Move `MirPatch` from `rustc_middle` to `rustc_mir_transform`.Nicholas Nethercote-1/+0
2025-02-08Rustfmtbjorn3-4/+4
2025-02-06Clean up trivial traversal/lift impl generator macro calls.Nicholas Nethercote-4/+0
2025-01-31Move `find_self_call`.Nicholas Nethercote-1/+42
2025-01-24Exclude `mir::coverage` types from TypeFoldable/TypeVisitableZalathar-0/+4
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-1/+1
2024-12-18mir: require `is_cleanup` when creating `BasicBlockData`DianQK-2/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-23remove remaining references to `Reveal`lcnr-2/+1
2024-11-19additional `TypingEnv` cleanupslcnr-4/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-10/+17
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-1/+1
2024-10-31stop using `ParamEnv::reveal` while handling MIRlcnr-1/+10
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+8
2024-09-21Don't alloca for unused localsBen Kimock-0/+13
2024-09-13Auto merge of #107251 - dingxiangfei2009:let-chain-rescope, r=jieyouxubors-0/+3
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-0/+3
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-3/+2
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-62/+0
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-17/+0
2024-08-21fix link in mir/modkyoto7250-1/+1