about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/gvn.rs
AgeCommit message (Expand)AuthorLines
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
2024-06-22GVN away PtrToPtr-then-Transmute when possibleScott McMurray-13/+43
2024-06-22GVN away PtrToPtr before comparisonsScott McMurray-12/+47
2024-06-22Add a `pointee_metadata_ty_or_projection` helperScott McMurray-14/+5
2024-06-20More GVN for PtrMetadataScott McMurray-10/+86
2024-06-20Add a try_as_constant+try_as_local helperScott McMurray-19/+19
2024-06-19Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIRScott McMurray-7/+3
2024-06-13Small style improvement in `gvn.rs`Waffle Lapkin-2/+1
2024-06-10Rollup merge of #126159 - RalfJung:scalarint-size-mismatch, r=oli-obkMatthias Krüger-3/+3
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-3/+3
2024-06-09Rollup merge of #125041 - scottmcm:gvn-for-from-raw-parts, r=cjgillot许杰友 Jieyou Xu (Joe)-12/+87
2024-06-08offset_of: allow (unstably) taking the offset of slice tail fieldsRalf Jung-4/+6
2024-06-06Enable GVN for `AggregateKind::RawPtr` & `UnOp::PtrMetadata`Scott McMurray-12/+87
2024-06-06Auto merge of #125958 - BoxyUwU:remove_const_ty, r=lcnrbors-2/+10
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-2/+10
2024-06-02Handle all GVN binops in a single place.Camille GILLOT-30/+40
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-2/+2
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-11/+8
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-16/+11
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-05-09Make builtin_deref just return a TyMichael Goulet-3/+3
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-1/+17
2024-04-21Add `AggregateKind::RawPtr` and enough support to compileScott McMurray-0/+3
2024-04-20Dereference immutable borrows in GVN.Camille GILLOT-0/+16
2024-04-20GVN borrowed locals too.Camille GILLOT-1/+1
2024-04-16Avoid unnecessary `rustc_span::DUMMY_SP` usage.Nicholas Nethercote-2/+2
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-1/+1
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-1/+1
2024-03-23Auto merge of #119552 - krtab:dead_code_priv_mod_pub_field, r=cjgillot,saethlinbors-1/+1
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-1/+1
2024-03-22Rollup merge of #122784 - jswrenn:tag_for_variant, r=compiler-errorsMatthias Krüger-1/+1
2024-03-22Add `tag_for_variant` queryJack Wrenn-1/+1
2024-03-22Ty::new_ref and Ty::new_ptr stop using TypeAndMutMichael Goulet-5/+4
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-1/+1
2024-03-12Remove unused fields in some structuresArthur Carcano-1/+1
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-1/+1