about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/consts.rs
AgeCommit message (Expand)AuthorLines
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-1/+1
2025-06-29give Pointer::into_parts a more scary name and offer a safer alternativeRalf Jung-2/+3
2025-03-19Lower to a memset(undef) when Rvalue::Repeat repeats uninitBen Kimock-2/+26
2025-03-15Fold visit into tyMichael Goulet-1/+1
2025-01-30introduce `ty::Value`Lukas Markeffsky-12/+10
2025-01-20Get rid of mir::Const::from_ty_constMichael Goulet-11/+0
2025-01-18Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav...Rémy Rakic-3/+0
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+2
2024-12-14Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,R...bors-0/+3
2024-12-09fix ICE on type error in promotedRalf Jung-1/+5
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-0/+3
2024-11-23no more Reveal :(lcnr-3/+5
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-27/+34
2024-11-12Handle infer vars in anon consts on stableBoxy-0/+3
2024-11-12Consolidate type system const evaluation under `traits::evaluate_const`Boxy-11/+9
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-1/+1
2024-10-19Rename normalize to normalize_internal, remove unnecessary usagesMichael Goulet-1/+1
2024-10-19Get rid of const eval_* and try_eval_* helpersMichael Goulet-2/+9
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-2/+2
2024-09-28tweak Const::identity_unevaluated name and docsRalf Jung-1/+3
2024-09-28try to get rid of mir::Const::normalizeRalf Jung-12/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-7/+7
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-13/+22
2024-06-05Add `Ty` to `ConstKind::Value`Boxy-27/+21
2024-06-05Basic removal of `Ty` from places (boring)Boxy-10/+18
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-1/+4
2024-04-29Remove `extern crate rustc_data_structures` from numerous crates.Nicholas Nethercote-1/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-23filter required_consts during inliningRalf Jung-3/+2
2024-04-23properly fill a promoted's required_constsRalf Jung-0/+15
2024-04-19Auto merge of #124113 - RalfJung:interpret-scalar-ops, r=oli-obkbors-4/+16
2024-04-19avoid PartialOrd on ScalarIntRalf Jung-1/+13
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-3/+3
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-2/+6
2024-03-21Remove unnecessary Partial/Ord implOli Scherer-1/+1
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-5/+5
2024-03-10MIR printing: print the path of uneval'd const; refer to promoteds in a consi...Ralf Jung-3/+13
2024-01-19Fix `Stable` trait and its impls to work with the new `with_tables`Oli Scherer-2/+2
2023-12-10remove redundant importssurechen-1/+0
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-3/+3
2023-11-25Review commentMichael Goulet-0/+11
2023-11-25Remove mir::Const::from_anon_constMichael Goulet-99/+3
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-31Turn const_caller_location from a query to a hookOli Scherer-2/+2
2023-10-31Do not ICE on constant evaluation failure in GVN.Camille GILLOT-2/+4