rust/tests/mir-opt/copy-prop
Tomasz Miąsko 78da577650 Custom MIR: Support cleanup blocks
Cleanup blocks are declared with `bb (cleanup) = { ... }`.

`Call` and `Drop` terminators take an additional argument describing the
unwind action, which is one of the following:

* `UnwindContinue()`
* `UnwindUnreachable()`
* `UnwindTerminate(reason)`, where reason is `ReasonAbi` or `ReasonInCleanup`
* `UnwindCleanup(block)`

Also support unwind resume and unwind terminate terminators:

* `UnwindResume()`
* `UnwindTerminate(reason)`
2023-11-14 08:23:58 +01:00
..
borrowed_local.f.CopyProp.panic-abort.diff
borrowed_local.f.CopyProp.panic-unwind.diff
borrowed_local.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
branch.foo.CopyProp.panic-abort.diff
branch.foo.CopyProp.panic-unwind.diff
branch.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
calls.multiple_edges.CopyProp.diff
calls.nrvo.CopyProp.diff
calls.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
copy_propagation_arg.arg_src.CopyProp.panic-abort.diff
copy_propagation_arg.arg_src.CopyProp.panic-unwind.diff
copy_propagation_arg.bar.CopyProp.panic-abort.diff
copy_propagation_arg.bar.CopyProp.panic-unwind.diff
copy_propagation_arg.baz.CopyProp.panic-abort.diff
copy_propagation_arg.baz.CopyProp.panic-unwind.diff
copy_propagation_arg.foo.CopyProp.panic-abort.diff
copy_propagation_arg.foo.CopyProp.panic-unwind.diff
copy_propagation_arg.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
custom_move_arg.f.CopyProp.panic-abort.diff
custom_move_arg.f.CopyProp.panic-unwind.diff
custom_move_arg.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
cycle.main.CopyProp.panic-abort.diff
cycle.main.CopyProp.panic-unwind.diff
cycle.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
dead_stores_79191.f.CopyProp.after.panic-abort.mir
dead_stores_79191.f.CopyProp.after.panic-unwind.mir
dead_stores_79191.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
dead_stores_better.f.CopyProp.after.panic-abort.mir
dead_stores_better.f.CopyProp.after.panic-unwind.mir
dead_stores_better.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
issue_107511.main.CopyProp.panic-abort.diff
issue_107511.main.CopyProp.panic-unwind.diff
issue_107511.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
move_arg.f.CopyProp.panic-abort.diff
move_arg.f.CopyProp.panic-unwind.diff
move_arg.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
move_projection.f.CopyProp.panic-abort.diff
move_projection.f.CopyProp.panic-unwind.diff
move_projection.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
mutate_through_pointer.f.CopyProp.diff
mutate_through_pointer.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
non_dominate.f.CopyProp.diff
non_dominate.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
partial_init.main.CopyProp.diff
partial_init.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
reborrow.demiraw.CopyProp.panic-abort.diff
reborrow.demiraw.CopyProp.panic-unwind.diff
reborrow.miraw.CopyProp.panic-abort.diff
reborrow.miraw.CopyProp.panic-unwind.diff
reborrow.remut.CopyProp.panic-abort.diff
reborrow.remut.CopyProp.panic-unwind.diff
reborrow.reraw.CopyProp.panic-abort.diff
reborrow.reraw.CopyProp.panic-unwind.diff
reborrow.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00