summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
AgeCommit message (Expand)AuthorLines
2024-03-12Auto merge of #121282 - saethlin:gep-null-means-no-provenance, r=scottmcmbors-2/+2
2024-03-11Lower transmutes from int to pointer type as gep on nullBen Kimock-2/+2
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-1/+2
2024-03-05remove all-zero GEPErik Desjardins-2/+1
2024-02-28Add `f16` and `f128` to `rustc_type_ir::FloatTy` and `rustc_abi::Primitive`Trevor Gross-3/+5
2024-02-08Add a new debug_assertions instrinsic (compiler)Ben Kimock-4/+10
2024-01-22Do not normalize closure signature when building FnOnce shimMichael Goulet-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-10-31Support enum variants in offset_of!George Bateman-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-11/+11
2023-08-29const_eval and codegen: audit uses of is_zstRalf Jung-0/+1
2023-08-01Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3bors-20/+6
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-2/+1
2023-07-29cg_ssa: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-20/+6
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-5/+5
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-9/+13
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-4/+5
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-2/+31
2023-05-31Add a distinct `OperandValue::ZeroSized` variant for ZSTsScott McMurray-33/+35
2023-05-29offset_of: Don't require type to be sizedclubby789-3/+8
2023-05-03Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3Manish Goregaokar-1/+6
2023-05-03Add cross-language LLVM CFI support to the Rust compilerRamon de C Valle-1/+6
2023-04-27Also use `mir::Offset` for pointer `add`Scott McMurray-2/+9
2023-04-21offset_ofDrMeepster-1/+4
2023-04-19Add transmute optimization tests and some extra commentsScott McMurray-0/+9
2023-04-13`assume` value ranges in `transmute`Scott McMurray-5/+58
2023-04-09Handle not all immediates having `abi::Scalar`sScott McMurray-12/+42
2023-04-06Check `CastKind::Transmute` sizes in a better wayScott McMurray-31/+36
2023-04-05Auto merge of #109843 - scottmcm:better-transmute, r=WaffleLapkinbors-19/+159
2023-04-04Allow `transmute`s to produce `OperandValue`s instead of always using `alloca`sScott McMurray-19/+159
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-3/+3
2023-03-29Support TLS access into dylibs on WindowsJohn Kåre Alsaker-1/+13
2023-03-27Rollup merge of #109582 - scottmcm:local-ref-pending, r=oli-obkMatthias Krüger-1/+1
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-2/+2
2023-03-24Refactor: Separate `LocalRef` variant for not-evaluated-yet operandsScott McMurray-1/+1
2023-03-24Auto merge of #109220 - nikic:poison, r=cuviperbors-1/+1
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-1/+59
2023-03-16Use poison instead of undefNikita Popov-1/+1
2023-02-27Implement checked Shl/Shr at MIR building.Camille GILLOT-11/+0
2023-02-24Rename many interner functions.Nicholas Nethercote-1/+1
2023-02-18Remove special case in rvalue codegen.Camille GILLOT-12/+0
2023-02-18Comment codegen optimization.Camille GILLOT-0/+3
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-3/+4
2023-02-02Codegen SetDiscriminant after field assignment.Camille GILLOT-15/+11
2023-02-02Interpret aggregates.Camille GILLOT-0/+5
2022-12-04Avoid from_immediate_or_packed_pair in ThreadLocalRef codegenbjorn3-1/+1
2022-11-16Use `&mut Bx` more.Nicholas Nethercote-100/+73
2022-10-14Allow dyn* upcastingMichael Goulet-21/+6
2022-10-13Rollup merge of #102641 - eholk:dyn-star-box, r=compiler-errorsYuki Okushi-0/+9