summary refs log tree commit diff
path: root/src/librustc_mir/transform/mod.rs
AgeCommit message (Expand)AuthorLines
2020-07-09Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakisManish Goregaokar-1/+1
2020-07-05Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.Eduard-Mihai Burtescu-1/+1
2020-07-04ConstCx to LocalDefIdBastian Kauschke-2/+3
2020-06-22moves coverage data computation from pass to queryRich Kadel-7/+2
2020-06-22implemented query for coverage dataRich Kadel-1/+7
2020-06-15moved instrument_coverage pass, optimized scalar, added FIXMERich Kadel-4/+4
2020-06-15moved to post_borrowck_cleanup & used MirPatchRich Kadel-2/+4
2020-06-15[WIP] injects llvm intrinsic instrprof.increment for coverage reportsRich Kadel-0/+3
2020-06-13Add MIR phase and query for drop elaborationDylan MacKenzie-9/+40
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