summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
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
2019-04-02Remove adt_def from PlaceTy and make it a structTyler Mandry-1/+1
2019-04-02renames EvalErrorKind to InterpErrorkenta7777-4/+4
2019-03-27Rollup merge of #59430 - kenta7777:rename-evalcontext-to-interpretcx, r=oli-obkJosh Stone-2/+2
2019-03-26Rollup merge of #59232 - saleemjaffer:mir_place_refactor, r=oli-obkMazdak Farrokhzad-3/+5
2019-03-26renames EvalContext to InterpretCx.kenta7777-2/+2
2019-03-23Swap const evaluation lint spans to point at problem in primary spanEsteban Küber-0/+1
2019-03-23adding mir::StaticKind enum for static and promotedSaleem Jaffer-3/+4
2019-03-21review fixesSaleem Jaffer-1/+1
2019-03-18fixed all compilation errorsSaleem Jaffer-1/+1
2019-03-18cleaner code as per reviewSaleem Jaffer-24/+19
2019-03-18promoted is still left in 2 placesSaleem Jaffer-18/+24
2019-03-16Revert the `LazyConst` PROliver Scherer-1/+1
2019-03-07HirIdification: replace NodeId method callsljedrz-3/+3
2019-03-01Auto merge of #58754 - ljedrz:I_hate_NodeIds, r=Zoxcbors-4/+4
2019-03-01ty: HirIdify some lintsljedrz-4/+4
2019-03-01Put Local, Static and Promoted as one Base variant of PlaceSantiago Pastorino-5/+5
2019-02-27rename Substs to InternalSubstscsmoe-2/+2
2019-02-26Auto merge of #58561 - ljedrz:HirIdify_some_nodes, r=Zoxcbors-3/+3
2019-02-24hir: remove NodeId from Blockljedrz-3/+3
2019-02-16Add `eval` prefix to clarify what the function doesOliver Scherer-1/+1
2019-02-16Expose const -> op functions that don't allow violiting const eval invariantsOliver Scherer-1/+1
2019-02-13make bin_op and unary_op APIs consistently work on ImmTyRalf Jung-5/+4
2019-02-13make OpTy.op private, and ImmTy.imm public insteadRalf Jung-13/+12
2019-02-09pass full InstanceDef to run_passesRalf Jung-20/+20
2019-02-08librustc_mir => 2018Taiki Endo-4/+4
2019-01-22Span fixupOliver Scherer-1/+1
2019-01-22Get rid of the fake stack frameOliver Scherer-4/+2
2019-01-01Pacify tidyOliver Scherer-1/+2
2019-01-01`const_to_op` is now `lazy_const_to_op`Oliver Scherer-2/+2
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-19miri: allocation is infallibleRalf Jung-1/+1
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1