rust/compiler/rustc_const_eval/src/interpret
Mark Rousskov e68f3039d4 Optimize large array creation in const-eval
This changes repeated memcpy's to a memset for the case that we're
propagating a single byte into a region of memory.
2024-01-17 20:24:20 -05:00
..
cast.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
discriminant.rs Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
eval_context.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
intern.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
intrinsics.rs Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
machine.rs compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
memory.rs Optimize large array creation in const-eval 2024-01-17 20:24:20 -05:00
mod.rs Directly intern values instead of copying them. 2023-10-25 06:46:48 +00:00
operand.rs avoid marking as immutable what is already immutable 2023-12-07 17:46:48 +01:00
operator.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
place.rs avoid marking as immutable what is already immutable 2023-12-07 17:46:48 +01:00
projection.rs interpret: extend comment on the inhabitedness check in downcast 2023-12-14 09:50:47 +01:00
step.rs move write_aggregate into step file, and also extract write_repeat into separate function 2023-11-28 11:40:17 +01:00
terminator.rs compiler: Lower fn call arg spans down to MIR 2024-01-15 19:07:11 +01:00
traits.rs make it more clear which functions create fresh AllocId 2023-09-14 07:27:31 +02:00
util.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
validity.rs Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
visitor.rs clippy::complexity fixes 2023-12-12 19:28:13 +01:00