summary refs log tree commit diff
path: root/src/librustc_mir/transform/simplify_branches.rs
AgeCommit message (Expand)AuthorLines
2020-04-22Use `Body` everywhereDylan MacKenzie-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-2/+2
2019-12-22Format the worldMark Rousskov-11/+18
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-1/+1
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-2/+2
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-2/+2
2019-12-02Move predecessors cache invalidation back to basic_blocks_mut, add a couple m...Paul Daniel Faria-2/+2
2019-12-02Stop invalidating predecessors cache when accessing unique basic block, inval...Paul Daniel Faria-2/+2
2019-08-22Move 'tcx lifetime on MirPassWesley Wiser-2/+2
2019-08-05Clear the ParamEnv where its information is irrelevantOliver Scherer-1/+1
2019-08-05Fiddle param env through to `try_eval_bits` in most placesOliver Scherer-3/+4
2019-08-05Don't abort on unevaluated constants without at least tryting to eval themOliver Scherer-2/+2
2019-08-05Clean up the `ty::Const::assert*` methodsOliver Scherer-2/+1
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
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-1/+1
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-4/+6
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-1/+1
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-1/+1
2019-06-09Changed usages of `mir` in librustc::mir and librustc_mir to `body`Jad Ghalayini-2/+2
2019-05-28Changes the type `mir::Mir` into `mir::Body`Claude-Alban RANÉLY-VERGÉ-DÉPRÉ-1/+1
2019-03-16Revert the `LazyConst` PROliver Scherer-2/+2
2019-02-09fix rebase falloutRalf Jung-1/+1
2019-02-08librustc_mir => 2018Taiki Endo-1/+1
2019-01-01Simplify bit inspection of a constantOliver Scherer-14/+10
2019-01-01Add `unwrap_usize` to `LazyConst`, tooOliver Scherer-3/+2
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-10/+15
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-06refactor: use shorthand fieldsteresy-1/+1
2018-07-23Promoteds are statics and statics have a place, not just a valueOliver Schneider-9/+7
2018-05-24Get rid of `scalar_size`Oliver Schneider-1/+2
2018-05-24change `Value::Bytes` to `Value::Bits`Oliver Schneider-1/+1
2018-05-11Introduce ConstValue and use it instead of miri's Value for constant valuesJohn Kåre Alsaker-11/+6
2018-03-08Rename ConstVal::to_u128 to to_raw_bitsOliver Schneider-1/+1
2018-03-08Nuke the entire ctfe from orbit, it's the only way to be sureOliver Schneider-2/+6
2018-03-08Produce instead of pointersOliver Schneider-2/+2
2018-02-05mir: Add TerminatorKind::FalseUnwindbobtwinkles-0/+3
2017-11-14rustc: split off BodyOwnerKind from MirSource.Eduard-Mihai Burtescu-2/+1
2017-11-14rustc: move the MIR pass infrastructure and list to rustc_mir.Eduard-Mihai Burtescu-1/+2
2017-11-02add TerminatorKind::FalseEdges and use it in matchesMikhail Modin-0/+3
2017-09-11rustc: introduce ty::Const { ConstVal, Ty }.Eduard-Mihai Burtescu-3/+3
2017-09-11rustc: intern ConstVal's in TyCtxt.Eduard-Mihai Burtescu-1/+1
2017-05-12box large variants in MIRAriel Ben-Yehuda-3/+2
2017-05-02simplify the MirPass traits and passes dramaticallyNiko Matsakis-16/+15
2017-05-02rework `MirPass` API to be stateless and extract helper fnsNiko Matsakis-1/+1
2017-02-10Reimplement simplify_cfg for SwitchIntSimonas Kazlauskas-14/+18
2017-02-10If is now always a SwitchInt in MIRSimonas Kazlauskas-11/+11
2016-10-28rustc: move mir::repr::* to mir.Eduard Burtescu-1/+1
2016-09-06Count and report time taken by MIR passesSimonas Kazlauskas-1/+1