summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/cast.rs
AgeCommit message (Expand)AuthorLines
2024-08-25Avoid taking reference of &TyKindMichael Goulet-3/+3
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-2/+2
2024-08-13Auto merge of #128742 - RalfJung:miri-vtable-uniqueness, r=saethlinbors-0/+6
2024-08-09interpret: make identity upcasts a NOP again to avoid them generating a new r...Ralf Jung-0/+6
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-2/+2
2024-08-08Rename struct_tail_erasing_lifetimes to struct_tail_for_codegenMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+2
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-5/+36
2024-06-27Enable const casting for `f16` and `f128`Trevor Gross-10/+17
2024-06-19`bug!` more uses of these in runtime stuffScott McMurray-3/+1
2024-06-12Rollup merge of #126232 - RalfJung:dyn-trait-equality, r=oli-obkGuillaume Gomez-8/+1
2024-06-11interpret: ensure we check bool/char for validity when they are used in a castRalf Jung-3/+7
2024-06-10interpret: refactor dyn trait handlingRalf Jung-8/+1
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-1/+1
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-5/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_const_eval`.Nicholas Nethercote-0/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_const_eval`.Nicholas Nethercote-1/+3
2024-04-21Miri: detect wrong vtables in wide pointersRalf Jung-1/+5
2024-04-03rename `expose_addr` to `expose_provenance`joboet-3/+3
2024-03-23also rename the SIMD intrinsicRalf Jung-2/+2
2024-03-23rename MIR int2ptr casts to match library nameRalf Jung-1/+1
2024-03-22Make RawPtr take Ty and Mutbl separatelyMichael Goulet-1/+1
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-6/+4
2024-03-04typoRalf Jung-1/+1
2024-03-04interpret/cast: make more matches on FloatTy properly exhaustiveRalf Jung-23/+35
2024-02-15Split a bool argument into two named functionsOli Scherer-2/+2
2024-02-09Compute unsizing casts in GVN.Camille GILLOT-1/+1
2024-01-22Do not normalize closure signature when building FnOnce shimMichael Goulet-2/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-01Avoid the path trimming ICE lint in error reportingBen Kimock-8/+4
2023-10-20Adjust importsMichael Goulet-3/+3
2023-10-09float-to-float casts also have non-deterministic NaN resultsRalf Jung-2/+21
2023-09-21Auto merge of #116010 - RalfJung:more-typed-immediates, r=oli-obkbors-53/+56
2023-09-21try to avoid some layout_of callsRalf Jung-34/+33
2023-09-20interpret: less debug-printing of typesRalf Jung-9/+9
2023-09-20interpret: more consistently use ImmTy in operators and castsRalf Jung-24/+28
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-2/+3
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-2/+2
2023-08-29const_eval and codegen: audit uses of is_zstRalf Jung-8/+12
2023-07-25interpret: make read functions generic over operand typeRalf 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-4/+4
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-14/+15
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-7/+13
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+16
2023-03-05Do not ICE when casting polymorphic values.Camille GILLOT-13/+22
2023-02-20basic dyn* support for MiriRalf Jung-2/+9
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-2/+5
2023-02-07Rename PointerSized to PointerLikeMichael Goulet-1/+1