summary refs log tree commit diff
path: root/src/librustc_mir/transform/simplify.rs
AgeCommit message (Expand)AuthorLines
2019-12-11Rollup merge of #67134 - oli-obk:const_prop_zst, r=wesleywiserYuki Okushi-4/+9
2019-12-08Ensure that we get a hard error on generic ZST constants if their body causes...Oliver Scherer-4/+9
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-5/+5
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-23/+23
2019-12-02Remove BodyCache.body and rely on Deref as much as possible for ReadOnlyBodyC...Paul Daniel Faria-2/+2
2019-12-02Fix tidy errorsPaul Daniel Faria-2/+6
2019-12-02Fix remaining compilation issuesPaul Daniel Faria-1/+2
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-23/+23
2019-12-02Address nits and remove unneeded passPaul Daniel Faria-5/+3
2019-12-02Move predecessors cache invalidation back to basic_blocks_mut, add a couple m...Paul Daniel Faria-37/+36
2019-12-02Address linting errors caught by CIPaul Daniel Faria-2/+2
2019-12-02Stop invalidating predecessors cache when accessing unique basic block, inval...Paul Daniel Faria-33/+37
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-8/+0
2019-11-08[mir-opt] Handle aggregates in SimplifyLocals passWesley Wiser-8/+15
2019-10-22Intern place projectionSantiago Pastorino-3/+8
2019-10-20Improve SimplifyLocals pass so it can remove unused constsWesley Wiser-22/+54
2019-10-18Use Cow to handle modifications of projection in preparation for interningSantiago Pastorino-5/+6
2019-10-17Add process_* place hooks to improve code reutilizationSantiago Pastorino-16/+8
2019-10-17Prepare simplify MutVisitor to have projections internedSantiago Pastorino-0/+20
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-09-29remove bit_set re-export from rustc_data_structurescsmoe-1/+1
2019-08-22Move 'tcx lifetime on MirPassWesley Wiser-4/+4
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-2/+2
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-6/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-2/+2
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-8/+7
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-2/+2
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-2/+2
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-2/+2
2019-06-11rustc_mir: deny(unused_lifetimes).Eduard-Mihai Burtescu-1/+1
2019-06-09Changed usages of `mir` in librustc::mir and librustc_mir to `body`Jad Ghalayini-23/+23
2019-05-28Changes the type `mir::Mir` into `mir::Body`Claude-Alban RANÉLY-VERGÉ-DÉPRÉ-7/+7
2019-04-26Remove region from borrow place contextsMatthew Jasper-2/+2
2019-02-09fix rebase falloutRalf Jung-2/+2
2019-02-08librustc_mir => 2018Taiki Endo-3/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-13Make SimplifyCfg collapse goto chains from bb0Shotaro Yamada-1/+26
2018-11-07Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwcokennytm-1/+1
2018-11-06refactor: use shorthand fieldsteresy-1/+1
2018-10-27Refactor and add `PlaceContext::AscribeUserTy`.David Wood-2/+4
2018-09-18Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs.Nicholas Nethercote-5/+5
2018-08-04Normalize DebugInfoLevel to standard styleMark Rousskov-2/+2
2018-08-01Split out growth functionality into BitVector typeMark Rousskov-5/+5
2018-07-25parameterize `BitVector` and `BitMatrix` by their index typesNiko Matsakis-14/+17
2018-05-17Rename trans to codegen everywhere.Irina Popa-1/+1
2018-05-01rustc: return impl Iterator from Terminator(Kind)::successors(_mut).Eduard-Mihai Burtescu-5/+5
2018-02-20rustc_mir: do not remove dead user variables if debuginfo needs them.Eduard-Mihai Burtescu-4/+13
2017-12-03funnel all unwind paths through a single Resume blockAriel Ben-Yehuda-34/+0
2017-12-01MIR: s/Lvalue/Place in type names.Eduard-Mihai Burtescu-4/+4