about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir
AgeCommit message (Expand)AuthorLines
2023-09-23Use correct offset when codegening mir::Const::Indirect.Camille GILLOT-12/+11
2023-09-23Tolerate non-ptr indirect scalars in codegen.Camille GILLOT-1/+1
2023-09-23Reuse calculate_debuginfo_offset for fragments.Camille GILLOT-33/+10
2023-09-21Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obkGuillaume Gomez-12/+12
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-12/+12
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-6/+3
2023-09-19move ConstValue into mirRalf Jung-5/+5
2023-09-18Auto merge of #115748 - RalfJung:post-mono, r=oli-obkbors-67/+21
2023-09-15clarify PassMode::Indirect as wellRalf Jung-1/+1
2023-09-15explain PassMode::CastRalf Jung-8/+8
2023-09-14don't point at const usage site for resolution-time errorsRalf Jung-16/+8
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-65/+27
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-2/+6
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/+3
2023-09-13Rollup merge of #115798 - RalfJung:non_1zst_field, r=wesleywiserMatthias Krüger-31/+10
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-32/+20
2023-09-12add helper method for finding the one non-1-ZST fieldRalf Jung-31/+10
2023-09-11Remove assert that checks type equalityouz-a-4/+4
2023-09-08Auto merge of #115417 - dpaoliello:fixdi, r=wesleywiserbors-3/+8
2023-09-05Refactor how MIR represents composite debuginfo.Camille GILLOT-78/+77
2023-09-01Deduplicate inlined function debug info, but create a new lexical scope to ch...Daniel Paoliello-3/+8
2023-08-29const_eval and codegen: audit uses of is_zstRalf Jung-9/+13
2023-08-27Auto merge of #115139 - cjgillot:llvm-fragment, r=nikicbors-9/+28
2023-08-26Do not produce fragment for ZST.Camille GILLOT-7/+12
2023-08-26Do not forget to pass DWARF fragment information to LLVM.Camille GILLOT-2/+16
2023-08-25Revert "Use the same DISubprogram for each instance of the same inlined funct...Wesley Wiser-13/+3
2023-08-24cache the terminate block with the last reason that we sawRalf Jung-8/+7
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-78/+83
2023-08-22Auto merge of #114643 - dpaoliello:inlinedebuginfo, r=wesleywiserbors-3/+13
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-4/+4
2023-08-17Revert "Implement references VarDebugInfo."Camille GILLOT-42/+12
2023-08-11Use the same DISubprogram for each instance of the same inlined function with...Daniel Paoliello-3/+13
2023-08-06Rollup merge of #114505 - ouz-a:cleanup_mir, r=RalfJungMatthias Krüger-1/+1
2023-08-06cleanup misinformation regarding has_derefouz-a-1/+1
2023-08-03Forbid old-style `simd_shuffleN` intrinsicsOli Scherer-2/+2
2023-08-01Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3bors-106/+28
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-13/+8
2023-07-29cg_ssa: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-106/+28
2023-07-20Monomorphize constants before inspecting themOli Scherer-1/+1
2023-07-18Permit pre-evaluated constants in simd_shuffleOli Scherer-0/+14
2023-07-15Auto merge of #112157 - erikdesjardins:align, r=nikicbors-24/+56
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-27/+27
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+5
2023-07-10ensure byval allocas are sufficiently alignedErik Desjardins-24/+56
2023-07-09Rollup merge of #111618 - cjgillot:name-return-place, r=tmiaskoMatthias Krüger-2/+1
2023-07-08Always name the return place.Camille GILLOT-2/+1
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-9/+13
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-13/+19
2023-07-05Narrow trait `CoverageInfoBuilderMethods` down to just one methodZalathar-39/+4