rust/compiler/rustc_const_eval/src/interpret
bors b05bb29008 Auto merge of #108872 - cjgillot:simp-const-prop, r=oli-obk
Strengthen state tracking in const-prop

Some/many of the changes are replicated between both the const-prop lint and the const-prop optimization.

Behaviour changes:
- const-prop opt does not give a span to propagated values. This was useless as that span's primary purpose is to diagnose evaluation failure in codegen.
- we remove the `OnlyPropagateInto` mode. It was only used for function arguments, which are better modeled by a write before entry.
- the tracking of assignments and discriminants make clearer that we do nothing in `NoPropagation` mode or on indirect places.
2023-03-12 23:27:52 +00:00
..
intrinsics Rename many interner functions. 2023-02-24 07:32:24 +11:00
cast.rs Do not ICE when casting polymorphic values. 2023-03-05 20:55:32 +00:00
discriminant.rs interpret: move discriminant reading and writing to separate file 2023-02-06 17:10:26 +01:00
eval_context.rs Assume the frame has all the locals. 2023-03-08 14:40:37 +00:00
intern.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
intrinsics.rs Rollup merge of #108669 - Nilstrieb:query-my-uninitness, r=compiler-errors 2023-03-04 15:24:39 +05:30
machine.rs Minimal changes to make miri work 2023-02-20 13:50:20 -05:00
memory.rs Minimal changes to make miri work 2023-02-20 13:50:20 -05:00
mod.rs interpret: move discriminant reading and writing to separate file 2023-02-06 17:10:26 +01:00
operand.rs basic dyn* support for Miri 2023-02-20 15:08:05 +01:00
operator.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
place.rs Rollup merge of #108022 - CraftSpider:align-bytes, r=oli-obk 2023-03-02 23:05:27 +01:00
projection.rs Use target instead of machine for mir interpreter integer handling. 2023-02-15 08:56:18 +00:00
step.rs Introduce a no-op PlaceMention statement for let _ =. 2023-03-09 17:45:13 +00:00
terminator.rs Remove DropAndReplace terminator 2023-03-07 14:25:22 +01:00
traits.rs add is_sized method on Abi and Layout, and use it 2022-11-13 12:23:53 +01:00
util.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
validity.rs Access upvars through a query. 2023-02-26 10:30:27 +00:00
visitor.rs basic dyn* support for Miri 2023-02-20 15:08:05 +01:00