about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/gvn.rs
AgeCommit message (Expand)AuthorLines
2025-02-03Contracts core intrinsics.Felix S. Klock II-0/+1
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-0/+8
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-2/+4
2025-01-26Auto merge of #135753 - compiler-errors:from-ty-const, r=oli-obkbors-15/+3
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+4
2025-01-20Get rid of mir::Const::from_ty_constMichael Goulet-15/+3
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-0/+51
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-4/+4
2025-01-08Make the aggregate-then-transmute handling more generalScott McMurray-13/+9
2025-01-08Refactor the cast-then-cast cases together, and support transmute-then-transmuteScott McMurray-89/+113
2025-01-08Use layout information to detect transparent transmutesScott McMurray-9/+34
2025-01-08Apply suggestions from code reviewscottmcm-2/+2
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-1/+55
2024-12-22Delete `Rvalue::Len`Scott McMurray-51/+0
2024-11-25Do not unify dereferences in GVN.Camille GILLOT-1/+3
2024-11-20interpret: make typing_env field privateRalf Jung-2/+2
2024-11-19`InterpCx` store `TypingEnv` instead of a `ParamEnv`lcnr-5/+4
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-10/+9
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-4/+9
2024-10-31Mark `simplify_aggregate_to_copy` mir-opt as unsound许杰友 Jieyou Xu (Joe)-1/+3
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-8/+11
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-1/+1
2024-10-07Auto merge of #131068 - RalfJung:immediate-offset-sanity-check, r=nnethercotebors-7/+23
2024-10-05fix GVN trying to transmute pointers to integersRalf Jung-7/+23
2024-10-04Use wide pointers consistenly across the compilerUrgau-3/+3
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-60/+55
2024-09-30panic when an interpreter error gets unintentionally discardedRalf Jung-53/+62
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-5/+5
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-09-14Simplify the canonical clone method to copyDianQK-1/+97
2024-09-10Remove references from some structs.Nicholas Nethercote-4/+4
2024-09-10Clarify a comment.Nicholas Nethercote-1/+1
2024-09-10Inline and remove some functions.Nicholas Nethercote-44/+41
2024-09-10Improve comment formatting.Nicholas Nethercote-4/+6
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-1/+1
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-2/+2
2024-07-31Do not intern if we have provenance.Camille GILLOT-1/+6
2024-07-31Simplify constant creation.Camille GILLOT-5/+10
2024-07-31Encode constant determinism in disambiguator.Camille GILLOT-7/+8
2024-07-31Reduce allocations in GVN.Camille GILLOT-4/+12
2024-07-31Amortize growing rev_locals.Camille GILLOT-1/+7
2024-07-31Indirect places can only appear as first projection in runtime MIR.Camille GILLOT-1/+1
2024-07-31Do not normalize constants eagerly.Camille GILLOT-4/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+8
2024-07-06Update compiler/rustc_mir_transform/src/gvn.rsCamille Gillot-2/+2
2024-07-05Verify that allocations output by GVN are sufficiently aligned.Camille GILLOT-5/+9
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-28Only update `Eq` operands in GVN if you can update both sidesScott McMurray-5/+5