about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/lib.rs
AgeCommit message (Expand)AuthorLines
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-1/+1
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-3/+1
2023-11-26Avoid need for `{D,Subd}iagnosticMessage` imports.Nicholas Nethercote-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-31Reorder passes.Camille GILLOT-2/+3
2023-10-29Auto merge of #116270 - cjgillot:gvn-aggregate, r=oli-obk,RalfJungbors-0/+2
2023-10-25Only call `mir_const_qualif` if absolutely necessaryOli Scherer-3/+23
2023-10-25Simplify projections in GVN.Camille GILLOT-0/+1
2023-10-25Do not remove unused definitions inside GVN.Camille GILLOT-0/+1
2023-10-21Implement JumpThreading pass.Camille GILLOT-0/+2
2023-10-21Extract cost checker from inliner.Camille GILLOT-0/+1
2023-10-20s/generator/coroutine/Oli Scherer-4/+4
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-18Only check in a single place if a pass is enabled.Camille GILLOT-1/+1
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-0/+2
2023-10-13Format all the let chains in compilerMichael Goulet-27/+40
2023-10-11Rollup merge of #116315 - cjgillot:cpl-clean, r=petrochenkovMatthias Krüger-3/+1
2023-10-08Do not run optimizations on trivial MIR.Camille GILLOT-0/+9
2023-10-05move subtyper change reveal_allouz-a-1/+1
2023-10-02subtyping_projectionsouz-a-0/+2
2023-10-01Remove outdated comment.Camille GILLOT-2/+0
2023-10-01Rename lint pass.Camille GILLOT-1/+1
2023-09-28Unconditionally run `RevealAll` pass and run it earlierOli Scherer-1/+1
2023-09-24Add global value numbering pass.Camille GILLOT-0/+2
2023-09-23Enable drop_tracking_mir by default.Camille GILLOT-3/+1
2023-09-21Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obkGuillaume Gomez-5/+5
2023-09-21Prevent promotion of const fn calls in inline constsOli Scherer-1/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-5/+5
2023-09-13fix: skip opt if body has tainted errorbohan-0/+5
2023-09-11Reuse throw_machine_stop_str! macro.Camille GILLOT-0/+1
2023-08-08Added comment on reason for method being publiccedihegi-0/+2
2023-08-08Allow reimplementation of drops_elaborated querycedihegi-2/+2
2023-08-07Auto merge of #113902 - Enselic:lint-recursive-drop, r=oli-obkbors-0/+4
2023-08-05Steal MIR for CTFE when possible.Camille GILLOT-1/+8
2023-08-05Do not run ConstProp on mir_for_ctfe.Camille GILLOT-29/+0
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-1/+1
2023-07-22Make `unconditional_recursion` warning detect recursive dropsMartin Nordholts-0/+4
2023-07-10Perform reference propagation earlier.Camille GILLOT-1/+1
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-3/+3
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-1/+0
2023-05-29Enable SeparateConstSwitch by default.Camille GILLOT-1/+4
2023-05-21MIR: opt-in normalization of `BasicBlock` and `Local` numberingScott McMurray-0/+5
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-05-09Implement SSA-based reference propagation.Camille GILLOT-0/+2
2023-05-08Rollup merge of #111004 - clubby789:migrate-mir-transform, r=oli-obkMichael Goulet-0/+8
2023-05-06Rename InstCombine to InstSimplifyBen Kimock-2/+2
2023-05-02Migrate `mir_transform` to translatable diagnosticsclubby789-0/+8
2023-04-30Leave promoteds untainted by errors when borrowck failsTomasz Miąsko-4/+1
2023-04-27Auto merge of #110728 - cjgillot:no-false-optes, r=oli-obkbors-1/+46