summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2023-01-27Only consider a local to be SSA if assignment dominates all uses.Camille GILLOT-2/+21
2023-01-27Implement SSA CopyProp pass.Camille GILLOT-0/+269
2023-01-27Allow to remove unused definitions without renumbering locals.Camille GILLOT-2/+14
2023-01-27Consider `CopyForDeref` for DestProp.Camille GILLOT-2/+3
2023-01-26fix up subst_identity vs skip_binder; add some FIXMEs as identified in reviewKyle Matsuda-1/+2
2023-01-26change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda-8/+7
2023-01-26replace usages of fn_sig query with bound_fn_sigKyle Matsuda-3/+8
2023-01-26Disable ConstGoto opt in cleanup blocksJakob Degen-0/+9
2023-01-26Auto merge of #105582 - saethlin:instcombine-assert-inhabited, r=cjgillotbors-2/+84
2023-01-24Delete `SimplifyArmIdentity` and `SimplifyBranchSame` mir optsJakob Degen-825/+0
2023-01-23Thread a ParamEnv down to might_permit_raw_initBen Kimock-8/+15
2023-01-24Improve efficiency of has_back_edge(...)Bryan Garza-10/+11
2023-01-23Add comments and remove unnecessary codeBryan Garza-0/+2
2023-01-23Move CtfeLimit MirPass to inner_mir_for_ctfeBryan Garza-1/+2
2023-01-23Revert "Move CtfeLimit to mir_const's set of passes"Bryan Garza-1/+1
2023-01-23Move CtfeLimit to mir_const's set of passesBryan Garza-1/+1
2023-01-23Abstract out has_back_edge fnBryan Garza-23/+28
2023-01-23Change code to use map insead of for-loopBryan Garza-23/+25
2023-01-23Remove debugging-related codeBryan Garza-7/+2
2023-01-23Clean up CtfeLimit MirPassBryan Garza-74/+31
2023-01-23Create stable metric to measure long computation in Const EvalBryan Garza-3/+111
2023-01-21Consistently use dominates instead of is_dominated_byTomasz Miąsko-16/+16
2023-01-19Rollup merge of #107037 - tmiasko:rank, r=oli-obkGuillaume Gomez-5/+5
2023-01-19Transform async ResumeTy in generator transformArpad Borsos-7/+111
2023-01-18Fix Dominators::rank_partial_cmp to match documentationTomasz Miąsko-5/+5
2023-01-17Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726Matthias Krüger-2/+2
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-16Remove ineffective run of SimplifyConstConditionTomasz Miąsko-1/+0
2023-01-15InstCombine away intrinsic validity assertionsBen Kimock-2/+77
2023-01-14Remove visit_place.Camille GILLOT-6/+0
2023-01-14Make the inlining destination a `Local`.Camille GILLOT-18/+28
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-09Auto merge of #106340 - saethlin:propagate-operands, r=oli-obkbors-5/+1
2023-01-07Auto merge of #105323 - cjgillot:simplify-const-prop, r=davidtwcobors-3/+17
2023-01-03Remove duplicated elaborate box derefs passTomasz Miąsko-5/+2
2023-01-01Reenable limited top-down MIR inliningJakob Degen-6/+36
2023-01-01Always take advantage of arithmetic identitiesBen Kimock-5/+1
2022-12-25Give the correct track-caller location with MIR inlining.Camille GILLOT-8/+3
2022-12-25Remove Nop in simplify_locals.Camille GILLOT-0/+1
2022-12-25Move SimplifyLocals before ConstProp.Camille GILLOT-3/+16
2022-12-24Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholkMatthias Krüger-31/+25
2022-12-21Retag argument to `drop_in_place` unconditionallyJakob Degen-28/+29
2022-12-21Retag as FnEntry on `drop_in_place`Jakob Degen-1/+27
2022-12-20Add missing anonymous lifetimeJeremy Stucki-1/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-31/+25
2022-12-20Rollup merge of #105930 - JakobDegen:nal-unsound, r=oli-obkMatthias Krüger-1/+2
2022-12-20Rollup merge of #105835 - tmiasko:cleanup-post-borrowck, r=JakobDegenMatthias Krüger-71/+28
2022-12-20Auto merge of #105880 - Nilstrieb:make-newtypes-less-not-rust, r=oli-obkbors-2/+2
2022-12-19Disable `NormalizeArrayLen`Jakob Degen-1/+2
2022-12-19Rollup merge of #105864 - matthiaskrgr:compl, r=NilstriebDylan DPC-1/+1