summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval/mod.rs
AgeCommit message (Expand)AuthorLines
2023-11-03Auto merge of #117507 - nnethercote:rustc_span, r=Nilstriebbors-1/+1
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-11-01Specify diagnostic path.Camille GILLOT-1/+1
2023-11-01Rename hook.Camille GILLOT-1/+1
2023-10-28interpret: call caller_location logic the same way codegen does, and share so...Ralf Jung-16/+2
2023-09-22Add a way to decouple the implementation and the declaration of a TyCtxt method.Oli Scherer-3/+4
2023-09-19move ConstValue into mirRalf Jung-4/+4
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-1/+1
2023-07-25interpret: read_discriminant: only return VariantIdxRalf Jung-1/+1
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-2/+2
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-1/+1
2023-07-05Name the destructure_mir_constant query appropriatelyOli Scherer-1/+1
2023-07-05Use options instead of errors if the errors are never neededOli Scherer-12/+10
2023-07-05Specialize `DestructuredConstant` to its one user (pretty printing)Oli Scherer-1/+1
2023-07-05Specialize `try_destructure_mir_constant` for its sole userOli Scherer-5/+6
2023-06-26Make simd_shuffle_indices use valtreesOli Scherer-1/+0
2023-06-24Add enum for `can_access_statics` booleanNilstrieb-4/+6
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-11/+2
2023-05-31Remove `deref_mir_constant`Oli Scherer-38/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-1/+1
2022-11-16cleanup and dedupe CTFE and Miri error reportingRalf Jung-2/+2
2022-09-19`DestructuredConst` split mir and tylcnr-2/+2
2022-09-19ctfe, `const_to_op` only for mir constantslcnr-2/+2
2022-08-22Addressing tidy check failnidnogg-2/+7
2022-08-22Addressing last comment on PR reviewnidnogg-3/+3
2022-08-21Fixed failing tests (missing labels), added automatic error code in create_fe...nidnogg-2/+2
2022-08-21Finished const_eval module migration, moving onto sibling foldersnidnogg-6/+6
2022-07-20rename get_global_alloc to try_get_global_allocRalf Jung-1/+1
2022-07-13get rid of MemPlaceMeta::PoisonRalf Jung-1/+0
2022-06-28Improve pretty printing of valtrees for referencesDominik Stolz-78/+0
2022-06-14rebaseb-naber-2/+2
2022-06-14address reviewb-naber-10/+31
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-105/+89
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-1/+1
2022-05-16use GlobalId in eval_to_valtree query and introduce query for valtree_to_cons...b-naber-4/+126
2022-04-21implement valtree -> constvalue conversionb-naber-130/+6
2022-04-18remove an unnecessary use of loc_place.ptr.into_pointer_or_addrRalf Jung-1/+1
2022-04-14handle arrays and slices uniformly in valtree creationb-naber-31/+13
2022-04-12use len on mplace instead of reading immediate, remove dead codeb-naber-37/+12
2022-04-08use deref on ImmTyb-naber-3/+2
2022-04-08create leafs for slicesb-naber-71/+57
2022-03-29include refs in valtree creationb-naber-25/+113
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-4/+4
2022-03-07Introduce `ConstAllocation`.Nicholas Nethercote-1/+1
2022-02-19Fix pretty printing of enums without variantsTomasz Miąsko-0/+4
2022-02-16Support pretty printing of invalid constantsTomasz Miąsko-20/+18
2022-02-15Overhaul `Const`.Nicholas Nethercote-5/+5
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1