about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-2/+31
2024-05-10Rollup merge of #124957 - compiler-errors:builtin-deref, r=michaelwoeristerMatthias Krüger-9/+9
2024-05-10Rollup merge of #124615 - Zalathar:extracted-mappings, r=davidtwcoMatthias Krüger-107/+118
2024-05-09Make builtin_deref just return a TyMichael Goulet-9/+9
2024-05-08Simplify `use crate::rustc_foo::bar` occurrences.Nicholas Nethercote-1/+1
2024-05-06coverage: Tidy imports in `rustc_mir_transform::coverage`Zalathar-7/+8
2024-05-06coverage: Rename `CoverageSpans` to `ExtractedMappings`Zalathar-21/+27
2024-05-06coverage: Destructure the mappings struct to make sure we don't miss anyZalathar-4/+13
2024-05-06coverage: Don't recompute the number of test vector bitmap bytesZalathar-33/+12
2024-05-06coverage: Make the special case for async functions exit earlyZalathar-18/+21
2024-05-06coverage: Separately compute the set of BCBs with counter mappingsZalathar-46/+59
2024-05-04coverage: Rename `BcbBranchPair` to `mappings::BranchPair`Zalathar-7/+7
2024-05-04coverage: Flatten `BcbMappingKind` into `mappings::CodeMapping`Zalathar-32/+20
2024-05-04coverage: Extract helper `region_for_span`Zalathar-4/+5
2024-05-04coverage: Split out MC/DC branches from `BcbMappingKind`Zalathar-80/+72
2024-05-04coverage: Split out MC/DC decisions from `BcbMappingKind`Zalathar-51/+71
2024-05-03Auto merge of #123602 - cjgillot:gvn-borrowed, r=oli-obkbors-42/+78
2024-05-03Rollup merge of #124555 - Zalathar:init-coverage, r=nnethercoteMatthias Krüger-3/+3
2024-05-02Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmeaseMatthias Krüger-1/+1
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-1/+1
2024-05-01Step bootstrap cfgsMark Rousskov-1/+0
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-3/+3
2024-04-30Auto merge of #124558 - matthiaskrgr:rollup-axi1bxu, r=matthiaskrgrbors-29/+18
2024-04-30Remove redundant union check in `KnownPanicsLint const propGurinder Singh-29/+18
2024-04-30coverage: Split off `mappings.rs` from `spans.rs` and `from_mir.rs`Zalathar-275/+283
2024-04-30coverage: Prepare to split `spans.rs` into two filesZalathar-26/+30
2024-04-29Rollup merge of #124504 - gurry:123710-union-ICE, r=oli-obk许杰友 Jieyou Xu (Joe)-7/+13
2024-04-29Auto merge of #124255 - RenjiSann:renji/mcdc-nested-expressions, r=Zalatharbors-24/+57
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-0/+11
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-24/+46
2024-04-29Prohibit const prop of unions in `KnownPanicsLint`Gurinder Singh-7/+13
2024-04-24Stabilise `inline_const`Gary Guo-1/+1
2024-04-23filter required_consts during inliningRalf Jung-2/+6
2024-04-23properly fill a promoted's required_constsRalf Jung-22/+11
2024-04-23interpret: sanity-check that required_consts captures all consts that can failRalf Jung-21/+20
2024-04-23compute required_consts before promotion, and add promoteds that may failRalf Jung-23/+43
2024-04-23promotion: do not promote const-fn calls in const when that may fail without ...Ralf Jung-26/+87
2024-04-23Rollup merge of #123993 - compiler-errors:coroutine-obl, r=lcnrLeón Orell Valerian Liehr-0/+40
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-2/+2
2024-04-23Rollup merge of #124067 - RalfJung:weak-lang-items, r=davidtwcoMatthias Krüger-2/+2
2024-04-23Auto merge of #121801 - zetanumbers:async_drop_glue, r=oli-obkbors-4/+631
2024-04-22coverage: Separate branch pairs from other mapping kindsZalathar-25/+44
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-23/+77
2024-04-21Address more PR feedbackScott McMurray-3/+3
2024-04-21InstSimplify `from_raw_parts(p, ())` → `p as _`Scott McMurray-1/+35
2024-04-21Add an intrinsic that lowers to AggregateKind::RawPtrScott McMurray-0/+28
2024-04-21Add `AggregateKind::RawPtr` and enough support to compileScott McMurray-0/+4
2024-04-20Pacify tidy.Camille GILLOT-1/+1
2024-04-20Dereference immutable borrows in GVN.Camille GILLOT-0/+16
2024-04-20Merge borrowed locals too.Camille GILLOT-1/+4