about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize
AgeCommit message (Expand)AuthorLines
2024-04-17Use non-exhaustive matches for TyKindDaria Sukhonina-3/+4
2024-04-16Add simple async drop glue generationzetanumbers-2/+6
2024-04-14move the LargeAssignments lint logic into its own fileRalf Jung-140/+161
2024-04-07Only collect mono items from reachable blocksBen Kimock-9/+11
2024-04-01Only allow upstream calls to LLVM intrinsics, not any link_name functionBen Kimock-2/+14
2024-03-29Auto merge of #122671 - Mark-Simulacrum:const-panic-msg, r=Nilstriebbors-10/+11
2024-03-25Instance is CopyMichael Goulet-20/+20
2024-03-22Auto merge of #122852 - compiler-errors:raw-ptr, r=lcnrbors-4/+2
2024-03-22Auto merge of #122580 - saethlin:compiler-builtins-can-panic, r=pnkfelixbors-1/+23
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-4/+2
2024-03-22Codegen const panic messages as function callsMark Rousskov-10/+11
2024-03-21rename items -> free_itemsRalf Jung-1/+1
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-301/+556
2024-03-20collector: move functions around so that the 'root collection' section really...Ralf Jung-259/+264
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-30/+63
2024-03-20mentioned items: also handle closure-to-fn-ptr coercionsRalf Jung-0/+6
2024-03-20mentioned items: also handle vtablesRalf Jung-30/+45
2024-03-20avoid processing mentioned items that are also still usedRalf Jung-3/+27
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-110/+282
2024-03-19Account for #[link_name] intrinsics shimsBen Kimock-0/+1
2024-03-19Remove all checks of `IntrinsicDef::must_be_overridden` except for the actual...Oli Scherer-5/+0
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-1/+1
2024-03-17collector: move ensure_sufficient_stack out of the loopRalf Jung-4/+8
2024-03-16Handle calls to upstream monomorphizations in compiler_builtinsBen Kimock-1/+22
2024-03-14preserve span when evaluating mir::ConstOperandRalf Jung-2/+5
2024-03-14Rollup merge of #122287 - RalfJung:simd-static-assert, r=pnkfelixMatthias Krüger-3/+9
2024-03-13Rollup merge of #122226 - Zalathar:zcoverage-options, r=nnethercoteMatthias Krüger-3/+1
2024-03-13coverage: Remove all unstable values of `-Cinstrument-coverage`Zalathar-3/+1
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-2/+6
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-3/+3
2024-03-11Auto merge of #122132 - nnethercote:diag-renaming3, r=nnethercotebors-3/+3
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-3/+3
2024-03-10add comments explaining where post-mono const eval errors abort compilationRalf Jung-3/+9
2024-03-10use Instance::expect_resolve() instead of unwraping Instance::resolve()Ralf Jung-4/+2
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-1/+2
2024-03-07Apply `EarlyBinder` only to `TraitRef` in `ImplTraitHeader`Yoshitomo Nakanishi-2/+2
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-10/+5
2024-03-04Remove some depgraph edges on the HIR by invoking the intrinsic query instead...Oli Scherer-1/+1
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-0/+5
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+3
2024-02-24Add asm label support to AST and HIRGary Guo-1/+2
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+1
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-5/+10
2024-02-15Auto merge of #120931 - chenyukang:yukang-cleanup-hashmap, r=michaelwoeristerbors-2/+2
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-2/+2
2024-02-13Auto merge of #120919 - oli-obk:impl_polarity, r=compiler-errorsbors-7/+6
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-5/+5
2024-02-12Rollup merge of #120950 - compiler-errors:miri-async-closurs, r=RalfJung,oli-obkMatthias Krüger-1/+1
2024-02-12Teach llvm backend how to fall back to default bodiesOli Scherer-5/+10
2024-02-12Stop calling `impl_polarity` when `impl_trait_ref` was also calledOli Scherer-7/+6