about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform
AgeCommit message (Expand)AuthorLines
2023-09-24Add global value numbering pass.Camille GILLOT-2/+435
2023-09-23Enable drop_tracking_mir by default.Camille GILLOT-93/+18
2023-09-23Do not construct def_path_str for MustNotSuspend.Camille GILLOT-8/+29
2023-09-21Auto merge of #116010 - RalfJung:more-typed-immediates, r=oli-obkbors-11/+19
2023-09-21Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obkGuillaume Gomez-90/+84
2023-09-21Prevent promotion of const fn calls in inline constsOli Scherer-1/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-89/+83
2023-09-21try to avoid some layout_of callsRalf Jung-2/+8
2023-09-20interpret: more consistently use ImmTy in operators and castsRalf Jung-9/+11
2023-09-20coverage: Remove vestigial counter/expression debug labelsZalathar-22/+5
2023-09-20coverage: Remove vestigial `format_counter` methodsZalathar-40/+20
2023-09-20coverage: Remove debug code from the instrumentorZalathar-986/+16
2023-09-20the Const::eval_bits methods don't need to be given the TyRalf Jung-3/+3
2023-09-19move ConstValue into mirRalf Jung-6/+5
2023-09-19Rollup merge of #115930 - Zalathar:spans-bug, r=compiler-errorsMatthias Krüger-31/+17
2023-09-18coverage: Simplify sorting of coverage spans extracted from MIRZalathar-33/+16
2023-09-18coverage: Fix an unstable-sort inconsistency in coverage spansZalathar-1/+4
2023-09-18Rollup merge of #115908 - cjgillot:lint-noclone, r=oli-obkMatthias Krüger-21/+4
2023-09-17Do not clone MIR for const-prop lint.Camille GILLOT-21/+4
2023-09-16coverage: Replace an unnecessary map with a setZalathar-7/+7
2023-09-16coverage: Simplify internal representation of debug typesZalathar-135/+131
2023-09-16coverage: Update log module names in debug docsZalathar-2/+2
2023-09-16coverage: Arrange imports in `rustc_mir_transform::coverage::debug`Zalathar-9/+8
2023-09-14Auto merge of #115817 - fee1-dead-contrib:fix-codegen, r=oli-obkbors-1/+6
2023-09-14treat host effect params as erased generics in codegenDeadbeef-1/+6
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-1/+1
2023-09-14cleanup op_to_const a bit; rename ConstValue::ByRef → IndirectRalf Jung-3/+3
2023-09-14use AllocId instead of Allocation in ConstValue::ByRefRalf Jung-5/+4
2023-09-13Auto merge of #115820 - matthiaskrgr:rollup-kyglvpu, r=matthiaskrgrbors-1/+15
2023-09-13Rollup merge of #115815 - bvanjoi:fix-115809, r=oli-obkMatthias Krüger-0/+5
2023-09-13Rollup merge of #115736 - Zoxc:time-cleanup, r=wesleywiserMatthias Krüger-1/+10
2023-09-13Auto merge of #115797 - cjgillot:const-prop-noclone, r=oli-obkbors-129/+102
2023-09-13fix: skip opt if body has tainted errorbohan-0/+5
2023-09-13Generate MIR pass names for profiling on the fly and pass the body DefId as a...John Kåre Alsaker-4/+10
2023-09-13make the set of methods between our two Const types more consistentRalf Jung-2/+2
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-5/+3
2023-09-12Do not fetch type to check generator.Camille GILLOT-1/+1
2023-09-12Do not clone body for ConstProp.Camille GILLOT-25/+8
2023-09-12Reuse CollectAndPatch for normal ConstProp.Camille GILLOT-90/+72
2023-09-12Store a ConstantKind in CollectAndPatch.Camille GILLOT-23/+28
2023-09-12Introduce Machine::POST_MONO_CHECKS.Camille GILLOT-0/+3
2023-09-11Remove cur_span hook.Camille GILLOT-7/+3
2023-09-11Reuse throw_machine_stop_str! macro.Camille GILLOT-53/+24
2023-09-11Return ImmTy in discriminant_for_variant.Camille GILLOT-8/+5
2023-09-11Interpret Immediate::Uninit as Bottom.Camille GILLOT-13/+10
2023-09-11Support CopyForDeref.Camille GILLOT-0/+6
2023-09-11Handle reading statics.Camille GILLOT-38/+86
2023-09-11Support non-scalar constants.Camille GILLOT-6/+100
2023-09-10Remove `verbose_generic_activity_with_arg`John Kåre Alsaker-1/+4
2023-09-08Auto merge of #115612 - cjgillot:const-prop-int, r=oli-obkbors-116/+207