about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/lower_intrinsics.rs
AgeCommit message (Expand)AuthorLines
2025-06-29mir: Add a `new` method to `statement`dianqk-69/+66
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-2/+2
2025-05-30`slice.get(i)` should use a slice projection in MIR, like `slice[i]` doesScott McMurray-0/+46
2025-02-03Contracts core intrinsics.Felix S. Klock II-0/+11
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+4
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-09-09Improve consistency in `LowerIntrinsics`.Nicholas Nethercote-62/+63
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-1/+1
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-38/+23
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-0/+17
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-4/+4
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-21Add an intrinsic that lowers to AggregateKind::RawPtrScott McMurray-0/+28
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-0/+2
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-19/+2
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-2/+19
2024-03-04Return a struct from `query intrinsic` to be able to add another field in the...Oli Scherer-5/+5
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-2/+1
2024-02-08Add a new debug_assertions instrinsic (compiler)Ben Kimock-0/+11
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-12/+12
2023-12-10remove redundant importssurechen-1/+0
2023-11-16Remove option_payload_ptr; redundant to offset_ofGeorge Bateman-32/+0
2023-10-13Format all the let chains in compilerMichael Goulet-12/+20
2023-10-09Simplify some mir passes by using let chainsDaniPopes-20/+5
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-2/+2
2023-09-06Don't report any errors in `lower_intrinsics`. They should have been typecked...Oli Scherer-11/+1
2023-09-04read_via_copy: don't prematurely optimize away the readRalf Jung-12/+11
2023-08-03Forbid old-style `simd_shuffleN` intrinsicsOli Scherer-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-6/+7
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+3
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-1/+11
2023-06-01Lower unchecked_{div, rem} to BinOp::{Div, Rem}Scott McMurray-23/+28
2023-05-08Rollup merge of #111004 - clubby789:migrate-mir-transform, r=oli-obkMichael Goulet-7/+3
2023-05-02Migrate `mir_transform` to translatable diagnosticsclubby789-7/+3
2023-04-30Codegen fewer instructions in `mem::replace`Scott McMurray-0/+23
2023-04-25Lower `intrinsics::offset` to `mir::BinOp::Offset`Scott McMurray-0/+17
2023-04-22Add `intrinsics::transmute_unchecked`Scott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-2/+2
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+26
2023-03-18move Option::as_slice to intrinsicAndre Bogus-0/+30
2023-03-14Improved implementation and comments after code review feedbackScott McMurray-13/+18
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-0/+24
2023-02-18Replace _with_overflow instrinsics in LowerIntrinsics.Camille GILLOT-3/+23
2022-09-06Generalize the Assume intrinsic statement to a general Intrinsic statementOli Scherer-8/+16
2022-09-06Lower the assume intrinsic to a MIR statementOli Scherer-0/+11
2022-07-07Make MIR basic blocks field publicTomasz Miąsko-2/+2
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-1/+1
2022-05-23Refactor call terminator to always hold a destination placeJakob Degen-12/+12