rust/tests/mir-opt/const_prop
Nilstrieb 2beabbbf6f Rename adjustment::PointerCast and variants using it to PointerCoercion
It makes it sound like the `ExprKind` and `Rvalue` are supposed to represent all pointer related
casts, when in reality their just used to share a some enum variants. Make it clear there these
are only coercion to make it clear why only some pointer related "casts" are in the enum.
2023-07-07 18:17:16 +02:00
..
address_of_pair.fn0.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
address_of_pair.rs Add tests. 2023-05-04 21:50:46 +00:00
aggregate.foo.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate.foo.ConstProp.panic-unwind.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate.foo.PreCodegen.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate.foo.PreCodegen.after.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
aggregate.main.PreCodegen.after.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
aggregate.main.PreCodegen.after.panic-unwind.mir Bless tests 2023-06-23 18:36:25 +01:00
aggregate.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
array_index.main.ConstProp.32bit.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
array_index.main.ConstProp.32bit.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
array_index.main.ConstProp.64bit.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
array_index.main.ConstProp.64bit.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
array_index.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
bad_op_div_by_zero.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
bad_op_div_by_zero.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
bad_op_div_by_zero.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
bad_op_mod_by_zero.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
bad_op_mod_by_zero.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
bad_op_mod_by_zero.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
bad_op_unsafe_oob_for_slices.main.ConstProp.32bit.panic-abort.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
bad_op_unsafe_oob_for_slices.main.ConstProp.32bit.panic-unwind.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
bad_op_unsafe_oob_for_slices.main.ConstProp.64bit.panic-abort.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
bad_op_unsafe_oob_for_slices.main.ConstProp.64bit.panic-unwind.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
bad_op_unsafe_oob_for_slices.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
boolean_identities.rs
boolean_identities.test.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
boxes.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
boxes.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
boxes.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
cast.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
cast.rs
checked_add.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
checked_add.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
checked_add.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
const_prop_fails_gracefully.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
const_prop_fails_gracefully.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
const_prop_fails_gracefully.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
control_flow_simplification.hello.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
control_flow_simplification.hello.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
control_flow_simplification.hello.PreCodegen.before.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
control_flow_simplification.hello.PreCodegen.before.panic-unwind.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
control_flow_simplification.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
discriminant.main.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
discriminant.main.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
discriminant.rs
indirect.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
indirect.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
indirect.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
inherit_overflow.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
inherit_overflow.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
inherit_overflow.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
invalid_constant.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
invalid_constant.main.RemoveZsts.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
invalid_constant.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
issue_66971.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_66971.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
issue_66971.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
issue_67019.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
issue_67019.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
issue_67019.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
large_array_index.main.ConstProp.32bit.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
large_array_index.main.ConstProp.32bit.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
large_array_index.main.ConstProp.64bit.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
large_array_index.main.ConstProp.64bit.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
large_array_index.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
mult_by_zero.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mult_by_zero.test.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable_aggregate_mut_ref.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable_aggregate_mut_ref.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_aggregate_partial_read.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable_aggregate_partial_read.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
mutable_variable_aggregate_partial_read.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
mutable_variable_aggregate.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable_aggregate.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_no_prop.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable_no_prop.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
mutable_variable_unprop_assign.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable_unprop_assign.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
mutable_variable_unprop_assign.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
mutable_variable.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
mutable_variable.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
offset_of.concrete.ConstProp.panic-abort.diff Warn on unused offset_of!() result 2023-06-21 11:43:14 +03:00
offset_of.concrete.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
offset_of.generic.ConstProp.panic-abort.diff Warn on unused offset_of!() result 2023-06-21 11:43:14 +03:00
offset_of.generic.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
offset_of.rs Warn on unused offset_of!() result 2023-06-21 11:43:14 +03:00
read_immutable_static.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
read_immutable_static.rs Make some tests unit. 2023-04-23 17:13:18 +00:00
ref_deref_project.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
ref_deref_project.rs Make tests unit. 2023-01-27 18:22:44 +00:00
ref_deref.main.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
ref_deref.rs Make tests unit. 2023-01-27 18:22:44 +00:00
reify_fn_ptr.main.ConstProp.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
reify_fn_ptr.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00
repeat.main.ConstProp.32bit.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
repeat.main.ConstProp.32bit.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
repeat.main.ConstProp.64bit.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
repeat.main.ConstProp.64bit.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
repeat.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
return_place.add.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
return_place.add.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
return_place.add.PreCodegen.before.panic-abort.mir Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
return_place.add.PreCodegen.before.panic-unwind.mir Bless tests 2023-06-23 18:36:25 +01:00
return_place.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
scalar_literal_propagation.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
scalar_literal_propagation.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
scalar_literal_propagation.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
slice_len.main.ConstProp.32bit.panic-abort.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
slice_len.main.ConstProp.32bit.panic-unwind.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
slice_len.main.ConstProp.64bit.panic-abort.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
slice_len.main.ConstProp.64bit.panic-unwind.diff Rename adjustment::PointerCast and variants using it to PointerCoercion 2023-07-07 18:17:16 +02:00
slice_len.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
switch_int.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
switch_int.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
switch_int.main.SimplifyConstCondition-after-const-prop.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
switch_int.main.SimplifyConstCondition-after-const-prop.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
switch_int.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
transmute.from_char.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.from_char.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.invalid_bool.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.invalid_bool.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.invalid_char.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.invalid_char.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.less_as_i8.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.less_as_i8.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.rs Use EMIT_MIR_FOR_EACH_BIT_WIDTH in transmute mir-opt test 2023-04-27 00:00:00 +00:00
transmute.undef_union_as_integer.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.undef_union_as_integer.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_box.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_box.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_direct.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_direct.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_mut.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_mut.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_ref.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.unreachable_ref.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.valid_char.ConstProp.32bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
transmute.valid_char.ConstProp.64bit.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
tuple_literal_propagation.main.ConstProp.panic-abort.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
tuple_literal_propagation.main.ConstProp.panic-unwind.diff Bless tests 2023-06-23 18:36:25 +01:00
tuple_literal_propagation.rs properly mark tests that require panic=abort 2023-06-12 09:34:15 +02:00
while_let_loops.change_loop_body.ConstProp.diff Remove comments from mir-opt MIR dumps 2023-06-15 15:19:11 -04:00
while_let_loops.rs Make ConstProp tests unit. 2023-05-02 16:46:56 +00:00