about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/instsimplify.rs
AgeCommit message (Expand)AuthorLines
2025-07-28Simplify `align_of_val::<[T]>(…)` → `align_of::<T>()`Scott McMurray-0/+31
2025-06-29mir: Add a `new` method to `statement`dianqk-4/+4
2025-04-13Rollup merge of #139644 - yotamofek:pr/mir_transform/instsimplify/simplify_pr...Jacob Pratt-17/+8
2025-04-10Cleanup the `InstSimplify` MIR transformationYotam Ofek-106/+86
2025-04-10Micro-optimize `InstSimplify`'s `simplify_primitive_clone`Yotam Ofek-17/+8
2025-04-05In `simplify_repeated_aggregate`, don't test first element against itselfYotam Ofek-3/+3
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
2025-01-27Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=da...Michael Goulet-13/+0
2025-01-26Auto merge of #135753 - compiler-errors:from-ty-const, r=oli-obkbors-1/+1
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+4
2025-01-20Get rid of mir::Const::from_ty_constMichael Goulet-1/+1
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-0/+13
2025-01-11[mir-opt] simplify `Repeat`s that don't actually repeat the operandScott McMurray-0/+13
2025-01-11Auto merge of #135274 - saethlin:array-repeats, r=compiler-errorsbors-0/+30
2025-01-09Add an InstSimplify for repetitive array expressionsBen Kimock-0/+30
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-23/+0
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-13/+0
2024-11-26Remove -Zfuel.Camille GILLOT-57/+14
2024-11-19additional `TypingEnv` cleanupslcnr-10/+4
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-3/+9
2024-11-03compiler: Directly use rustc_abi in mir_transformJubilee Young-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-2/+2
2024-09-10Inline and remove some functions.Nicholas Nethercote-7/+1
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-2/+2
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+2
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-1/+17
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-07-25Make Clone::clone a lang itemBen Kimock-2/+2
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-1/+3
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-1/+1
2024-05-30Also InstSimplify `&raw*`Scott McMurray-1/+1
2024-05-28Don't format `tests/run-make/*/rmake.rs`.Nicholas Nethercote-4/+2
2024-05-26Avoid a `FieldIdx::from_usize` in InstSimplifyScott McMurray-3/+2
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-21Address more PR feedbackScott McMurray-3/+3
2024-04-21InstSimplify `from_raw_parts(p, ())` → `p as _`Scott McMurray-1/+35
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-1/+1
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-0/+15
2024-03-04Return a struct from `query intrinsic` to be able to add another field in the...Oli Scherer-2/+2
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-6/+6
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-1/+1
2024-02-12Teach llvm backend how to fall back to default bodiesOli Scherer-3/+4
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-3/+2
2024-02-12Dejargnonize substShoyu Vanilla-1/+1
2024-02-12remove a bunch of dead parameters in fnyukang-11/+4
2024-02-08InstSimplify rustc_nounwind callsBen Kimock-0/+25