rust/compiler/rustc_borrowck/src
bors d829780c4e Auto merge of #131481 - nnethercote:rm-GenKillSet, r=cjgillot
Remove `GenKillAnalysis`

There are two kinds of dataflow analysis in the compiler: `Analysis`, which is the basic kind, and `GenKillAnalysis`, which is a more specialized kind for gen/kill analyses that is intended as an optimization. However, it turns out that `GenKillAnalysis` is actually a  pessimization! It's faster (and much simpler) to do all the gen/kill analyses via `Analysis`. This lets us remove `GenKillAnalysis`, and `GenKillSet`, and a few other things, and also merge `AnalysisDomain` into `Analysis`. The PR removes 500 lines of code and improves performance.

r? `@tmiasko`
2024-10-16 09:45:05 +00:00
..
constraints Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
diagnostics Move trait bound modifiers into hir::PolyTraitRef 2024-10-14 09:20:38 -04:00
polonius various fixes for naked_asm! implementation 2024-10-06 19:00:09 +02:00
region_infer Rollup merge of #131225 - nnethercote:rustc_borrowck-mm, r=lqd 2024-10-07 11:10:54 -07:00
type_check Swap Vec<PredicateObligation> to type alias 2024-10-12 15:17:08 +01:00
util Add warn(unreachable_pub) to rustc_borrowck. 2024-08-16 08:46:57 +10:00
borrow_set.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
borrowck_errors.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
consumers.rs Avoid Rc in BodyWithBorrowckFacts. 2024-10-04 16:48:16 +10:00
dataflow.rs Add defaults for Analysis::apply_{call_return_effect,terminator_effect}. 2024-10-14 16:35:47 +11:00
def_use.rs Rollup merge of #126013 - nnethercote:unreachable_pub, r=Urgau 2024-08-27 00:41:57 +02:00
facts.rs Dogfood feature(file_buffered) 2024-09-24 14:25:16 -07:00
lib.rs Rollup merge of #131225 - nnethercote:rustc_borrowck-mm, r=lqd 2024-10-07 11:10:54 -07:00
location.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
member_constraints.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
nll.rs yeet some clones 2024-10-12 10:59:12 +02:00
path_utils.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
place_ext.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
places_conflict.rs update rustc_borrowck::places_conflict doc-comment 2024-10-10 10:33:29 +03:00
prefixes.rs Remove unnecessary lifetimes in dataflow structs. 2024-09-09 16:14:18 +10:00
renumber.rs Fix some pub(crate) that were undetected bc of instrument 2024-10-04 14:02:09 -04:00
session_diagnostics.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
universal_regions.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
used_muts.rs Remove unnecessary lifetimes in dataflow structs. 2024-09-09 16:14:18 +10:00