about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/operand.rs
AgeCommit message (Expand)AuthorLines
2025-08-18interpret: avoid forcing all integer newtypes into memory during clear_proven...Ralf Jung-0/+10
2025-08-11Turn _span into _trace as trace span nameStypox-2/+2
2025-08-03Rename `Printer` variables.Nicholas Nethercote-6/+7
2025-07-31Add tracing to more functions related to step.rsStypox-0/+12
2025-07-23Remove useless lifetime parameter.Camille GILLOT-2/+2
2025-07-23Give an AllocId to ConstValue::Slice.Camille GILLOT-2/+1
2025-06-27Add InterpCx::layout_of with tracing, shadowing LayoutOfStypox-1/+1
2025-06-25make `tidy-alphabetical` use a natural sortFolkert de Vries-2/+2
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-1/+2
2025-05-24ScalarInt: support conversion with signed int types and cmp::OrderingRalf Jung-1/+1
2025-02-20Remove `BackendRepr::Uninhabited`, replaced with an `uninhabited: bool` field...Zachary S-1/+1
2025-01-07Avoid naming variables `str`Josh Triplett-2/+2
2024-12-14Rollup merge of #134191 - willcrichton:dev, r=RalfJung,lqdMatthias Krüger-9/+18
2024-12-12Make BorrowSet/BorrowData fields accessible via public gettersWill Crichton-4/+3
2024-12-11Make some types and methods related to Polonius + Miri public.Will Crichton-7/+17
2024-12-09interpret: reduce usage of TypingEnv::fully_monomorphizedRalf Jung-4/+6
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-10/+11
2024-10-31stop using `ParamEnv::reveal` while handling MIRlcnr-1/+4
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-21/+32
2024-10-08compiler: Factor rustc_target::abi out of const_evalJubilee Young-7/+8
2024-10-03interpret: Immediate::offset: use shared sanity-check function to ensure inva...Ralf Jung-29/+35
2024-10-02Auto merge of #131006 - RalfJung:immediate-sanity, r=saethlinbors-0/+1
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-24/+27
2024-09-29interpret: always enable write_immediate sanity checksRalf Jung-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-15Rollup merge of #129828 - RalfJung:miri-data-race, r=saethlinMatthias Krüger-0/+1
2024-09-13interpret: simplify SIMD type handlingRalf Jung-24/+0
2024-09-10interpret: mark some hot functions inline(always)Ralf Jung-0/+2
2024-09-10miri: treat non-memory local variables properly for data race detectionRalf Jung-0/+1
2024-09-08interpret: reset provenance on typed copiesRalf Jung-0/+14
2024-09-08interpret: factor out common code for place mutationRalf Jung-0/+26
2024-09-08interpret: make Writeable trait about a to_place operationRalf Jung-1/+1
2024-09-08interpret: remove Readable trait, we can use Projectable insteadRalf Jung-33/+7
2024-08-24interpret: ImmTy: tighten sanity checks in offset logicRalf Jung-6/+15
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+1
2024-08-06interpret: refactor function call handling to be better-abstractedRalf Jung-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-9/+8
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-9/+9
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_const_eval`.Nicholas Nethercote-0/+1
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-1/+21
2024-05-13Remove `extern crate rustc_middle` from `rustc_const_eval`.Nicholas Nethercote-3/+4
2024-04-19Auto merge of #124113 - RalfJung:interpret-scalar-ops, r=oli-obkbors-2/+22
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-1/+1
2024-04-18interpret/binary_int_op: avoid dropping to raw ints until we determined the signRalf Jung-2/+22
2024-04-18Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstriebbors-1/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-17interpret: rename base_pointer -> root_pointerRalf Jung-3/+3
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-0/+7