rust/compiler/rustc_codegen_ssa/src/mir
Jacob Pratt 6aa015ae9d
Rollup merge of #136610 - Jarcho:range_idx, r=Noratrieb
Allow `IndexSlice` to be indexed by ranges.

This comes with some annoyances as the index type can no longer inferred from indexing expressions. The biggest offender for this is `IndexVec::from_fn_n(|idx| ..., n)` where the index type won't be inferred from the call site or any index expressions inside the closure.

My main use case for this is mapping a `Place` to `Range<Idx>` for value tracking where the range represents all the values the place contains.
2025-02-24 02:11:32 -05:00
..
analyze.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
block.rs Rollup merge of #136439 - yotamofek:pr/codegen-ssa-no-indexing, r=Noratrieb 2025-02-23 14:30:24 -05:00
constant.rs introduce ty::Value 2025-01-30 17:47:44 +01:00
coverageinfo.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
debuginfo.rs When LLVM's location discriminator value limit is exceeded, emit locations with dummy spans instead of dropping them entirely 2025-01-19 07:17:33 -08:00
intrinsic.rs Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptr 2025-02-10 12:49:18 +00:00
locals.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs Rollup merge of #136610 - Jarcho:range_idx, r=Noratrieb 2025-02-24 02:11:32 -05:00
naked_asm.rs Adds binary_format to rustc target specs 2025-02-17 20:32:12 +05:30
operand.rs Fix binding mode problems 2025-02-22 00:13:19 +00:00
place.rs Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm 2025-02-24 03:06:16 +00:00
rvalue.rs Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcm 2025-02-24 03:06:16 +00:00
statement.rs reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00