about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval/machine.rs
AgeCommit message (Expand)AuthorLines
2023-08-01rename deref_operand → deref_pointer and some Miri helper functionsRalf Jung-2/+2
2023-07-25interpret: make read functions generic over operand typeRalf Jung-1/+1
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-4/+5
2023-07-21CTFE: move `target_{i, u}size_{min, max)` to `rustc_abi::TargetDataLayout`Moulins-4/+3
2023-07-21support non-null pointer niches in CTFEMoulins-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-1/+1
2023-07-11miri: protect Move() function arguments during the callRalf Jung-5/+7
2023-06-24Add enum for `can_access_statics` booleanNilstrieb-3/+18
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-10/+27
2023-05-31Remove const eval limit and implement an exponential backoff lint insteadOli Scherer-17/+65
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-1/+1
2023-04-28share BinOp::Offset between CTFE and MiriRalf Jung-13/+4
2023-04-25Lower `intrinsics::offset` to `mir::BinOp::Offset`Scott McMurray-4/+13
2023-04-20Remove WithOptconstParam.Camille GILLOT-6/+6
2023-04-06Add `UnwindAction::Unreachable`Gary Guo-4/+4
2023-04-06Refactor unwind from Option to a new enumGary Guo-1/+1
2023-03-23A MIR transform that checks pointers are alignedBen Kimock-0/+6
2023-03-21Detect uninhabited types early in const eval.Oli Scherer-2/+2
2023-03-21Add a layout argument to `enforce_validity`.Oli Scherer-2/+2
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-6/+6
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-4/+3
2023-01-23Add comments and remove unnecessary codeBryan Garza-5/+0
2023-01-23Add back Machine::before_terminator(...) methodBryan Garza-0/+5
2023-01-23Replace terminator-based const eval limitBryan Garza-2/+2
2023-01-23Remove debugging-related codeBryan Garza-1/+0
2023-01-23Create stable metric to measure long computation in Const EvalBryan Garza-0/+1
2023-01-20Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors-1/+1
2023-01-17Stop using `BREAK` & `CONTINUE` in compilerScott McMurray-4/+4
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-17`rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle-1/+1
2022-12-15simplify alignment_check_failed a bitRalf Jung-14/+5
2022-12-15Reuse the ctfe error emitting logic for the future incompat lintOli Scherer-17/+22
2022-12-15Move alignment failure error reporting to machineOli Scherer-2/+37
2022-12-15Make alignment checks a future incompat lintOli Scherer-3/+23
2022-12-05fix dupe word typosRageking8-1/+1
2022-11-19Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky-90/+44
2022-11-19fix const `align_offset` implementationLukas Markeffsky-3/+6
2022-11-19replace potential ICE with graceful error (`no_core` only)Lukas Markeffsky-3/+2
2022-11-19don't call `align_offset` during const eval, everLukas Markeffsky-43/+88
2022-11-19make const `align_offset` usefulLukas Markeffsky-23/+106
2022-11-19unify inherent impls of `CompileTimeEvalContext`Lukas Markeffsky-46/+44
2022-10-18Remove allow(rustc::potential_query_instability) in rustc_const_evalCastilloDel-8/+8
2022-09-09The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer-26/+23
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-15/+1
2022-08-28entirely get rid of NeedsRfc CTFE errorsRalf Jung-11/+5
2022-08-28CTFE: exposing pointers and calling extern fn doesn't need an RFC, it is just...Ralf Jung-3/+5
2022-08-28Rollup merge of #101038 - RalfJung:interning-alignment, r=oli-obkMatthias Krüger-3/+3
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-2/+2
2022-08-26no alignment check during interningRalf Jung-3/+3
2022-08-21fix ICE with extra-const-ub-checksRalf Jung-2/+10