summary refs log tree commit diff
path: root/src/librustc_mir/transform/mod.rs
AgeCommit message (Expand)AuthorLines
2020-05-26Rollup merge of #72270 - RalfJung:lint-ref-to-packed, r=oli-obkDylan DPC-1/+5
2020-05-25Always validate MIR after optimizingJonas Schievink-0/+5
2020-05-25Add a small MIR validation passJonas Schievink-1/+13
2020-05-25add a lint against references to packed fieldsRalf Jung-1/+5
2020-05-16Dumb NRVODylan MacKenzie-0/+2
2020-05-11Modify SimplifyArmIdentity so it can trigger on mir-opt-level=1Wesley Wiser-2/+2
2020-05-09Rollup merge of #71555 - cjgillot:nameless, r=matthewjasperRalf Jung-3/+2
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-3/+2
2020-05-07Use `hir::ConstContext` instead of local enumsDylan MacKenzie-1/+1
2020-04-28Use the query system to allocate.Camille GILLOT-7/+7
2020-04-28Introduce ArenaStorage.Camille GILLOT-2/+2
2020-04-27Accept `LocalDefId` as key for `mir_validated` querymarmeladema-8/+12
2020-04-27Accept `LocalDefId` as key for `mir_borrowck` querymarmeladema-2/+2
2020-04-27Return a `FxHashSet<LocalDefId>` from `mir_keys` querymarmeladema-7/+8
2020-04-27Use `LocalDefId` in `mir_built` querymarmeladema-3/+7
2020-04-27Use `LocalDefId` in `unsafety_check_result` querymarmeladema-1/+1
2020-04-27Auto merge of #70073 - wesleywiser:mir_opt_level_0, r=oli-obkbors-48/+79
2020-04-24Don't run various MIR optimizations at mir-opt-level=0Wesley Wiser-48/+79
2020-04-24Auto merge of #70820 - spastorino:replace-fragile-erroneous-const-sys, r=oli-obkbors-1/+12
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-1/+1
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-1/+1
2020-04-23Import RequiredConstsVisitorSantiago Pastorino-2/+2
2020-04-23Rename uneval_consts to required_constsSantiago Pastorino-6/+6
2020-04-23Add MirPass to collect Unevaluated consts in MIR bodySantiago Pastorino-1/+12
2020-04-23Rename `Item` to `ConstCx`.Oliver Scherer-3/+3
2020-04-22Use `Body` everywhereDylan MacKenzie-18/+10
2020-04-13Don't always run `add_call_guards` passJonas Schievink-4/+2
2020-04-10librustc_middle: return LocalDefId instead of DefId in body_owner_def_idmarmeladema-2/+2
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-4/+4
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-4/+4
2020-03-19Use erased regions in MIRMatthew Jasper-3/+5
2020-03-16remove unnecessary hir::map importsMazdak Farrokhzad-2/+1
2020-03-14Index HIR after creating TyCtxtJohn Kåre Alsaker-1/+1
2020-03-12remove lifetimes that can be elided (clippy::needless_lifetimes)Matthias Krüger-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-28Rollup merge of #69481 - matthiaskrgr:single_char, r=ecstatic-morseMazdak Farrokhzad-1/+1
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-1/+1
2020-02-27use char instead of &str for single char patternsMatthias Krüger-1/+1
2020-01-14Add unreachable propagation mir optimization passKonstantinos Triantafyllou-0/+2
2020-01-12Split `rustc_mir::{build, hair, lints}` into their own crateMatthew Jasper-7/+4
2020-01-08normalize rustc::hir::intravisit importsMazdak Farrokhzad-1/+1
2020-01-08intravisit: abstract over HIR MapMazdak Farrokhzad-1/+3
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-2/+2
2020-01-04DefId{Map,Set} -> rustc::hir::def_idMazdak Farrokhzad-2/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-27Fallout in other crates.Camille GILLOT-1/+1
2019-12-22Format the worldMark Rousskov-110/+119
2019-12-21Use Arena inside hir::EnumDef.Camille GILLOT-1/+1
2019-12-09Remove `uniform_array_move_out` passesMatthew Jasper-3/+0
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-9/+9