about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/consts.rs
AgeCommit message (Expand)AuthorLines
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