summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-4/+4
2023-09-19move ConstValue into mirRalf Jung-1/+1
2023-09-19organize mir pretty.rs and move more things into it; move statement-related t...Ralf Jung-919/+4
2023-09-19use pretty_print_const_value from MIR constant 'extra' printingRalf Jung-1/+1
2023-09-19move some MIR const pretty-printing into pretty.rsRalf Jung-175/+6
2023-09-19more MIR const types to separate fileRalf Jung-409/+8
2023-09-18Auto merge of #115748 - RalfJung:post-mono, r=oli-obkbors-2/+30
2023-09-18Remove more unused `Lift` impls.Nicholas Nethercote-1/+1
2023-09-18Remove unused `Lift` derives.Nicholas Nethercote-2/+2
2023-09-14don't point at const usage site for resolution-time errorsRalf Jung-4/+1
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-2/+33
2023-09-14Auto merge of #115804 - RalfJung:valtree-to-const-val, r=oli-obkbors-17/+17
2023-09-14fix clippy (and MIR printing) handling of ConstValue::Indirect slicesRalf Jung-25/+10
2023-09-14found another place where we can eval() a const, and go through valtreesRalf Jung-1/+5
2023-09-14always evaluate ConstantKind::Ty through valtreesRalf Jung-16/+12
2023-09-14cleanup op_to_const a bit; rename ConstValue::ByRef → IndirectRalf Jung-1/+1
2023-09-14use AllocId instead of Allocation in ConstValue::ByRefRalf Jung-1/+2
2023-09-13Rollup merge of #115736 - Zoxc:time-cleanup, r=wesleywiserMatthias Krüger-0/+37
2023-09-13Generate MIR pass names for profiling on the fly and pass the body DefId as a...John Kåre Alsaker-0/+37
2023-09-13restore the old logic adjusting ty::UnevaluatedConst before evaluationRalf Jung-4/+5
2023-09-13make the set of methods between our two Const types more consistentRalf Jung-53/+31
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-41/+56
2023-09-11Disentangle `Debug` and `Display` for `Ty`.Nicholas Nethercote-8/+12
2023-09-08Auto merge of #115612 - cjgillot:const-prop-int, r=oli-obkbors-1/+8
2023-09-06Support array length.Camille GILLOT-0/+7
2023-09-05Do not assert in try_to_int.Camille GILLOT-1/+1
2023-09-05Refactor how MIR represents composite debuginfo.Camille GILLOT-42/+28
2023-09-05Refactor projection debug.Camille GILLOT-55/+69
2023-08-24document more things as needing to stay in syncRalf Jung-3/+16
2023-08-17Revert "Implement references VarDebugInfo."Camille GILLOT-4/+0
2023-08-06cleanup misinformation regarding has_derefouz-a-11/+17
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-68/+60
2023-07-25Make everything builtin!Michael Goulet-3/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-29/+28
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-1/+1
2023-07-06Auto merge of #113377 - BoxyUwU:move_ty_ctors_to_ty, r=compiler-errorsbors-1/+1
2023-07-06Auto merge of #113291 - oli-obk:pretty_print_mir_const, r=RalfJungbors-29/+17
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-07-05Name the destructure_mir_constant query appropriatelyOli Scherer-2/+2
2023-07-05Remove a function argument that is always passed with the same value.Oli Scherer-19/+7
2023-07-05Specialize `DestructuredConstant` to its one user (pretty printing)Oli Scherer-5/+10
2023-07-05Specialize `try_destructure_mir_constant` for its sole userOli Scherer-6/+1
2023-07-05Deal with falloutBoxy-2/+2
2023-07-04Replace `const_error` methods with `Const::new_error`Boxy-2/+4
2023-07-04Replace `mk_const` with `Const::new_x` methodsBoxy-1/+1
2023-06-26Assert that we don't convert unevaluated MIR promoteds to unevaluated type co...Oli Scherer-2/+1
2023-06-20address most easy commentsZiru Niu-10/+4
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-5/+7
2023-06-17make ice msg "Unknown runtime phase" a bit nicerMatthias Krüger-3/+3
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-42/+48