summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
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
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-6/+42
2024-07-29Reformat `use` declarations.Nicholas Nethercote-36/+34
2024-07-05coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`Zalathar-6/+7
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-4/+4
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-1/+1
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-26Do not ICE on invalid consts when walking mono-reachable blocksBen Kimock-6/+3
2024-04-18Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstriebbors-1/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-5/+4
2024-04-17Rollup merge of #122813 - nnethercote:nicer-quals, r=compiler-errorsMatthias Krüger-1/+1
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-1/+1
2024-04-16Move size assertions for `mir::syntax` types into the same fileZalathar-2/+0
2024-04-07Only collect mono items from reachable blocksBen Kimock-52/+0
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-5/+3
2024-04-03Rollup merge of #123401 - Zalathar:assert-size-aarch64, r=fmeaseJacob Pratt-1/+1
2024-04-03Remove MIR unsafe checkMatthew Jasper-14/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-6/+8
2024-03-24Require coroutine kind type to be passed to TyCtxt::coroutine_layoutMichael Goulet-1/+2
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-1/+1
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-0/+46
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-6/+18
2024-03-20mentioned items: also handle closure-to-fn-ptr coercionsRalf Jung-1/+2
2024-03-20mentioned items: also handle vtablesRalf Jung-1/+5
2024-03-20avoid processing mentioned items that are also still usedRalf Jung-1/+1
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-0/+29