summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
2024-01-25What even is CoroutineInfoMichael Goulet-4/+15
2024-01-19Pack the u128 in SwitchTargetsJosh Stone-9/+3
2024-01-19LLVM 18 x86 data layout updateMatthew Maurer-3/+9
2024-01-07Merge dead bb pruning and unreachable bb deduplication.Camille GILLOT-0/+1
2024-01-06Don't populate yield and resume types after the factMichael Goulet-10/+19
2024-01-06Auto merge of #119459 - cjgillot:inline-mir-utils, r=compiler-errorsbors-0/+3
2024-01-05Rollup merge of #119563 - compiler-errors:coroutine-resume, r=oli-obkMatthias Krüger-0/+9
2024-01-05Rollup merge of #119566 - Zalathar:remove-spanview, r=Swatinem,NilstriebMichael Goulet-1/+0
2024-01-05Stabilize THIR unsafeckMatthew Jasper-2/+2
2024-01-04Remove `-Zdump-mir-spanview`Zalathar-1/+0
2024-01-04Check yield terminator's resume type in borrowckMichael Goulet-0/+9
2023-12-31Inline successor_within_block.Camille GILLOT-0/+1
2023-12-31Inline dominator check.Camille GILLOT-0/+2
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-1/+1
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