about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2025-01-28Rollup merge of #135748 - compiler-errors:len-2, r=RalfJung,oli-obkMatthias Krüger-34/+9
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-13/+9
2025-01-27Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=da...Michael Goulet-21/+0
2025-01-27Rollup merge of #136114 - compiler-errors:more-idents, r=jieyouxuGuillaume Gomez-4/+4
2025-01-27Rollup merge of #136082 - Zalathar:iter-nodes, r=oli-obkGuillaume Gomez-21/+0
2025-01-27Remove redundant to_ident_string callsMichael Goulet-4/+4
2025-01-26Auto merge of #135753 - compiler-errors:from-ty-const, r=oli-obkbors-16/+4
2025-01-26Incorporate `iter_nodes` into `graph::DirectedGraph`Zalathar-21/+0
2025-01-25Auto merge of #128657 - clubby789:optimize-none, r=fee1-dead,WaffleLapkinbors-10/+281
2025-01-24coverage: Treat the "merged node flow graph" as a plain data structZalathar-83/+89
2025-01-24coverage: Replace `FrozenUnionFind` with a plain IndexVecZalathar-31/+11
2025-01-24coverage: Simplify how counter terms are storedZalathar-30/+20
2025-01-24coverage: Make query `coverage_ids_info` return an OptionZalathar-9/+3
2025-01-24coverage: Remove some dead code from MC/DC branch mapping conversionZalathar-19/+13
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-10/+281
2025-01-20Get rid of mir::Const::from_ty_constMichael Goulet-16/+4
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-19Auto merge of #135709 - lqd:bring-back-len, r=compiler-errorsbors-1/+111
2025-01-19Auto merge of #135715 - matthiaskrgr:rollup-9a18sxj, r=matthiaskrgrbors-7/+388
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-0/+21
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-1/+90
2025-01-18Consolidate ad-hoc MIR lints into real pass-manager-based MIR lintsMichael Goulet-7/+388
2025-01-18coverage: Add a few more comments to counter creationZalathar-0/+15
2025-01-18coverage: Remove `BcbCounter` and `BcbExpression`Zalathar-64/+16
2025-01-18coverage: Flatten top-level counter creation into plain functionsZalathar-95/+91
2025-01-18coverage: Move `phys_counter_for_node` into `CoverageCounters`Zalathar-19/+18
2025-01-18coverage: Remove the `Site` enum now that we only instrument nodesZalathar-35/+16
2025-01-16coverage: Make `yank_to_spantree_root` iterative instead of recursiveZalathar-19/+36
2025-01-16coverage: Completely overhaul counter assignment, using node-flow graphsZalathar-632/+723
2025-01-12Rollup merge of #135377 - compiler-errors:impossible-step, r=oli-obkMatthias Krüger-46/+59
2025-01-11Address PR feedbackScott McMurray-9/+11
2025-01-11[mir-opt] simplify `Repeat`s that don't actually repeat the operandScott McMurray-11/+30
2025-01-11Make MIR cleanup for functions with impossible predicates into a real MIR passMichael Goulet-46/+59
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-125/+131
2025-01-11Auto merge of #135274 - saethlin:array-repeats, r=compiler-errorsbors-0/+30
2025-01-10mir_build: check annotated functions w/out callersDavid Wood-45/+7
2025-01-10inline: move should inline checkDavid Wood-5/+5
2025-01-10validator: move force inline checkDavid Wood-23/+10
2025-01-10inline: remove unnecessary promoted checkDavid Wood-4/+0
2025-01-10inline: re-introduce some callee body checksDavid Wood-2/+29
2025-01-10inline: force inlining shimsDavid Wood-12/+18
2025-01-10mir_transform: implement forced inliningDavid Wood-634/+941
2025-01-10remove more redundant into() conversionsMatthias Krüger-4/+3
2025-01-09Add an InstSimplify for repetitive array expressionsBen Kimock-0/+30
2025-01-08Make the aggregate-then-transmute handling more generalScott McMurray-13/+9
2025-01-08Refactor the cast-then-cast cases together, and support transmute-then-transmuteScott McMurray-89/+113
2025-01-08Use layout information to detect transparent transmutesScott McMurray-9/+34
2025-01-08Apply suggestions from code reviewscottmcm-2/+2
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-24/+55
2025-01-08Don't create cycles by normalizing opaques defined in the body we're checkingMichael Goulet-1/+6