summary refs log tree commit diff
path: root/src/librustc_mir/transform/inline.rs
AgeCommit message (Expand)AuthorLines
2020-05-18Add asm! to MIRAmanieu d'Antras-0/+5
2020-05-09Visit move out of `_0` when visiting `return`Jonas Schievink-1/+5
2020-05-06Improve `LocalDecl` creation.Nicholas Nethercote-2/+2
2020-04-24Auto merge of #70820 - spastorino:replace-fragile-erroneous-const-sys, r=oli-obkbors-1/+11
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-9/+5
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-3/+7
2020-04-23Rename uneval_consts to required_constsSantiago Pastorino-6/+8
2020-04-23Make inlining carry over unevaluated constsSantiago Pastorino-1/+9
2020-04-22Use `Body` everywhereDylan MacKenzie-6/+6
2020-04-22Don't use `*` for deref-coercionDylan MacKenzie-3/+3
2020-04-22Rollup merge of #70970 - eddyb:trait-vs-impl-mismatch, r=oli-obkDylan DPC-1/+2
2020-04-19MIR: use span instead of NodeId to determine if optimized_mir should be runljedrz-7/+5
2020-04-18Detect mistyped associated consts in `Instance::resolve`.Eduard-Mihai Burtescu-1/+2
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-1/+1
2020-04-11Pass the `PlaceElem::Index` local to `visit_local`Jonas Schievink-12/+0
2020-03-31Use Place directly, it's Copy even more use casesSantiago Pastorino-2/+2
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-4/+4
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-5/+5
2020-03-21Use Reveal::All in MIR inlinerWesley Wiser-10/+3
2020-03-21Rollup merge of #69934 - andjo403:inlinecost, r=wesleywiserMazdak Farrokhzad-2/+17
2020-03-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-9/+6
2020-03-11Update the mir inline costsAndreas Jonson-2/+17
2020-02-05Selectively disable sanitizer instrumentationTomasz Miąsko-0/+23
2020-02-01Move builtin attribute logic to new rustc_attr crate.Mazdak Farrokhzad-1/+1
2020-01-28make_integrate_local takes Local by valueSantiago Pastorino-4/+4
2020-01-27don't clone types that are copy, round two.Matthias Krüger-2/+2
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-18/+10
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-5/+0
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-1/+1
2020-01-04extract rustc::middle::codegen_fn_attrsMazdak Farrokhzad-1/+1
2020-01-01Ensure that we process projections during MIR inliningAaron Hill-8/+4
2019-12-27Fix `Instance::resolve()` incorrectly returning specialized instancesWesley Wiser-3/+10
2019-12-22Format the worldMark Rousskov-128/+92
2019-12-20[mir-opt] Fix `Inline` pass to handle inlining into `box` expressionsWesley Wiser-10/+20
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-6/+6
2019-12-05`#[track_caller]` suppresses MIR inlining.Adam Perry-0/+5
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-6/+6
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-31/+31
2019-12-02Remove BodyCache.body and rely on Deref as much as possible for ReadOnlyBodyC...Paul Daniel Faria-3/+3
2019-12-02Fix tidy errorsPaul Daniel Faria-4/+9
2019-12-02Fix remaining compilation issuesPaul Daniel Faria-11/+11
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-23/+23
2019-12-02Address nits and remove unneeded passPaul Daniel Faria-1/+1
2019-12-02Move predecessors cache invalidation back to basic_blocks_mut, add a couple m...Paul Daniel Faria-3/+3
2019-12-02Stop invalidating predecessors cache when accessing unique basic block, inval...Paul Daniel Faria-3/+3
2019-11-30rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.Eduard-Mihai Burtescu-5/+1
2019-11-30rustc_mir: fix inliner to also copy over source_scope_local_data.Eduard-Mihai Burtescu-1/+10
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-8/+4
2019-10-22Move Place::elem methods and friends to TyCtxtSantiago Pastorino-3/+3
2019-10-22Intern place projectionSantiago Pastorino-1/+8