about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret/value.rs
AgeCommit message (Expand)AuthorLines
2022-07-09tweak names and output and blessRalf Jung-3/+3
2022-07-09review feedbackRalf Jung-3/+3
2022-07-09don't allow ZST in ScalarIntRalf Jung-8/+6
2022-07-02add AllocRange Debug impl; remove redundant AllocId Display implRalf Jung-1/+1
2022-06-14address reviewb-naber-0/+4
2022-06-14address reviewb-naber-1/+0
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-0/+1
2022-06-03Use serde_json for target spec jsonbjorn3-1/+1
2022-05-22Lifetime variance fixes for rustcMichael Goulet-17/+17
2022-05-13Rustc changes for permissive provenancecarbotaniuman-1/+2
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-7/+21
2022-03-07Introduce `ConstAllocation`.Nicholas Nethercote-9/+10
2022-02-21ScalarMaybeUninit is explicitly hexadecimal in its formattingRalf Jung-1/+1
2022-02-21Rollup merge of #94203 - RalfJung:to_sized_int, r=oli-obkMatthias Krüger-21/+25
2022-02-20CTFE engine: Scalar: expose size-generic to_(u)int methodsRalf Jung-21/+25
2022-02-20Implement LowerHex on Scalar to clean up their display in rustdocGuillaume Gomez-7/+11
2022-02-19Don't render Const computed values in hexadecimal for DisplayGuillaume Gomez-0/+5
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-5/+5
2021-08-22Fix typos “a”→“an”Frank Steffahn-2/+2
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-35/+17
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-52/+2
2021-07-14use NonZeroU64 for AllocId to restore old type sizesRalf Jung-2/+2
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-79/+66
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-84/+96
2021-05-18CTFE core engine allocation & memory API improvemenetsRalf Jung-4/+2
2021-03-27Remove (lots of) dead codeJoshua Nelson-10/+0
2021-03-15Do not expose fallible `to_int` operation on `Scalar`.Oli Scherer-17/+15
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-8/+0
2021-03-12Replace a custom lift method with a Lift implOli Scherer-3/+6
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-0/+18
2021-03-12Add convenience conversion methods for ScalarIntOli Scherer-8/+23
2021-03-12Add fallible Scalar to ScalarInt conversion methodOli Scherer-13/+15
2021-03-12Implement valtreeOli Scherer-1/+1
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-3/+3
2021-02-02Fix out of date `Scalar` documentationJake Hughes-1/+1
2021-01-16Enforce that query results implement DebugAaron Hill-1/+1
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-3/+3
2020-11-04Move ZST constant to the top of the impl blockoli-2/+2
2020-11-04Do not raise interp errors from the scalar int moduleoli-1/+7
2020-11-04Add helper for getting an `int` out of a `Scalar`oli-0/+8
2020-11-04Replace `Scalar::zst` with a `Scalar::ZST` constantoli-4/+1
2020-11-04No need for a `zst` constructor method when we can have a constantoli-1/+1
2020-11-04s/Scalar::Raw/Scalar::Intoli-22/+22
2020-11-04Split the "raw integer bytes" part out of `Scalar`Oliver Scherer-86/+21
2020-10-14Remove unused code from rustc_middleest31-9/+0
2020-10-13Replace absolute paths with relative onesest31-2/+2
2020-10-06Rollup merge of #76995 - LingMan:middle_matches, r=varkorYuki Okushi-8/+2
2020-09-21Cache `eval_to_allocation_raw` on diskOliver Scherer-1/+1
2020-09-21Reduce boilerplate with the matches! macroLingMan-8/+2
2020-09-20Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJungbors-2/+2