about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/lib.rs
AgeCommit message (Expand)AuthorLines
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-4/+29
2025-01-18Consolidate ad-hoc MIR lints into real pass-manager-based MIR lintsMichael Goulet-4/+6
2025-01-16coverage: Make `yank_to_spantree_root` iterative instead of recursiveZalathar-0/+1
2025-01-11Make MIR cleanup for functions with impossible predicates into a real MIR passMichael Goulet-46/+3
2025-01-10mir_transform: implement forced inliningDavid Wood-2/+6
2024-12-23Always run tail_expr_drop_order lint on promoted MIRMichael Goulet-1/+2
2024-12-10We don't need `NonNull::as_ptr` debuginfoScott McMurray-0/+3
2024-11-23remove remaining references to `Reveal`lcnr-3/+3
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-0/+2
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-11/+7
2024-11-12Store known passes as an IndexSetclubby789-5/+5
2024-11-12Validate and test `-Zmir-enable-passes`clubby789-1/+0
2024-11-12Declare all MIR passes in a listclubby789-61/+143
2024-11-08coverage: Restrict empty-span expansion to only cover `{` and `}`Zalathar-1/+0
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+2
2024-10-05Add a Lint for Pointer to Integer Transmutes in ConstsVeera-0/+2
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-16Record synthetic MIR bodies in mir_keysMichael Goulet-16/+20
2024-09-14Rollup merge of #130199 - compiler-errors:by-move, r=cjgillotStuart Cook-1/+1
2024-09-10Don't call closure_by_move_body_def_id on FnOnce async closures in MIR valida...Michael Goulet-1/+1
2024-09-10Make `check_live_drops` into a `MirLint`.Nicholas Nethercote-3/+6
2024-09-10Remove references from some structs.Nicholas Nethercote-6/+8
2024-09-10Improve comment formatting.Nicholas Nethercote-12/+19
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-2/+5
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-2/+2
2024-09-03Adjust `SanityCheck`.Nicholas Nethercote-2/+2
2024-09-02Rollup merge of #129738 - nnethercote:rustc_mir_transform-cleanups, r=cjgillotMatthias Krüger-11/+5
2024-08-30Simplify a pattern.Nicholas Nethercote-2/+1
2024-08-30Simplify creation of a set.Nicholas Nethercote-3/+1
2024-08-30Simplify a provider definition.Nicholas Nethercote-1/+1
2024-08-30Condense `use rustc_*` declarations.Nicholas Nethercote-3/+2
2024-08-30Remove unused features.Nicholas Nethercote-2/+0
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-3/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-24/+18
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-12/+24
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-1/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
2024-07-28stabilize `is_sorted`Slanterns-1/+0
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-2/+8
2024-06-20Replace `NormalizeArrayLen` with `GVN`Scott McMurray-4/+0
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-3/+3
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-06-10Delete `ConstDebugInfo` passScott McMurray-2/+0
2024-06-10Add `SingleUseConsts` mir-opt passScott McMurray-0/+2
2024-06-07Rollup merge of #126077 - oli-obk:revert_is_mir_available, r=BoxyUwUMatthias Krüger-1/+1
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-6/+0
2024-06-07Revert "Cache whether a body has inline consts"Oli Scherer-5/+1