about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
AgeCommit message (Expand)AuthorLines
2024-04-21Use it in the library, and `InstSimplify` it away in the easy placesScott McMurray-1/+21
2024-04-11Put `PlaceValue` into `OperandValue::Ref`, rather than 3 tuple fieldsScott McMurray-9/+9
2024-04-11Make `PlaceRef` hold a `PlaceValue` for the non-layout fields (like `OperandR...Scott McMurray-7/+10
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-1/+1
2024-04-03rename `expose_addr` to `expose_provenance`joboet-1/+1
2024-04-02Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=AmanieuJacob Pratt-1/+1
2024-04-02Auto merge of #123385 - matthiaskrgr:rollup-v69vjbn, r=matthiaskrgrbors-7/+5
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-0/+30
2024-03-30De-LLVM the unchecked shifts [MCP#693]Scott McMurray-7/+5
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-0/+30
2024-03-23Rollup merge of #122879 - maurer:callsite-instances, r=workingjubileeJubilee-1/+1
2024-03-23CFI: Use Instance at callsitesMatthew Maurer-1/+1
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-2/+1
2024-03-23rename MIR int2ptr casts to match library nameRalf Jung-1/+1
2024-03-22Ty::new_ref and Ty::new_ptr stop using TypeAndMutMichael Goulet-8/+3
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