about summary refs log tree commit diff
path: root/src/librustc_mir/util/def_use.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-158/+0
2020-04-22Use `Body` everywhereDylan MacKenzie-4/+4
2020-04-11Pass the `PlaceElem::Index` local to `visit_local`Jonas Schievink-12/+1
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-1/+1
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
2019-12-22Format the worldMark Rousskov-43/+20
2019-12-05rustc_mir: Fix tidy line lengthsPaul Daniel Faria-1/+3
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ↵Paul Daniel Faria-4/+4
Index impl, remove body fn rustc_codegen_ssa: Fix BodyAndCache reborrow to Body and change instances of body() call to derefence rustc_mir: Fix BodyAndCache reborrow to Body and change intances of body() call to derefence
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-1/+1
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, ↵Paul Daniel Faria-6/+6
rename all body_cache back to body
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir ↵Paul Daniel Faria-3/+3
(lifetime errors still exist)
2019-12-02Fix remaining Body -> (ReadOnly)BodyCache type errors in librustc_mir ↵Paul Daniel Faria-10/+9
outside of librustc_mir/transform
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵Eduard-Mihai Burtescu-8/+33
VarDebugInfo.
2019-10-22Intern place projectionSantiago Pastorino-15/+29
2019-10-18Use Cow to handle modifications of projection in preparation for interningSantiago Pastorino-3/+3
2019-10-17Add process_* place hooks to improve code reutilizationSantiago Pastorino-16/+10
2019-10-17Remove unneeded callback and just use the new_local valueSantiago Pastorino-19/+13
2019-10-17Prepare def_use MutVisitor to have projections internedSantiago Pastorino-9/+27
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-07-01Convert more usages overChris Gregory-1/+1
2019-06-09Changed usages of `mir` in librustc::mir and librustc_mir to `body`Jad Ghalayini-8/+8
2019-05-28Changes the type `mir::Mir` into `mir::Body`Claude-Alban RANÉLY-VERGÉ-DÉPRÉ-7/+7
The commit should have changed comments as well. At the time of writting, it passes the tidy and check tool. Revisions asked by eddyb : - Renamed of all the occurences of {visit/super}_mir - Renamed test structures `CachedMir` to `Cached` Fixing the missing import on `AggregateKind`
2019-04-26Remove region from borrow place contextsMatthew Jasper-33/+28
2019-02-10rustc: doc commentsAlexander Regueiro-1/+1
2019-02-08librustc_mir => 2018Taiki Endo-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2017-12-01MIR: s/lv(al(ue)?)?/place in function/variable/module names.Eduard-Mihai Burtescu-7/+7
2017-12-01MIR: s/Lvalue/Place in type names.Eduard-Mihai Burtescu-7/+7
2017-11-10Separately eliminate self-assignmentssinkuu-1/+21
2017-09-03rustc_mir: implement visit_local instead/along visit_lvalue where possible.Eduard-Mihai Burtescu-36/+18
2017-08-19rustc: Remove some dead codeVadim Petrochenkov-4/+0
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-4/+4
Like #43008 (f668999), but _much more aggressive_.
2017-03-18move the drop expansion code to rustc_mirAriel Ben-Yehuda-0/+163