about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs
AgeCommit message (Expand)AuthorLines
2024-04-11Add load/store helpers that take `PlaceValue`Scott McMurray-3/+3
2024-04-11Make `PlaceRef` hold a `PlaceValue` for the non-layout fields (like `OperandR...Scott McMurray-3/+3
2024-03-23Auto merge of #122582 - scottmcm:swap-intrinsic-v2, r=oli-obkbors-0/+24
2024-03-19Make ptr_guaranteed_cmp a rustc_intrinsic and favor its body over backends im...Oli Scherer-7/+0
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-1/+1
2024-03-17Let codegen decide when to `mem::swap` with immediatesScott McMurray-0/+24
2024-03-09Sink ptrtoint for RMW ops on pointers to cg_llvmBen Kimock-40/+10
2024-02-20Add "algebraic" versions of the fast-math intrinsicsBen Kimock-0/+32
2024-02-12Give const_deallocate a default bodyOli Scherer-5/+0
2024-02-12Teach llvm backend how to fall back to default bodiesOli Scherer-30/+28
2023-12-30Auto merge of #118705 - WaffleLapkin:codegen-atomic-exhange-untuple, r=cjgillotbors-3/+1
2023-12-28Change `rustc_codegen_ssa`'s `atomic_cmpxchg` interface to return a pair of v...Bernd Schmidt-3/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-9/+9
2023-12-12codegen: panic when trying to compute size/align of extern typeRalf Jung-13/+9
2023-10-13Format all the let chains in compilerMichael Goulet-13/+56
2023-09-15explain PassMode::CastRalf Jung-1/+1
2023-07-29cg_ssa: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-17/+7
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-14/+14
2023-06-19Remove unchecked_add/sub/mul/shl/shr from CTFE/cg_ssa/cg_clifScott McMurray-43/+6
2023-06-01remove unchecked_div/_rem from cg_ssaScott McMurray-16/+0
2023-04-25Lower `intrinsics::offset` to `mir::BinOp::Offset`Scott McMurray-7/+0
2023-02-18Stop implementing _with_overflow intrinsics in codegen backends.Camille GILLOT-25/+0
2022-12-27[WIP] UPDATE - migrate intrinsic.rs to new diagnostic infrastructureJhonny Bill Mena-52/+12
2022-12-08Add 0..=isize::MAX range metadata to size loads from vtablesErik Desjardins-3/+9
2022-09-10Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-deadbors-6/+2
2022-09-09The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer-6/+2
2022-09-06Lower the assume intrinsic to a MIR statementOli Scherer-4/+0
2022-08-26Move `ArgAbi::pad_i32` into `PassMode::Cast`.Nicholas Nethercote-1/+1
2022-08-26Box `CastTarget` within `PassMode`.Nicholas Nethercote-2/+2
2022-07-20various nits from reviewRalf Jung-1/+4
2022-07-20add range metadata to alignment loadsRalf Jung-2/+7
2022-07-20Move vtable_size and vtable_align impls to cg_ssabjorn3-0/+10
2022-07-01Allow arithmetic and certain bitwise ops on AtomicPtrThom Chiovoloni-3/+1
2022-06-28Rename/restructure memory ordering intrinsics.Mara Bos-32/+26
2022-05-25rustc_codegen_ssa: cleanup `AtomicOrdering`Tomasz Miąsko-5/+5
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-7/+14
2022-02-19Adopt let else in more placesest31-18/+14
2022-01-26`const_deallocate`: Don't deallocate memory allocated in an another const. Do...woppopo-0/+10
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-2/+2
2021-09-13Introduce NullOp::AlignOfGary Guo-1/+0
2021-08-04Prepare inbounds_gep for opaque pointersTomasz Miąsko-1/+3
2021-08-04Prepare gep for opaque pointersTomasz Miąsko-1/+3
2021-07-09Pass type when creating atomic loadNikita Popov-5/+4
2021-03-09Switch to changing cp_non_overlap in tformkadmin-6/+0
2021-03-09Build StKind::CopyOverlappingkadmin-10/+3
2020-12-20Use pointer type in AtomicPtr::swap implementationTomasz Miąsko-2/+13
2020-12-15Always run intrinsics lowering passTomasz Miąsko-15/+1
2020-11-29Cast pointers to usize before passing them to atomic operations as some platf...oli-11/+38
2020-11-28Directly use raw pointers in `AtomicPtr` store/loadoli-3/+3
2020-11-16compiler: fold by valueBastian Kauschke-1/+1