about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/interpret/operand.rs
AgeCommit message (Expand)AuthorLines
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-762/+0
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-3/+3
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-2/+2
2021-08-30rustc_target: `TyAndLayout::field` should never error.Eduard-Mihai Burtescu-1/+1
2021-08-26make unevaluated const substs optionallcnr-3/+3
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-04Rollup merge of #87720 - matthiaskrgr:clippy_into, r=jyn514Yuki Okushi-1/+1
2021-08-03don't use .into() to convert types to identical types (clippy::useless_conver...Matthias Krüger-1/+1
2021-08-03Small refactorings for miri.Charles Lew-4/+8
2021-08-03Implement pointer casting.Charles Lew-0/+10
2021-07-16avoid manual Debug impls by adding extra Provenance bounds to typesRalf Jung-56/+19
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-12/+24
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-12/+16
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-43/+73
2021-05-18CTFE core engine allocation & memory API improvemenetsRalf Jung-20/+6
2021-04-19fix few typosklensy-1/+1
2021-04-02Auto merge of #83207 - oli-obk:valtree2, r=lcnrbors-1/+1
2021-03-31Forward some layouts to prevent recomputationOli Scherer-1/+1
2021-03-27Remove (lots of) dead codeJoshua Nelson-8/+0
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-1/+1
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-3/+3
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-14/+32
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-3/+3
2021-02-22New mir-opt pass to simplify gotos with const valuesSimon Vandel Sillesen-0/+1
2021-02-20Rollup merge of #82176 - RalfJung:mir-fn-ptr-pretty, r=oli-obkGuillaume Gomez-1/+1
2021-02-16Pass MPlaceTy by reference not valueTomasz Miąsko-8/+15
2021-02-16Pass PlaceTy by reference not valueTomasz Miąsko-2/+2
2021-02-16Pass OpTy by reference not valueTomasz Miąsko-13/+13
2021-02-16Add size assertions for interpreter data structuresTomasz Miąsko-0/+9
2021-02-16fix MIR fn-ptr pretty-printingRalf Jung-1/+1
2021-01-30codegen: assume constants cannot fail to evaluateRalf Jung-0/+4
2020-11-05Rollup merge of #78742 - vn-ki:fix-issue-78655, r=oli-obkMara Bos-1/+1
2020-11-04make intern_const_alloc_recursive return error fix #78655Vishnunarayan K I-1/+1
2020-11-04Add helper for getting an `int` out of a `Scalar`oli-4/+1
2020-11-04Replace `Scalar::zst` with a `Scalar::ZST` constantoli-3/+3
2020-11-04s/Scalar::Raw/Scalar::Intoli-2/+2
2020-11-04Split the "raw integer bytes" part out of `Scalar`Oliver Scherer-9/+6
2020-10-21Lift: take self by valueBastian Kauschke-1/+1
2020-10-13Replace absolute paths with relative onesest31-3/+3
2020-09-21Rollup merge of #76581 - lcnr:bound-too-generic, r=eddybecstatic-morse-4/+2
2020-09-21fix InterpCx resolveBastian Kauschke-1/+1
2020-09-20miri: correctly deal with `ConstKind::Bound`Bastian Kauschke-4/+2
2020-09-19Unify the names of const eval queries and their return typesOliver Scherer-1/+1
2020-09-19Do not call the `const_eval` query in mir interpretation except for caching o...Oliver Scherer-5/+1
2020-09-19Stop using the `const_eval` query for initializers of staticsOliver Scherer-5/+3
2020-09-04Change ty.kind to a methodLeSeulArtichaut-1/+1
2020-08-30mv compiler to compiler/mark-0/+736