summary refs log tree commit diff
path: root/src/librustc_mir/transform/generator.rs
AgeCommit message (Expand)AuthorLines
2020-06-13Revert "Auto merge of #71956 - ecstatic-morse:remove-requires-storage-analysi...Mark Rousskov-127/+136
2020-05-28Auto merge of #72494 - lcnr:predicate-cleanup, r=nikomatsakisbors-2/+2
2020-05-23fix discriminant type in generator transformRalf Jung-1/+1
2020-05-23iterate List by valueBastian Kauschke-2/+2
2020-05-19Document why we don't look at storage livenessDylan MacKenzie-0/+9
2020-05-19Look for storage conflicts before terminator effectDylan MacKenzie-5/+6
2020-05-19Add comment for strange conditionalDylan MacKenzie-0/+1
2020-05-19Add comment explaining the extra `record_conflicts`Dylan MacKenzie-0/+4
2020-05-19Clean up generator live locals analysisDylan MacKenzie-137/+113
2020-05-18Add asm! to MIRAmanieu d'Antras-1/+2
2020-05-13add spans to `require_lang_items`Bastian Kauschke-1/+1
2020-05-13use `require_lang_item` over `unwrap`.Bastian Kauschke-2/+3
2020-05-09Visit move out of `_0` when visiting `return`Jonas Schievink-0/+10
2020-05-09Rollup merge of #71942 - nnethercote:shrink-LocalDecl, r=matthewjasperDylan DPC-41/+15
2020-05-06Improve `LocalDecl` creation.Nicholas Nethercote-28/+6
2020-05-06Add `SourceInfo::outermost`.Nicholas Nethercote-14/+10
2020-05-04Import dataflow impls via the `impls` submoduleDylan MacKenzie-2/+2
2020-05-03Use new liveness analysis during generator transformDylan MacKenzie-22/+24
2020-05-03Support backward dataflow analysesDylan MacKenzie-9/+4
2020-05-03Rename `live_locals` -> `live_locals_at_any_suspension_point`Dylan MacKenzie-11/+12
2020-04-29Remove Session::no_landing_pads()Amanieu d'Antras-1/+2
2020-04-25Replace hash map with IndexVec for liveness data.Alex Aktsipetrov-21/+13
2020-04-22Auto merge of #71044 - ecstatic-morse:body-predecessor-cache, r=oli-obkbors-29/+16
2020-04-22Use `Body` everywhereDylan MacKenzie-29/+16
2020-04-21visit_place_base is just visit_localSantiago Pastorino-2/+2
2020-04-12Rollup merge of #71013 - jonas-schievink:visit-projection, r=eddybDylan DPC-7/+0
2020-04-11Rollup merge of #70957 - oli-obk:lazy_repeat_length_eval_ice, r=matthewjasperMazdak Farrokhzad-1/+4
2020-04-11Pass the `PlaceElem::Index` local to `visit_local`Jonas Schievink-7/+0
2020-04-09Explain why we remove `self` from storage live localsDylan MacKenzie-0/+1
2020-04-09Use new utility in `transform/generator.rs`Dylan MacKenzie-34/+40
2020-04-09Normalize MIR locals' types for generator layout computation.Oliver Scherer-1/+4
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-1/+1
2020-03-31Use Place directly, it's Copy more use casesSantiago Pastorino-1/+1
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-4/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-5/+5
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-7/+7
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-03-26Update imports from `dataflow::generic` to `dataflow`Dylan MacKenzie-1/+1
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-2/+2
2020-03-19Use erased regions in MIRMatthew Jasper-16/+7
2020-03-19Rollup merge of #69814 - jonas-schievink:gen-ret-unw, r=ZoxcMazdak Farrokhzad-7/+104
2020-03-17Hold index of generator `self` arg in `const`Dylan MacKenzie-21/+18
2020-03-14Swap inserts to keep the original orderingJonas Schievink-4/+4
2020-03-14Auto merge of #69716 - jonas-schievink:generator-size, r=tmandrybors-1/+1
2020-03-08Apply suggestions from code reviewJonas Schievink-2/+2
2020-03-08Change index for SwitchInt caseJonas Schievink-1/+1
2020-03-08Poison generators when any terminator unwindsJonas Schievink-5/+31
2020-03-07Don't insert panic when generator can not unwindJonas Schievink-1/+45
2020-03-07remove unneeded mutable references (cippy::unnecessary_mut_passed)Matthias Krüger-1/+1