about summary refs log tree commit diff
path: root/src/librustc_mir/transform/instcombine.rs
AgeCommit message (Expand)AuthorLines
2020-08-30mv compiler to compiler/mark-117/+0
2020-05-31InstCombine: Don't optimize `&mut *x` into `x`Jonas Schievink-10/+8
2020-05-25Avoid `Operand::Copy` with `&mut T`Jonas Schievink-7/+12
2020-04-24Don't run various MIR optimizations at mir-opt-level=0Wesley Wiser-5/+0
2020-04-22Use `Body` everywhereDylan MacKenzie-5/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-2/+2
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-3/+3
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-1/+1
2020-03-29Make `Visitor::visit_body` take a simple `Body`Dylan MacKenzie-1/+1
2020-01-27don't clone types that are copy, round two.Matthias Krüger-1/+1
2020-01-22librustc_mir: don't allocate vectors where slices will do.Matthias Krüger-1/+1
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-4/+4
2020-01-04canonicalize FxHash{Map,Set} importsMazdak Farrokhzad-1/+1
2019-12-22Format the worldMark Rousskov-14/+9
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-2/+2
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-4/+4
2019-12-02Fix remaining compilation issuesPaul Daniel Faria-2/+3
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-5/+6
2019-10-22Intern place projectionSantiago Pastorino-5/+8
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-21/+22
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-09-25Rename `sty` to `kind`varkor-1/+1
2019-09-13Avoid math and use patterns to grab projection baseSantiago Pastorino-10/+12
2019-09-12Destructure instead of using split_atSantiago Pastorino-1/+1
2019-09-09Use slice patterns to match projection baseSantiago Pastorino-13/+4
2019-09-09Convert Place's projection to a boxed sliceSantiago Pastorino-12/+26
2019-08-22Move 'tcx lifetime on MirPassWesley Wiser-2/+2
2019-08-16Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::Pattern...Eduard-Mihai Burtescu-2/+1
2019-07-20Migrate from Place enum to Place structSantiago Pastorino-5/+12
2019-07-06normalize use of backticks/lowercase in compiler messages for librustc_mirSamy Kacimi-2/+2
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-3/+3
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-4/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-3/+3
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-6/+6
2019-06-09Changed usages of `mir` in librustc::mir and librustc_mir to `body`Jad Ghalayini-10/+10
2019-05-28Changes the type `mir::Mir` into `mir::Body`Claude-Alban RANÉLY-VERGÉ-DÉPRÉ-6/+7
2019-04-03Deny internal lints on librustc_mirflip1995-2/+2
2019-04-02Remove adt_def from PlaceTy and make it a structTyler Mandry-2/+2
2019-03-01Put Local, Static and Promoted as one Base variant of PlaceSantiago Pastorino-2/+2
2019-02-09fix rebase falloutRalf Jung-1/+1
2019-02-08librustc_mir => 2018Taiki Endo-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-24add a `user_ty` annotation to `Constant`Niko Matsakis-1/+1
2018-08-22Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closu...varkor-1/+1
2018-08-22Rename ty::TyVariants to ty::TyKindvarkor-2/+2
2018-07-23Promoteds are statics and statics have a place, not just a valueOliver Schneider-3/+2
2017-12-01MIR: s/lv(al(ue)?)?/place in function/variable/module names.Eduard-Mihai Burtescu-5/+5
2017-12-01MIR: s/Lvalue/Place in type names.Eduard-Mihai Burtescu-5/+5
2017-11-28MIR: split Operand::Consume into Copy and Move.Eduard-Mihai Burtescu-1/+1