/src/test/mir-opt/
../
76803_regression.encode.SimplifyBranchSame.diff
76803_regression.rs
README.md
address-of.rs
address_of.address_of_reborrow.SimplifyCfg-initial.after.mir
address_of.borrow_and_cast.SimplifyCfg-initial.after.mir
array-index-is-temporary.rs
array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.32bit.mir
array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.64bit.mir
asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
asm_unwind_panic_abort.rs
basic_assignment.main.SimplifyCfg-initial.after.mir
basic_assignment.rs
bool_compare.opt1.InstCombine.diff
bool_compare.opt2.InstCombine.diff
bool_compare.opt3.InstCombine.diff
bool_compare.opt4.InstCombine.diff
bool_compare.rs
box_expr.main.ElaborateDrops.before.mir
box_expr.rs
byte_slice.main.SimplifyCfg-elaborate-drops.after.mir
byte_slice.rs
combine_array_len.norm2.InstCombine.32bit.diff
combine_array_len.norm2.InstCombine.64bit.diff
combine_array_len.rs
combine_clone_of_primitives.rs
combine_clone_of_primitives.{impl#0}-clone.InstCombine.diff
const-promotion-extern-static.rs
const_allocation.main.ConstProp.after.32bit.mir
const_allocation.main.ConstProp.after.64bit.mir
const_allocation.rs
const_allocation2.main.ConstProp.after.32bit.mir
const_allocation2.main.ConstProp.after.64bit.mir
const_allocation2.rs
const_allocation3.main.ConstProp.after.32bit.mir
const_allocation3.main.ConstProp.after.64bit.mir
const_allocation3.rs
const_debuginfo.main.ConstDebugInfo.diff
const_debuginfo.rs
const_goto.issue_77355_opt.ConstGoto.diff
const_goto.rs
const_goto_const_eval_fail.f.ConstGoto.diff
const_goto_const_eval_fail.rs
const_goto_storage.match_nested_if.ConstGoto.diff
const_goto_storage.rs
const_promotion_extern_static.BAR-promoted[0].SimplifyCfg-elaborate-drops.after.mir
const_promotion_extern_static.BAR.PromoteTemps.diff
const_promotion_extern_static.BOP.mir_map.0.mir
const_promotion_extern_static.FOO-promoted[0].SimplifyCfg-elaborate-drops.after.mir
const_promotion_extern_static.FOO.PromoteTemps.diff
const_prop
const_prop_miscompile.bar.ConstProp.diff
const_prop_miscompile.foo.ConstProp.diff
const_prop_miscompile.rs
coverage_graphviz.bar.InstrumentCoverage.0.dot
coverage_graphviz.main.InstrumentCoverage.0.dot
coverage_graphviz.rs
dead-store-elimination
deaggregator_test.bar.Deaggregator.diff
deaggregator_test.rs
deaggregator_test_enum.bar.Deaggregator.diff
deaggregator_test_enum.rs
deaggregator_test_enum_2.rs
deaggregator_test_enum_2.test1.Deaggregator.diff
deaggregator_test_multiple.rs
deaggregator_test_multiple.test.Deaggregator.diff
deduplicate_blocks.is_line_doc_comment_2.DeduplicateBlocks.diff
deduplicate_blocks.rs
derefer_complex_case.main.Derefer.diff
derefer_complex_case.rs
derefer_inline_test.main.Derefer.diff
derefer_inline_test.rs
derefer_terminator_test.main.Derefer.diff
derefer_terminator_test.rs
derefer_test.main.Derefer.diff
derefer_test.rs
derefer_test_multiple.main.Derefer.diff
derefer_test_multiple.rs
dest-prop
early_otherwise_branch.opt1.EarlyOtherwiseBranch.diff
early_otherwise_branch.opt2.EarlyOtherwiseBranch.diff
early_otherwise_branch.opt3.EarlyOtherwiseBranch.diff
early_otherwise_branch.rs
early_otherwise_branch_3_element_tuple.opt1.EarlyOtherwiseBranch.diff
early_otherwise_branch_3_element_tuple.rs
early_otherwise_branch_68867.rs
early_otherwise_branch_68867.try_sum.EarlyOtherwiseBranch.before-SimplifyConstCondition-final.after.diff
early_otherwise_branch_68867.try_sum.EarlyOtherwiseBranch.diff
early_otherwise_branch_noopt.noopt1.EarlyOtherwiseBranch.diff
early_otherwise_branch_noopt.rs
early_otherwise_branch_soundness.no_deref_ptr.EarlyOtherwiseBranch.diff
early_otherwise_branch_soundness.no_downcast.EarlyOtherwiseBranch.diff
early_otherwise_branch_soundness.rs
enum_cast.bar.mir_map.0.mir
enum_cast.boo.mir_map.0.mir
enum_cast.droppy.mir_map.0.mir
enum_cast.foo.mir_map.0.mir
enum_cast.rs
equal_true.opt.InstCombine.diff
equal_true.rs
exponential-or.rs
exponential_or.match_tuple.SimplifyCfg-initial.after.mir
fn-ptr-shim.rs
fn_ptr_shim.core.ops-function-Fn-call.AddMovesForPackedDrops.before.mir
funky_arms.float_to_exponential_common.ConstProp.diff
funky_arms.rs
generator-drop-cleanup.rs
generator-storage-dead-unwind.rs
generator-tiny.rs
generator_drop_cleanup.main-{closure#0}.generator_drop.0.mir
generator_storage_dead_unwind.main-{closure#0}.StateTransform.before.mir
generator_tiny.main-{closure#0}.generator_resume.0.mir
graphviz.main.mir_map.0.dot
graphviz.rs
if-condition-int.rs
if_condition_int.dont_opt_bool.SimplifyComparisonIntegral.diff
if_condition_int.dont_opt_floats.SimplifyComparisonIntegral.diff
if_condition_int.dont_remove_comparison.SimplifyComparisonIntegral.diff
if_condition_int.opt_char.SimplifyComparisonIntegral.diff
if_condition_int.opt_i8.SimplifyComparisonIntegral.diff
if_condition_int.opt_multiple_ifs.SimplifyComparisonIntegral.diff
if_condition_int.opt_negative.SimplifyComparisonIntegral.diff
if_condition_int.opt_u32.SimplifyComparisonIntegral.diff
inline
instrument_coverage.bar.InstrumentCoverage.diff
instrument_coverage.main.InstrumentCoverage.diff
instrument_coverage.rs
issue-38669.rs
issue-41110.rs
issue-41697.rs
issue-41888.rs
issue-49232.rs
issue-62289.rs
issue-72181-1.rs
issue-72181.rs
issue-73223.rs
issue-78192.rs
issue-99325.rs
issue_38669.main.SimplifyCfg-initial.after.mir
issue_41110.main.ElaborateDrops.after.mir
issue_41110.test.ElaborateDrops.after.mir
issue_41697.{impl#0}-{constant#0}.SimplifyCfg-promote-consts.after.32bit.mir
issue_41697.{impl#0}-{constant#0}.SimplifyCfg-promote-consts.after.64bit.mir
issue_41888.main.ElaborateDrops.after.mir
issue_49232.main.mir_map.0.mir
issue_62289.test.ElaborateDrops.before.mir
issue_72181.bar.mir_map.0.32bit.mir
issue_72181.bar.mir_map.0.64bit.mir
issue_72181.foo.mir_map.0.32bit.mir
issue_72181.foo.mir_map.0.64bit.mir
issue_72181.main.mir_map.0.32bit.mir
issue_72181.main.mir_map.0.64bit.mir
issue_72181_1.f.mir_map.0.mir
issue_72181_1.main.mir_map.0.mir
issue_73223.main.PreCodegen.32bit.diff
issue_73223.main.PreCodegen.64bit.diff
issue_73223.main.SimplifyArmIdentity.32bit.diff
issue_73223.main.SimplifyArmIdentity.64bit.diff
issue_76432.rs
issue_76432.test.SimplifyComparisonIntegral.diff
issue_78192.f.InstCombine.diff
issue_99325.main.mir_map.0.mir
issues
loop_test.main.SimplifyCfg-promote-consts.after.mir
loop_test.rs
lower_array_len.array_bound.InstCombine.diff
lower_array_len.array_bound.NormalizeArrayLen.diff
lower_array_len.array_bound.SimplifyLocals.diff
lower_array_len.array_bound_mut.InstCombine.diff
lower_array_len.array_bound_mut.NormalizeArrayLen.diff
lower_array_len.array_bound_mut.SimplifyLocals.diff
lower_array_len.array_len.InstCombine.diff
lower_array_len.array_len.NormalizeArrayLen.diff
lower_array_len.array_len.SimplifyLocals.diff
lower_array_len.array_len_by_value.InstCombine.diff
lower_array_len.array_len_by_value.NormalizeArrayLen.diff
lower_array_len.array_len_by_value.SimplifyLocals.diff
lower_array_len.rs
lower_intrinsics.align_of.LowerIntrinsics.diff
lower_intrinsics.discriminant.LowerIntrinsics.diff
lower_intrinsics.f_u64.PreCodegen.before.mir
lower_intrinsics.f_unit.PreCodegen.before.mir
lower_intrinsics.forget.LowerIntrinsics.diff
lower_intrinsics.non_const.LowerIntrinsics.diff
lower_intrinsics.rs
lower_intrinsics.size_of.LowerIntrinsics.diff
lower_intrinsics.unreachable.LowerIntrinsics.diff
lower_intrinsics.wrapping.LowerIntrinsics.diff
lower_slice_len.bound.LowerSliceLenCalls.diff
lower_slice_len.rs
match-arm-scopes.rs
match_arm_scopes.complicated_match.SimplifyCfg-initial.after-ElaborateDrops.after.diff
match_false_edges.full_tested_match.PromoteTemps.after.mir
match_false_edges.full_tested_match2.PromoteTemps.before.mir
match_false_edges.main.PromoteTemps.before.mir
match_false_edges.rs
match_test.main.SimplifyCfg-initial.after.mir
match_test.rs
matches_reduce_branches.bar.MatchBranchSimplification.32bit.diff
matches_reduce_branches.bar.MatchBranchSimplification.64bit.diff
matches_reduce_branches.foo.MatchBranchSimplification.32bit.diff
matches_reduce_branches.foo.MatchBranchSimplification.64bit.diff
matches_reduce_branches.foo.PreCodegen.before.32bit.mir
matches_reduce_branches.foo.PreCodegen.before.64bit.mir
matches_reduce_branches.match_nested_if.MatchBranchSimplification.32bit.diff
matches_reduce_branches.match_nested_if.MatchBranchSimplification.64bit.diff
matches_reduce_branches.rs
matches_u8.exhaustive_match.MatchBranchSimplification.32bit.diff
matches_u8.exhaustive_match.MatchBranchSimplification.64bit.diff
matches_u8.exhaustive_match_i8.MatchBranchSimplification.32bit.diff
matches_u8.exhaustive_match_i8.MatchBranchSimplification.64bit.diff
matches_u8.rs
multiple_return_terminators.rs
multiple_return_terminators.test.MultipleReturnTerminators.diff
nll
no-drop-for-inactive-variant.rs
no-spurious-drop-after-call.rs
no_drop_for_inactive_variant.unwrap.SimplifyCfg-elaborate-drops.after.mir
no_spurious_drop_after_call.main.ElaborateDrops.before.mir
not_equal_false.opt.InstCombine.diff
not_equal_false.rs
nrvo-simple.rs
nrvo_simple.nrvo.RenameReturnPlace.diff
packed-struct-drop-aligned.rs
packed_struct_drop_aligned.main.SimplifyCfg-elaborate-drops.after.32bit.mir
packed_struct_drop_aligned.main.SimplifyCfg-elaborate-drops.after.64bit.mir
receiver-ptr-mutability.rs
receiver_ptr_mutability.main.mir_map.0.mir
remove-never-const.rs
remove_fake_borrows.match_guard.CleanupNonCodegenStatements.diff
remove_fake_borrows.rs
remove_never_const.no_codegen.PreCodegen.after.mir
remove_storage_markers.main.RemoveStorageMarkers.diff
remove_storage_markers.rs
remove_unneeded_drops.cannot_opt_generic.RemoveUnneededDrops.diff
remove_unneeded_drops.dont_opt.RemoveUnneededDrops.diff
remove_unneeded_drops.opt.RemoveUnneededDrops.diff
remove_unneeded_drops.opt_generic_copy.RemoveUnneededDrops.diff
remove_unneeded_drops.rs
remove_zsts_dont_touch_unions.get_union.RemoveZsts.after.mir
remove_zsts_dont_touch_unions.rs
retag.array_casts.SimplifyCfg-elaborate-drops.after.mir
retag.core.ptr-drop_in_place.Test.SimplifyCfg-make_shim.after.mir
retag.main-{closure#0}.SimplifyCfg-elaborate-drops.after.mir
retag.main.SimplifyCfg-elaborate-drops.after.mir
retag.rs
retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.mir
retag.{impl#0}-foo_shr.SimplifyCfg-elaborate-drops.after.mir
return_an_array.rs
rustc.try_identity.DestinationPropagation.diff
separate_const_switch.identity.ConstProp.diff
separate_const_switch.identity.PreCodegen.after.mir
separate_const_switch.identity.SeparateConstSwitch.diff
separate_const_switch.rs
separate_const_switch.too_complex.ConstProp.diff
separate_const_switch.too_complex.PreCodegen.after.mir
separate_const_switch.too_complex.SeparateConstSwitch.diff
simple-match.rs
simple_match.match_bool.mir_map.0.32bit.mir
simple_match.match_bool.mir_map.0.64bit.mir
simplify-arm-identity.rs
simplify-arm.rs
simplify-locals-fixedpoint.rs
simplify-locals-removes-unused-consts.rs
simplify-locals-removes-unused-discriminant-reads.rs
simplify-locals.rs
simplify_arm.id.SimplifyArmIdentity.diff
simplify_arm.id.SimplifyBranchSame.diff
simplify_arm.id_result.SimplifyArmIdentity.diff
simplify_arm.id_result.SimplifyBranchSame.diff
simplify_arm.id_try.SimplifyArmIdentity.diff
simplify_arm.id_try.SimplifyBranchSame.diff
simplify_arm_identity.main.SimplifyArmIdentity.32bit.diff
simplify_arm_identity.main.SimplifyArmIdentity.64bit.diff
simplify_cfg.main.SimplifyCfg-early-opt.diff
simplify_cfg.main.SimplifyCfg-initial.diff
simplify_cfg.rs
simplify_if.main.SimplifyConstCondition-after-const-prop.diff
simplify_if.rs
simplify_locals.c.SimplifyLocals.diff
simplify_locals.d1.SimplifyLocals.diff
simplify_locals.d2.SimplifyLocals.diff
simplify_locals.expose_addr.SimplifyLocals.diff
simplify_locals.r.SimplifyLocals.diff
simplify_locals.t1.SimplifyLocals.diff
simplify_locals.t2.SimplifyLocals.diff
simplify_locals.t3.SimplifyLocals.diff
simplify_locals.t4.SimplifyLocals.diff
simplify_locals_fixedpoint.foo.SimplifyLocals.diff
simplify_locals_removes_unused_consts.main.SimplifyLocals.diff
simplify_locals_removes_unused_discriminant_reads.map.SimplifyLocals.32bit.diff
simplify_locals_removes_unused_discriminant_reads.map.SimplifyLocals.64bit.diff
simplify_match.main.ConstProp.diff
simplify_match.rs
simplify_try.rs
simplify_try.try_identity.DestinationPropagation.diff
simplify_try.try_identity.SimplifyArmIdentity.diff
simplify_try.try_identity.SimplifyBranchSame.after.mir
simplify_try.try_identity.SimplifyLocals.after.mir
simplify_try_if_let.rs
simplify_try_if_let.{impl#0}-append.SimplifyArmIdentity.diff
slice-drop-shim.rs
slice_drop_shim.core.ptr-drop_in_place.[String].AddMovesForPackedDrops.before.32bit.mir
slice_drop_shim.core.ptr-drop_in_place.[String].AddMovesForPackedDrops.before.64bit.mir
spanview-block.rs
spanview-statement.rs
spanview-terminator.rs
spanview_block.main.mir_map.0.html
spanview_statement.main.mir_map.0.html
spanview_terminator.main.mir_map.0.html
storage_live_dead_in_statics.XXX.mir_map.0.mir
storage_live_dead_in_statics.rs
storage_ranges.main.nll.0.mir
storage_ranges.rs
tls-access.rs
tls_access.main.PreCodegen.after.mir
uniform_array_move_out.move_out_by_subslice.mir_map.0.mir
uniform_array_move_out.move_out_from_end.mir_map.0.mir
uniform_array_move_out.rs
uninhabited-enum.rs
uninhabited_enum.process_never.SimplifyLocals.after.mir
uninhabited_enum.process_void.SimplifyLocals.after.mir
uninhabited_enum_branching.main.SimplifyCfg-after-uninhabited-enum-branching.after.mir
uninhabited_enum_branching.main.UninhabitedEnumBranching.diff
uninhabited_enum_branching.rs
uninhabited_enum_branching2.main.SimplifyCfg-after-uninhabited-enum-branching.after.mir
uninhabited_enum_branching2.main.UninhabitedEnumBranching.diff
uninhabited_enum_branching2.rs
uninhabited_fallthrough_elimination.eliminate_fallthrough.UninhabitedEnumBranching.diff
uninhabited_fallthrough_elimination.keep_fallthrough.UninhabitedEnumBranching.diff
uninhabited_fallthrough_elimination.rs
unreachable.main.UnreachablePropagation.diff
unreachable.rs
unreachable_diverging.main.UnreachablePropagation.diff
unreachable_diverging.rs
unusual-item-types.rs
unusual_item_types.E-V-{constant#0}.mir_map.0.32bit.mir
unusual_item_types.E-V-{constant#0}.mir_map.0.64bit.mir
unusual_item_types.Test-X-{constructor#0}.mir_map.0.32bit.mir
unusual_item_types.Test-X-{constructor#0}.mir_map.0.64bit.mir
unusual_item_types.core.ptr-drop_in_place.Vec_i32_.AddMovesForPackedDrops.before.32bit.mir
unusual_item_types.core.ptr-drop_in_place.Vec_i32_.AddMovesForPackedDrops.before.64bit.mir
unusual_item_types.{impl#0}-ASSOCIATED_CONSTANT.mir_map.0.32bit.mir
unusual_item_types.{impl#0}-ASSOCIATED_CONSTANT.mir_map.0.64bit.mir
while-storage.rs
while_let_loops.change_loop_body.ConstProp.32bit.diff
while_let_loops.change_loop_body.ConstProp.64bit.diff
while_let_loops.change_loop_body.PreCodegen.after.32bit.mir
while_let_loops.change_loop_body.PreCodegen.after.64bit.mir
while_let_loops.rs
while_storage.while_loop.PreCodegen.after.mir