rust/compiler/rustc_mir_transform/src
Matthias Krüger 98222a524d
Rollup merge of #130184 - Zalathar:counters, r=compiler-errors
coverage: Clean up terminology in counter creation

Some of the terminology in this module is confusing, or has drifted out of sync with other parts of the coverage code.

This PR therefore renames some variables and methods, and adjusts comments and debug logging statements, to make things clearer and more consistent.

No functional changes, other than some small tweaks to debug logging.
2024-09-10 17:35:15 +02:00
..
coroutine Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
coverage Rollup merge of #130184 - Zalathar:counters, r=compiler-errors 2024-09-10 17:35:15 +02:00
inline Remove #[macro_use] extern crate tracing from rustc_mir_transform. 2024-08-30 10:01:34 +10:00
shim Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
abort_unwinding_calls.rs Streamline AbortUnwindingCalls. 2024-09-09 15:15:42 +10:00
add_call_guards.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
add_moves_for_packed_drops.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
add_retag.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
add_subtyping_projections.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
check_alignment.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
check_const_item_mutation.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
check_packed_ref.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
cleanup_post_borrowck.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
copy_prop.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
coroutine.rs Rollup merge of #130022 - nnethercote:dataflow-borrowck-lifetimes, r=oli-obk 2024-09-09 20:20:17 +02:00
cost_checker.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
cross_crate_inline.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
ctfe_limit.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
dataflow_const_prop.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
dead_store_elimination.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
deduce_param_attrs.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
deduplicate_blocks.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
deref_separator.rs Use LocalDecls in a couple of places. 2024-09-09 15:15:44 +10:00
dest_prop.rs Remove references from some structs. 2024-09-10 09:11:17 +10:00
dump_mir.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
early_otherwise_branch.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
elaborate_box_derefs.rs Use let/else to de-indent ElaborateBoxDerefs::run_pass. 2024-09-09 15:15:43 +10:00
elaborate_drops.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
errors.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
ffi_unwind_calls.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
function_item_references.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
gvn.rs Remove references from some structs. 2024-09-10 09:11:17 +10:00
inline.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
instsimplify.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
jump_threading.rs Remove references from some structs. 2024-09-10 09:11:17 +10:00
known_panics_lint.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
large_enums.rs Add a useful comment. 2024-09-10 08:54:22 +10:00
lib.rs Make check_live_drops into a MirLint. 2024-09-10 09:11:17 +10:00
lint.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
lower_intrinsics.rs Improve consistency in LowerIntrinsics. 2024-09-09 15:15:44 +10:00
lower_slice_len.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
match_branches.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
mentioned_items.rs Remove references from some structs. 2024-09-10 09:11:17 +10:00
multiple_return_terminators.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
nrvo.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
pass_manager.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
post_drop_elaboration.rs Make check_live_drops into a MirLint. 2024-09-10 09:11:17 +10:00
prettify.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
promote_consts.rs Add a useful comment about PromoteTemps. 2024-09-10 08:54:45 +10:00
ref_prop.rs Remove references from some structs. 2024-09-10 09:11:17 +10:00
remove_noop_landing_pads.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
remove_place_mention.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
remove_storage_markers.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
remove_uninit_drops.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
remove_unneeded_drops.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
remove_zsts.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
required_consts.rs Remove references from some structs. 2024-09-10 09:11:17 +10:00
reveal_all.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
sanity_check.rs Move MirPass to rustc_mir_transform. 2024-09-03 16:03:46 +10:00
shim.rs Use IndexVec::from_raw to construct a const IndexVec. 2024-09-10 09:11:17 +10:00
simplify_branches.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
simplify_comparison_integral.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
simplify.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
single_use_consts.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
sroa.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
ssa.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
unreachable_enum_branching.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
unreachable_prop.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00
validate.rs Improve comment formatting. 2024-09-10 08:42:30 +10:00