about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/consts.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-30Rollup merge of #117317 - RalfJung:track-caller, r=oli-obkGuillaume Gomez-0/+18
2023-10-28interpret: call caller_location logic the same way codegen does, and share so...Ralf Jung-0/+18
2023-10-27Apply suggestions from code reviewCamille Gillot-4/+7
2023-10-25Rename has_provance and tweaks comments.Camille GILLOT-8/+11
2023-10-25Valtrees for primitive types are fine.Camille GILLOT-2/+3
2023-10-25Complete comments.Camille GILLOT-8/+5
2023-10-25Disambiguate non-deterministic constants.Camille GILLOT-0/+34
2023-10-25Evaluate computed values to constants.Camille GILLOT-0/+12
2023-10-05fix fast-path for try_eval_scalar_intRalf Jung-15/+15
2023-10-01Move `eval_bits` optimization upstreamNadrieril-1/+10
2023-09-21Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obkGuillaume Gomez-84/+23
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-73/+17
2023-09-20the Const::eval_bits methods don't need to be given the TyRalf Jung-11/+6
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-9/+18
2023-09-19comment on the difference between mir::ConstantKind::Unevaluated and mir::Con...Ralf Jung-0/+5
2023-09-19move ConstValue into mirRalf Jung-5/+160
2023-09-19move some MIR const pretty-printing into pretty.rsRalf Jung-2/+2
2023-09-19more MIR const types to separate fileRalf Jung-0/+414