about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/lib.rs
AgeCommit message (Expand)AuthorLines
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
2024-06-06Revert "Use the HIR instead of mir_keys for determining whether something wil...Oli Scherer-1/+1
2024-05-31Revert "Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"Camille GILLOT-1/+3
2024-05-30Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obkbors-3/+1
2024-05-29Enable DestinationPropagation by default.Camille GILLOT-3/+1
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-1/+2
2024-05-28Cache whether a body has inline constsOli Scherer-1/+4
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-0/+6
2024-05-28Use the HIR instead of mir_keys for determining whether something will have a...Oli Scherer-1/+1
2024-05-24compiler: unnest rustc_const_eval::check_constsJubilee Young-1/+1
2024-05-24compiler: const_eval/transform/validate.rs -> mir_transform/validate.rsJubilee Young-1/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-2/+1
2024-05-01Step bootstrap cfgsMark Rousskov-1/+0
2024-04-24Stabilise `inline_const`Gary Guo-1/+1
2024-04-23compute required_consts before promotion, and add promoteds that may failRalf Jung-8/+9
2024-04-23promotion: do not promote const-fn calls in const when that may fail without ...Ralf Jung-7/+8
2024-04-03Remove MIR unsafe checkMatthew Jasper-7/+0
2024-04-03Auto merge of #122225 - DianQK:nits-120268, r=cjgillotbors-3/+4
2024-03-25Auto merge of #122721 - oli-obk:merge_queries, r=davidtwcobors-12/+8
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-0/+5
2024-03-20step cfgsMark Rousskov-1/+0
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-0/+5
2024-03-20Update documentationOli Scherer-3/+0
2024-03-20Rename mir_const query to mir_builtOli Scherer-5/+5
2024-03-20Replace `mir_built` query with a hook and use mir_const everywhere insteadOli Scherer-4/+3
2024-03-19Remove all checks of `IntrinsicDef::must_be_overridden` except for the actual...Oli Scherer-6/+0
2024-03-18add_retag: ensure box-to-raw-ptr casts are preserved for MiriRalf Jung-2/+2
2024-03-17simplify_cfg: rename some passes so that they make more senseRalf Jung-2/+2
2024-03-13Allow `rustc_mir_transform` to register hook providersZalathar-3/+4
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-03-09Rename `UninhabitedEnumBranching` to `UnreachableEnumBranching`DianQK-3/+4
2024-03-04Remove some depgraph edges on the HIR by invoking the intrinsic query instead...Oli Scherer-2/+2
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-0/+6
2024-03-04Add `is_intrinsic` helperOli Scherer-1/+1
2024-02-20Rename `ConstPropLint` to `KnownPanicsLint`Gurinder Singh-2/+2
2024-02-18Remove const_prop.rsGurinder Singh-1/+0