rust/compiler/rustc_mir_transform/src
Dylan DPC 9fa941c23e
Rollup merge of #95649 - ouz-a:mir-opt, r=oli-obk
New mir-opt deref_separator

This adds a new mir-opt that split certain derefs into this form:
`let x = (*a.b).c;` to => `tmp = a.b; let x = (*tmp).c;`

Huge thanks to ``@oli-obk`` for his patient mentoring.
2022-04-06 23:06:06 +02:00
..
coverage Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
inline Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
abort_unwinding_calls.rs
add_call_guards.rs
add_moves_for_packed_drops.rs
add_retag.rs
check_const_item_mutation.rs
check_packed_ref.rs Mention implementers of unsatisfied trait 2022-04-04 21:01:42 +00:00
check_unsafety.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
cleanup_post_borrowck.rs
const_debuginfo.rs
const_goto.rs enhance ConstGoto mir-opt by moving up StorageDead statements 2022-04-06 15:17:41 +08:00
const_prop_lint.rs interp: pass TyCtxt to Machine methods that do not take InterpCx 2022-04-05 13:31:51 -04:00
const_prop.rs interp: pass TyCtxt to Machine methods that do not take InterpCx 2022-04-05 13:31:51 -04:00
deaggregator.rs Clarify which kinds of MIR are allowed during which phases. 2022-03-23 18:34:08 -04:00
deduplicate_blocks.rs
deref_separator.rs kill temp early 2022-04-05 22:38:03 +03:00
dest_prop.rs
dump_mir.rs
early_otherwise_branch.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
elaborate_drops.rs Clarify which kinds of MIR are allowed during which phases. 2022-03-23 18:34:08 -04:00
function_item_references.rs
generator.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
inline.rs Less manipulation of the callee_def_id. 2022-04-02 23:28:09 +02:00
instcombine.rs
lib.rs New mir-opt deref_separator 2022-04-04 18:51:32 +03:00
lower_intrinsics.rs
lower_slice_len.rs
marker.rs
match_branches.rs
multiple_return_terminators.rs
normalize_array_len.rs
nrvo.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
pass_manager.rs Clarify which kinds of MIR are allowed during which phases. 2022-03-23 18:34:08 -04:00
remove_false_edges.rs
remove_noop_landing_pads.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
remove_storage_markers.rs
remove_uninit_drops.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
remove_unneeded_drops.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
remove_zsts.rs
required_consts.rs
reveal_all.rs
separate_const_switch.rs
shim.rs
simplify_branches.rs
simplify_comparison_integral.rs
simplify_try.rs a few mode feedback fixes per @bjorn3 2022-03-30 17:28:19 -04:00
simplify.rs
uninhabited_enum_branching.rs
unreachable_prop.rs