summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2019-12-16Rollup merge of #66570 - lzutao:stabilize-result-map_or, r=Dylan-DPCMazdak Farrokhzad-1/+1
2019-12-11Rollup merge of #67015 - osa1:issue66971, r=wesleywiserMazdak Farrokhzad-11/+37
2019-12-06const-prop: Restrict scalar pair propagationÖmer Sinan Ağacan-11/+37
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-6/+6
2019-12-04Auto merge of #66866 - oli-obk:const_fn_memoization, r=RalfJungbors-1/+1
2019-12-02Auto merge of #64736 - Nashenas88:mir_predecessors_cache_cleanup, r=oli-obkbors-7/+10
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-17/+17
2019-12-02Fix tidy errorsPaul Daniel Faria-1/+3
2019-12-02Fix typos caused during rebasePaul Daniel Faria-1/+1
2019-12-02Fix remaining compilation issuesPaul Daniel Faria-3/+3
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-20/+21
2019-12-02fix init_allocation_extraRalf Jung-2/+2
2019-12-02Assert terminator is never executed in ConstPropRalf Jung-1/+1
2019-12-02make alloc_extra machine hook a bit nicerRalf Jung-3/+3
2019-12-02expose span to M::assert_panic, and provide helper to turn that into CallerLo...Ralf Jung-0/+1
2019-12-02Miri: add machine hook for MIR-level assertion panicsRalf Jung-0/+8
2019-12-02make use of Result::map_orLzu Tao-1/+1
2019-12-02Rollup merge of #66926 - RalfJung:miri-stop, r=oli-obkMazdak Farrokhzad-1/+1
2019-12-02Rollup merge of #66789 - eddyb:mir-source-scope-local-data, r=oli-obkMazdak Farrokhzad-36/+16
2019-12-01add reusable MachineStop variant to Miri engine error enumRalf Jung-1/+1
2019-12-01Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obkMazdak Farrokhzad-7/+25
2019-11-30`find_fn` -> `find_mir_or_eval_fn` renameOliver Scherer-1/+1
2019-11-30rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.Eduard-Mihai Burtescu-9/+8
2019-11-30rustc: move MIR source_scope_local_data's ClearCrossCrate to be around elements.Eduard-Mihai Burtescu-34/+15
2019-11-28const_prop: detect and avoid catching Miri errors that require allocationRalf Jung-7/+25
2019-11-28SquashDavid Haig-0/+1
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-1/+0
2019-11-27Auto merge of #66677 - wesleywiser:fix_const_prop_alloc_id_ice, r=oli-obkbors-4/+12
2019-11-25miri: couple ret place and ret block together (they both exist or both don't)Ralf Jung-6/+4
2019-11-24Respond to CR feedbackWesley Wiser-11/+8
2019-11-23[const prop] Fix "alloc id without corresponding allocation" ICEWesley Wiser-3/+1
2019-11-23Intern allocations during constant propagationWesley Wiser-2/+15
2019-11-19Auto merge of #66074 - wesleywiser:test_run_const_prop, r=oli-obkbors-14/+27
2019-11-15[ConstProp] Avoid OOM crashes by not evaluating large PlacesWesley Wiser-0/+5
2019-11-15Fix spurious CI filures due to OOMWesley Wiser-3/+8
2019-11-11[mir-opt] Turn on the `ConstProp` pass by defaultWesley Wiser-14/+27
2019-11-11Remove trampoline, pass `ret` and `unwind` when handling intrinsicsAaron Hill-0/+2
2019-11-11Fix unwinding logicAaron Hill-10/+1
2019-11-11More fixes for rustc changesAaron Hill-4/+8
2019-11-08[mir-opt] Handle const-prop for the return placeWesley Wiser-5/+30
2019-10-27Implementation of const caller_location.Adam Perry-0/+1
2019-10-22Intern place projectionSantiago Pastorino-0/+4
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-19/+18
2019-10-20Improve SimplifyLocals pass so it can remove unused constsWesley Wiser-7/+0
2019-10-20Cleanup `ConstProp::visit_statement()`Wesley Wiser-10/+9
2019-10-20skip all refs-to-uninit-local, not just argumentsRalf Jung-5/+6
2019-10-19clarify const_prop ICE protection commentRalf Jung-8/+10
2019-10-18Improve comments and structure of `ConstProp::const_prop()`Wesley Wiser-32/+50
2019-10-18Cleanup const_prop() someWesley Wiser-72/+75
2019-10-18[const-prop] Handle MIR Rvalue::BoxWesley Wiser-18/+1