summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/constant.rs
AgeCommit message (Expand)AuthorLines
2025-03-15Stop relying on rustc_type_ir in non-type-system cratesMichael Goulet-1/+1
2025-01-30introduce `ty::Value`Lukas Markeffsky-1/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-3/+3
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-2/+2
2024-09-17Clean up formatting.Nicholas Nethercote-10/+11
2024-09-17Minimize visibilities.Nicholas Nethercote-2/+2
2024-09-14simd_shuffle: require index argument to be a vectorRalf Jung-24/+11
2024-08-08const vector passed to codegenJames Barford-Evans-10/+29
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-2/+3
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-1/+1
2024-06-05Add `Ty` to `ConstKind::Value`Boxy-1/+1
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-6/+2
2024-03-10add comments explaining where post-mono const eval errors abort compilationRalf Jung-3/+3
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-10-06add some comments explaining how the required_consts stuff fits togetherRalf Jung-0/+2
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-10/+10
2023-09-19move ConstValue into mirRalf Jung-2/+2
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-23/+5
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-32/+20
2023-07-20Monomorphize constants before inspecting themOli Scherer-1/+1
2023-07-18Permit pre-evaluated constants in simd_shuffleOli Scherer-0/+14
2023-06-26Move mir const to valtree conversion to its own method.Oli Scherer-7/+24
2023-06-26Make simd_shuffle_indices use valtreesOli Scherer-12/+11
2022-12-27ADD - create and emit Bug support for DiagnosticsJhonny Bill Mena-1/+5
2022-12-27UPDATE - migrate constant.rs to new diagnostics infrastructureJhonny Bill Mena-2/+3
2022-11-19deduplicate constant evaluation in cranelift backendRalf Jung-1/+8
2022-09-13use ty::Unevaluated<'tcx, ()> in type systemb-naber-18/+18
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-4/+4
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-2/+2
2022-02-19Adopt let else in more placesest31-3/+2
2022-02-15Overhaul `Const`.Nicholas Nethercote-4/+4
2021-09-09Make `abi::Abi` `Copy` and remove a *lot* of refsAndreas Liljeqvist-1/+1
2021-03-20update `const_eval_resolve`lcnr-2/+2
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-1/+1
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-2/+2
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-1/+6
2021-03-12Add `ty` helper function for mir constantsOli Scherer-1/+1
2021-01-24clean up some const error reporting around promotedsRalf Jung-6/+1
2020-12-06[mir-opt] Allow debuginfo to be generated for a constant or a PlaceWesley Wiser-2/+2
2020-11-16compiler: fold by valueBastian Kauschke-3/+3
2020-08-30mv compiler to compiler/mark-0/+91