summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
AgeCommit message (Expand)AuthorLines
2025-06-17CodeGen: rework Aggregate implemention for rvalue_creates_operand casesScott McMurray-47/+12
2025-06-10Remove unneeded `FunctionCx` from some codegen methodsScott McMurray-96/+94
2025-03-25Auto merge of #138634 - saethlin:repeated-uninit, r=scottmcm,oli-obkbors-2/+19
2025-03-24Auto merge of #133984 - DaniPopes:scmp-ucmp, r=scottmcmbors-0/+3
2025-03-19Lower to a memset(undef) when Rvalue::Repeat repeats uninitBen Kimock-2/+19
2025-03-17Flatten `if`s in `rustc_codegen_ssa`Yotam Ofek-9/+6
2025-03-15Fix the OperandRef type for NullOp::{UbChecks,ContractChecks}Scott McMurray-1/+1
2025-03-12Don't `alloca` just to look at a discriminantScott McMurray-1/+2
2025-03-09Auto merge of #137513 - scottmcm:identity-transmute, r=saethlinbors-0/+7
2025-03-06Lower BinOp::Cmp to llvm.{s,u}cmp.* intrinsicsDaniPopes-0/+3
2025-03-03Rollup merge of #137894 - compiler-errors:no-scalar-pair-opt, r=oli-obkMatthias Krüger-24/+2
2025-03-02Revert "Auto merge of #135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"Michael Goulet-24/+2
2025-02-28rename BackendRepr::Vector → SimdVectorRalf Jung-1/+1
2025-02-24ssa/mono: deduplicate `type_has_metadata`David Wood-2/+2
2025-02-23Don't re-`assume` in `transmute`s that don't change nichesScott McMurray-0/+7
2025-02-24Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcmbors-9/+20
2025-02-19Rework `OperandRef::extract_field` to stop calling `to_immediate_scalar` on t...Scott McMurray-1/+3
2025-02-19Emit getelementptr inbounds nuw for pointer::add()Nikita Popov-9/+20
2025-02-12`transmute` should also assume non-null pointersScott McMurray-9/+13
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-1/+1
2025-02-03Contracts core intrinsics.Felix S. Klock II-0/+4
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-1/+8
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-3/+4
2025-01-22Auto merge of #135674 - scottmcm:assume-better, r=estebankbors-29/+18
2025-01-21Treat undef bytes as equal to any other byteOli Scherer-2/+24
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-1/+28
2025-01-17Update our range `assume`s to the format that LLVM prefersScott McMurray-29/+18
2025-01-10Use llvm.memset.p0i8.* to initialize all same-bytes arraysOli Scherer-5/+9
2025-01-10Pull element init into a reusable closureOli Scherer-14/+21
2025-01-10Change repeat element check into a matchOli Scherer-15/+18
2024-12-22Delete `Rvalue::Len`Scott McMurray-28/+1
2024-12-06Remove polymorphizationBen Kimock-4/+2
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-3/+3
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-1/+1
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-5/+5
2024-10-28compiler: Add `is_uninhabited` and use LayoutS accessorsJubilee Young-4/+4
2024-10-21stabilize Strict Provenance and Exposed ProvenanceRalf Jung-1/+5
2024-10-04Use wide pointers consistenly across the compilerUrgau-7/+7
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-7/+7
2024-09-24unify dyn* coercions with other pointer coercionsLukas Markeffsky-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-20Do not unnecessarily eval consts in codegenMichael Goulet-2/+5
2024-09-17Merge some impl blocks.Nicholas Nethercote-2/+0
2024-09-17Minimize visibilities.Nicholas Nethercote-7/+7
2024-09-04Don't codegen `expect` in opt-level=0clubby789-1/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-3/+3
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-14/+11
2024-07-27Auto merge of #124905 - reitermarkus:u32-from-char-opt, r=scottmcmbors-57/+79
2024-07-21Clarify when `None` is returned in `cast_immediate` function.Markus Reiter-0/+2