about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/simplify.rs
AgeCommit message (Expand)AuthorLines
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-592/+0
2021-08-18Remove box syntax from rustc_mirest31-2/+2
2021-06-01Reland - Report coverage `0` of dead blocksRich Kadel-5/+80
2021-05-11Revert "Auto merge of #84797 - richkadel:cover-unreachable-statements, r=tman...Rich Kadel-37/+5
2021-05-01Report coverage `0` of dead blocksRich Kadel-5/+37
2021-03-23Auto merge of #83177 - erikdesjardins:zstassign, r=oli-obkbors-52/+27
2021-03-20Extend comment in `UsedLocals::visit_lhs`Tomasz Miąsko-1/+3
2021-03-15revert changes from #83118 to mark zst return place as unusedErik Desjardins-52/+27
2021-03-14remove unnecessary conditionErik Desjardins-3/+1
2021-03-13Move ZST check inside UsedLocalsSimon Vandel Sillesen-50/+53
2021-03-13Extend SimplifyLocals to remove ZST writesSimon Vandel Sillesen-3/+27
2021-03-09Update interpret stepkadmin-0/+1
2021-02-24Auto merge of #80475 - simonvandel:fix-77355, r=oli-obkbors-17/+20
2021-02-23Rollup merge of #82091 - henryboisdequin:use-place-ref-more, r=RalfJungDylan DPC-2/+1
2021-02-22New mir-opt pass to simplify gotos with const valuesSimon Vandel Sillesen-17/+20
2021-02-20make `super_projection` take a `PlaceRef`Henry Boisdequin-2/+1
2021-01-28Avoid memory allocation when removing dead blocksTomasz Miąsko-7/+6
2021-01-17Avoid logging the whole MIR body in SimplifyCfgTomasz Miąsko-1/+1
2020-10-26simplify-locals: Remove unused assignments regardless of rvalue kindTomasz Miąsko-25/+1
2020-10-26simplify-locals: Remove unused set-discriminant statementsTomasz Miąsko-5/+9
2020-10-26simplify-locals: Change RemoveStatements visitor into a functionTomasz Miąsko-42/+31
2020-10-26simplify-locals: Unify use count visitorsTomasz Miąsko-113/+111
2020-10-26simplify-locals: Represent use counts with u32Tomasz Miąsko-6/+6
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-4/+4
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-2/+1
2020-08-30mv compiler to compiler/mark-0/+547