summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/rvalue.rs
AgeCommit message (Expand)AuthorLines
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
2024-07-21Remove unneeded assumption.Markus Reiter-1/+0
2024-07-21Allow optimizing `u32::from::<char>`.Markus Reiter-57/+78
2024-07-20compiler: Never debug_assert in codegenJubilee Young-14/+12
2024-06-20More GVN for PtrMetadataScott McMurray-1/+3
2024-06-19`bug!` more uses of these in runtime stuffScott McMurray-5/+6
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-08offset_of: allow (unstably) taking the offset of slice tail fieldsRalf Jung-1/+4
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-8/+26
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_ssa`.Nicholas Nethercote-0/+1
2024-05-22Stop using `to_hir_binop` in codegenScott McMurray-7/+6
2024-05-20Rollup merge of #125173 - scottmcm:never-checked, r=davidtwcoMatthias Krüger-15/+21
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-15/+21
2024-05-16Fix ICE in non-operand `aggregate_raw_ptr` instrinsic codegenScott McMurray-1/+5
2024-05-11Make `index_by_increasing_offset` return one item for primitivesScott McMurray-11/+2
2024-05-11Unify `Rvalue::Aggregate` paths in cg_ssaScott McMurray-21/+16
2024-05-10Refactoring after the `PlaceValue` additionScott McMurray-38/+14
2024-05-10Auto merge of #123886 - scottmcm:more-rvalue-operands, r=matthewjasperbors-13/+73
2024-05-10Rollup merge of #124957 - compiler-errors:builtin-deref, r=michaelwoeristerMatthias Krüger-2/+1
2024-05-09Make builtin_deref just return a TyMichael Goulet-2/+1
2024-05-08Make SSA aggregates without needing an allocaScott McMurray-12/+69
2024-05-08Aggregating arrays can always take the place pathScott McMurray-2/+5
2024-05-06Refactor float `Primitive`s to a separate `Float` typebeetrees-5/+3
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-2/+2
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