about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+3
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-0/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-14Fix def-use check for call terminatorsTomasz Miąsko-2/+17
2023-10-28share the track_caller handling within a mir::BodyRalf Jung-0/+34
2023-10-20s/generator/coroutine/Oli Scherer-20/+20
2023-10-20s/Generator/Coroutine/Oli Scherer-10/+10
2023-10-18coverage: Attach an optional `FunctionCoverageInfo` to `mir::Body`Zalathar-0/+10
2023-10-08Auto merge of #116454 - tmiasko:small-dominators, r=cjgillotbors-0/+17
2023-10-06Rollup merge of #116277 - RalfJung:post-mono, r=oli-obkJubilee-29/+1
2023-10-05Move DefLocation from rustc_codegen_ssa to rustc_middleTomasz Miąsko-0/+17
2023-10-04Remove mir::LocalDecl::internal.Camille GILLOT-25/+1
2023-09-30dont call mir.post_mono_checks in codegenRalf Jung-29/+1
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