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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
borrowed_local.f.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
borrowed_local.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
branch.foo.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
branch.foo.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
branch.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
calls.multiple_edges.CopyProp.diff Also consider call and yield as MIR SSA. 2023-10-08 16:05:26 +00:00
calls.nrvo.CopyProp.diff Also consider call and yield as MIR SSA. 2023-10-08 16:05:26 +00:00
calls.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
copy_propagation_arg.arg_src.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
copy_propagation_arg.arg_src.CopyProp.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
copy_propagation_arg.bar.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
copy_propagation_arg.bar.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
copy_propagation_arg.baz.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
copy_propagation_arg.baz.CopyProp.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
copy_propagation_arg.foo.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
copy_propagation_arg.foo.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
custom_move_arg.f.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
custom_move_arg.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
cycle.main.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cycle.main.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dead_stores_79191.f.CopyProp.after.panic-unwind.mir Bless tests 2023-06-23 18:36:25 +01:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
dead_stores_better.f.CopyProp.after.panic-unwind.mir Bless tests 2023-06-23 18:36:25 +01:00
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 Rename `adjustment::PointerCast` and variants using it to `PointerCoercion` 2023-07-07 18:17:16 +02:00
issue_107511.main.CopyProp.panic-unwind.diff Rename `adjustment::PointerCast` and variants using it to `PointerCoercion` 2023-07-07 18:17:16 +02:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
move_arg.f.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
move_projection.f.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
move_projection.rs Custom MIR: Support cleanup blocks 2023-11-14 08:23:58 +01:00
mutate_through_pointer.f.CopyProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
non_dominate.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00
partial_init.main.CopyProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
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 Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
reborrow.demiraw.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
reborrow.miraw.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
reborrow.miraw.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
reborrow.remut.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
reborrow.remut.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
reborrow.reraw.CopyProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
reborrow.reraw.CopyProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
reborrow.rs Allow to run filecheck in mir-opt tests. 2023-10-19 15:51:52 +00:00