summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2019-06-24Auto merge of #62012 - wesleywiser:const_prop_use_ecx, r=oli-obkbors-21/+107
2019-06-21Fix nitsWesley Wiser-17/+35
2019-06-20[const-prop] Move local storage into a `Frame` on `InterpCx`Wesley Wiser-19/+79
2019-06-20[const-prop] Introduce getter/setter functionsWesley Wiser-4/+12
2019-06-20rename hir::map::get_by_hir_id to getljedrz-1/+1
2019-06-19Fix rebase falloutOliver Scherer-1/+1
2019-06-19Make interning explicitly care about types and the mutability of memoryOliver Scherer-1/+6
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-5/+5
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-7/+11
2019-06-12rustc: remove some unnecessary lifetimes in -> TyCtxt methods.Eduard-Mihai Burtescu-1/+1
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-5/+5
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-13/+13
2019-06-09Changed usages of `mir` in librustc::mir and librustc_mir to `body`Jad Ghalayini-18/+18
2019-06-08rename EvalResult -> InterpResult and EvalError -> InterpErrorInfoRalf Jung-2/+2
2019-06-06[const-prop] Handle Rvalue::LenWesley Wiser-5/+24
2019-06-06[const-prop] Handle ProjectionElem::DerefWesley Wiser-0/+6
2019-06-06[const-prop] Handle Rvalue::RefWesley Wiser-1/+5
2019-06-06[const-prop] Fix ICE when casting function pointersWesley Wiser-6/+4
2019-06-04Whitespace fixesWesley Wiser-2/+2
2019-06-03Add const-eval support for indirectsChristian Poveda-11/+32
2019-05-29Rollup merge of #60928 - TheSirC:fix/60229, r=eddybMazdak Farrokhzad-8/+8
2019-05-28Changes the type `mir::Mir` into `mir::Body`Claude-Alban RANÉLY-VERGÉ-DÉPRÉ-8/+8
2019-05-28Rollup merge of #61164 - RalfJung:scalar, r=oli-obkMazdak Farrokhzad-10/+7
2019-05-28Rollup merge of #61247 - spastorino:eval-place-iterate, r=wesleywiserMazdak Farrokhzad-38/+41
2019-05-27Make eval_place iterate instead of recurseSantiago Pastorino-38/+41
2019-05-26Rename "Associated*" to "Assoc*"Andrew Xu-1/+1
2019-05-26rename Scalar::Bits to Scalar::Raw and bits field to dataRalf Jung-10/+7
2019-05-26Rollup merge of #61184 - wesleywiser:const_prop_tracing, r=oli-obkMazdak Farrokhzad-1/+11
2019-05-25Add additional trace statements to the const propagatorWesley Wiser-1/+11
2019-05-25Fix missing tcxvarkor-1/+2
2019-05-25Don't use `ty::Const` without immediately interningOliver Scherer-1/+1
2019-05-19[const-prop] Don't const-prop into terminators unless mir-opt-level >= 2Wesley Wiser-10/+19
2019-05-19[const-prop] Remove catch all match and add FIXMEWesley Wiser-1/+14
2019-05-19[const-prop] Support propagating into SwitchInt's `discr` OperandWesley Wiser-0/+7
2019-05-19[const-prop] Support propagating into Assert's `cond` OperandWesley Wiser-67/+79
2019-05-15Run const propagation at O2Wesley Wiser-1/+1
2019-05-15Do some simple constant propagation in the ConstProp passWesley Wiser-9/+62
2019-05-03rustc: use DefKind instead of Def, where possible.Eduard-Mihai Burtescu-3/+3
2019-05-03rustc: factor most DefId-containing variants out of Def and into DefKind.Eduard-Mihai Burtescu-2/+2
2019-05-02Remove the `self.mir` field from `ConstPropagator`Wesley Wiser-53/+71
2019-05-02Rollup merge of #60428 - wesleywiser:refactor_const_eval, r=oli-obkMazdak Farrokhzad-1/+2
2019-05-01Refactor `eval_body_using_ecx` so that it doesn't need to query for MIRWesley Wiser-1/+2
2019-04-30Rollup merge of #60276 - matthewjasper:cleanup-mir-visitor, r=estebankMazdak Farrokhzad-7/+5
2019-04-28Fix lint findings in librustc_mirflip1995-5/+5
2019-04-26Remove region from borrow place contextsMatthew Jasper-1/+1
2019-04-26Remove BasicBlock parameter from mir visitor methodsMatthew Jasper-6/+4
2019-04-19add Miri error variant for process exitRalf Jung-0/+1
2019-04-03Rollup merge of #59514 - tmandry:remove-adt-def-from-projection-elem, r=eddybMazdak Farrokhzad-1/+1