about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/simplify.rs
AgeCommit message (Expand)AuthorLines
2024-01-07Merge dead bb pruning and unreachable bb deduplication.Camille GILLOT-55/+37
2023-12-10remove redundant importssurechen-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-25Do not remove unused definitions inside GVN.Camille GILLOT-0/+2
2023-10-18Remove unused `TyCtxt` from `remove_dead_blocks`Zalathar-2/+2
2023-10-18coverage: Store all of a function's mappings in function coverage infoZalathar-101/+2
2023-10-03coverage: Let each coverage statement hold a vector of code regionsZalathar-4/+6
2023-09-25Use Vec::retain in remove_dead_blocks.Camille GILLOT-19/+24
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+2
2023-05-15Profile MIR passes.Camille GILLOT-1/+1
2023-05-06Rename InstCombine to InstSimplifyBen Kimock-2/+2
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-20Run combine_duplicate_switch_targets after the simplification that produces themBen Kimock-0/+14
2023-04-18refactor SimlifyCfg and friends - no globals, just enumsmiguelraz-16/+32
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-5/+5
2023-03-25Explain how we get to skip checking for cleanup blocks in the visitorBen Kimock-0/+2
2023-03-18Remove duplicate unreachable blocksBen Kimock-1/+43
2023-03-09Introduce a no-op PlaceMention statement for `let _ =`.Camille GILLOT-0/+1
2023-02-16`BasicBlock::new(0)` -> `START_BLOCK` [no functional changes]Scott McMurray-1/+1
2023-01-29Auto merge of #106908 - cjgillot:copyprop-ssa, r=oli-obkbors-2/+14
2023-01-27Allow to remove unused definitions without renumbering locals.Camille GILLOT-2/+14
2023-01-23Create stable metric to measure long computation in Const EvalBryan Garza-1/+1
2022-12-25Remove Nop in simplify_locals.Camille GILLOT-0/+1
2022-12-25Move SimplifyLocals before ConstProp.Camille GILLOT-1/+13
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-12-01Remove needless `Cow`Oli Scherer-3/+2
2022-09-06Generalize the Assume intrinsic statement to a general Intrinsic statementOli Scherer-2/+1
2022-09-06Lower the assume intrinsic to a MIR statementOli Scherer-0/+1
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-2/+2
2022-08-09Add option to `mir::MutVisitor` to not invalidate CFG.Jakob Degen-2/+2
2022-07-25Remove reachable coverage without countersTomasz Miąsko-1/+11
2022-07-21Update compiler/rustc_mir_transform/src/simplify.rsWesley Wiser-1/+1
2022-07-08Fix unreachable coverage generation for inlined functionsTomasz Miąsko-32/+40
2022-07-08Use extend instead of repeatedly pushing into a vecTomasz Miąsko-4/+4
2022-07-01cleanup mir visitor for `rustc::pass_by_value`lcnr-4/+4
2022-06-07Preserve unused pointer to address castsTomasz Miąsko-2/+6
2022-05-17Change `Successors` to `impl Iterator<Item = BasicBlock>`SparrowLii-3/+3
2022-04-11Add new `Deinit` statement kindJakob Degen-4/+4
2022-02-19Adopt let else in more placesest31-6/+4
2022-02-04Rollup merge of #90132 - joshtriplett:stabilize-instrument-coverage, r=wesley...Matthias Krüger-1/+1
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-2/+1
2022-01-01Stabilize -Z instrument-coverage as -C instrument-coverageJosh Triplett-1/+1
2021-12-07Remove `in_band_lifetimes` from `rustc_mir_transform`Scott McMurray-6/+6
2021-12-02Update passes with new interfaceDylan MacKenzie-0/+4
2021-09-18Do not collapse goto chains beginning with the start blockTomasz Miąsko-25/+0
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-0/+592