rust/compiler/rustc_mir_transform/src
bors e454c45f13 Auto merge of #132091 - Zalathar:graph-loops, r=saethlin
coverage: Don't rely on the custom traversal to find enclosing loops

This opens up the possibility of modifying or removing the custom graph traversal used in coverage counter creation, without losing access to the heuristics that care about a node's enclosing loops.

Actually changing the traversal is left for future work, because this PR on its own doesn't change the emitted coverage mappings at all.
2024-10-27 08:19:16 +00:00
..
coroutine Dont ICE when computing coverage of synthetic async closure body 2024-10-18 20:14:02 +11:00
coverage coverage: Don't rely on the custom traversal to find enclosing loops 2024-10-26 09:38:47 +11:00
inline Remove #[macro_use] extern crate tracing from rustc_mir_transform. 2024-08-30 10:01:34 +10:00
shim be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
abort_unwinding_calls.rs Make destructors on extern "C" frames to be executed 2024-09-27 14:40:38 +01:00
add_call_guards.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
add_moves_for_packed_drops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
add_retag.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
add_subtyping_projections.rs Inline and remove some functions. 2024-09-10 08:54:17 +10:00
check_alignment.rs Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
check_const_item_mutation.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
check_packed_ref.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
check_undefined_transmutes.rs Add a Lint for Pointer to Integer Transmutes in Consts 2024-10-05 12:48:02 +00:00
cleanup_post_borrowck.rs be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02:00
copy_prop.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
coroutine.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
cost_checker.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
cross_crate_inline.rs Fix a couple more DefKind discrepancies between DefKind::Closure and DefKind::SyntheticCoroutineBody 2024-09-16 22:09:42 -04:00
ctfe_limit.rs Reduce visibilities, and add warn(unreachable_pub). 2024-09-09 08:48:09 +10:00
dataflow_const_prop.rs make InterpResult a dedicated type to avoid accidentally discarding the error 2024-10-01 21:45:35 +02:00
dead_store_elimination.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
deduce_param_attrs.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
deduplicate_blocks.rs Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
deref_separator.rs Use LocalDecls in a couple of places. 2024-09-09 15:15:44 +10:00
dest_prop.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
dump_mir.rs Dogfood feature(file_buffered) 2024-09-24 14:25:16 -07:00
early_otherwise_branch.rs Revert "Auto merge of #129047 - DianQK:early_otherwise_branch_scalar, r=cjgillot" 2024-09-24 08:44:26 +00:00
elaborate_box_derefs.rs Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
elaborate_drops.rs Get rid of const eval_* and try_eval_* helpers 2024-10-19 18:07:35 +00:00
errors.rs coverage. Warn about too many test vectors 2024-10-08 11:15:26 +08:00
ffi_unwind_calls.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
function_item_references.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
gvn.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
inline.rs Effects cleanup 2024-10-26 10:19:07 +08:00
instsimplify.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
jump_threading.rs Disable jump threading UnOp::Not for non-bool 2024-10-03 15:37:31 -04:00
known_panics_lint.rs Auto merge of #130950 - compiler-errors:yeet-eval, r=BoxyUwU 2024-10-21 03:46:28 +00:00
large_enums.rs Add a useful comment. 2024-09-10 08:54:22 +10:00
lib.rs Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebank 2024-10-06 02:39:23 +00: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 Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
mentioned_items.rs be even more precise about "cast" vs "coercion" 2024-09-24 23:12:02 +02: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 Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-dead 2024-09-12 19:03:41 +02: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 tcx.is_const_fn doesn't work the way it is described, remove it 2024-10-25 20:52:39 +02:00
ref_prop.rs Remove ResultsCursor::contains. 2024-10-14 16:35:28 +11: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 Get rid of const eval_* and try_eval_* helpers 2024-10-19 18:07:35 +00: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 Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04: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 Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
simplify.rs Inline and remove some functions. 2024-09-10 08:54: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 Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
single_use_consts.rs cleanup: don't clone types that are Copy 2024-09-29 13:31:30 +02:00
sroa.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ssa.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04: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 Don't check unsize goal in MIR validation when opaques remain 2024-10-15 21:01:42 -04:00