summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/mod.rs
AgeCommit message (Expand)AuthorLines
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
2023-05-31Auto merge of #111913 - oli-obk:valtrees2, r=lcnrbors-46/+1
2023-05-31Inline from_inline_const into its sole call siteOli Scherer-46/+1
2023-05-31Only rewrite valtree-constants to patterns and keep other constants opaqueOli Scherer-2/+2
2023-05-29EarlyBinder::new -> EarlyBinder::bindlcnr-1/+1
2023-05-28Replace EarlyBinder(x) with EarlyBinder::new(x)Kyle Matsuda-1/+1
2023-05-20Rollup merge of #111619 - cjgillot:profile-pass, r=WaffleLapkinDylan DPC-1/+1
2023-05-15Profile MIR passes.Camille GILLOT-1/+1
2023-05-15Auto merge of #111570 - compiler-errors:ct-err, r=BoxyUwUbors-4/+2
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-1/+1
2023-05-14Rename const error methods for consistencyMichael Goulet-4/+2
2023-05-13Support ConstantIndex in debuginfo.Camille GILLOT-2/+5
2023-05-13Implement references VarDebugInfo.Camille GILLOT-12/+26
2023-05-09Implement SSA-based reference propagation.Camille GILLOT-0/+13
2023-05-05Disallow (min) specialization imps with no itemsMatthew Jasper-2/+0
2023-05-01Box AssertKindBen Kimock-3/+3
2023-04-26Derive `Type{Foldable,Visitable}` for `UserTypeProjection`.Nicholas Nethercote-24/+3
2023-04-25Rollup merge of #110750 - scottmcm:vardebug-size, r=cjgillotYuki Okushi-0/+2
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-23Add size asserts for MIR `SourceScopeData` & `VarDebugInfo`Scott McMurray-0/+2
2023-04-22Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors-1/+5
2023-04-21test improvementsDrMeepster-1/+5
2023-04-20Remove WithOptconstParam.Camille GILLOT-43/+19
2023-04-16Simplify `CloneLiftImpls` and `TrivialTypeTraversalImpls`.Nicholas Nethercote-3/+1
2023-04-13Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesle...bors-0/+5
2023-04-11Preserve argument indexes when inlining MIRDavid Lattimore-0/+5
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-04-06Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors-0/+7
2023-04-04Rollup merge of #109901 - cjgillot:validate-debuginfo, r=b-naberMichael Goulet-7/+17
2023-04-03Enforce VarDebugInfo::Place in MIR validation.Camille GILLOT-7/+17
2023-04-03Add Span to StmtKind::Let.Camille GILLOT-0/+7
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-6/+13
2023-03-31Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obkbors-2/+18
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-24/+13
2023-03-23A MIR transform that checks pointers are alignedBen Kimock-2/+18