about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/lto.rs
AgeCommit message (Expand)AuthorLines
2025-03-01Auto merge of #133250 - DianQK:embed-bitcode-pgo, r=nikicbors-12/+15
2025-02-24codegen_llvm: avoid `Deref` impls w/ extern typeDavid Wood-2/+4
2025-02-23Save pre-link bitcode to `ModuleCodegen`DianQK-0/+4
2025-02-23Add `new_regular` and `new_allocator` to `ModuleCodegen`DianQK-10/+3
2025-02-23The embedded bitcode should always be prepared for LTO/ThinLTODianQK-2/+8
2025-02-21update autodiff flagsManuel Drehwald-23/+62
2025-02-20Merge two operations that were always performed togetherOli Scherer-1/+1
2025-02-11Rollup merge of #136721 - dpaoliello:cleanllvm2, r=ZalatharJacob Pratt-2/+2
2025-02-10rustc_codegen_llvm: Mark items as pub(crate) outside of the llvm moduleDaniel Paoliello-2/+2
2025-02-10move second opt run to lto phase and cleanup codeManuel Drehwald-2/+23
2025-01-13Rollup merge of #133752 - klensy:cp, r=davidtwcoMatthias Krüger-7/+3
2025-01-07llvm: Ignore error value that is always falseMatthew Maurer-5/+1
2025-01-01upstream rustc_codegen_llvm changes for enzyme/autodiffManuel Drehwald-1/+8
2024-12-02Use c"lit" for CStrings without unwrapKornel-1/+1
2024-12-02replace copypasted ModuleLlvm::parseklensy-7/+3
2024-10-30Consistently use safe wrapper function `set_section`Zalathar-1/+2
2024-10-29Rollup merge of #132319 - Zalathar:add-module-flag, r=jieyouxuMatthias Krüger-18/+3
2024-10-29Don't set unnecessary module flag "LTOPostLink"Zalathar-18/+3
2024-10-29Rollup merge of #132216 - klensy:c_uint, r=cuviperJubilee-2/+2
2024-10-29Rollup merge of #131375 - klensy:clone_on_ref_ptr, r=cjgillotJubilee-1/+1
2024-10-29correct LLVMRustCreateThinLTOData arg typesklensy-2/+2
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+1
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-1/+2
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-4/+3
2024-09-23Auto merge of #130724 - compiler-errors:bump, r=Mark-Simulacrumbors-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-21Call module_name_to_str instead of just unwrappingBen Kimock-1/+1
2024-09-19Reformat some comments.Nicholas Nethercote-6/+6
2024-09-11Simplify some nested if statementsMichael Goulet-5/+3
2024-09-09Remove `serialized_bitcode` from `LtoModuleCodegen`.Nicholas Nethercote-6/+2
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-5/+5
2024-08-20Avoid extra `cast()`s after `CStr::as_ptr()`Josh Stone-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-5/+5
2024-07-29Reformat `use` declarations.Nicholas Nethercote-17/+16
2024-07-16Fix unsafe_op_in_unsafe_fn in compilerMichael Goulet-5/+11
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-17/+20
2024-05-24Auto merge of #125463 - GuillaumeGomez:rollup-287wx4y, r=GuillaumeGomezbors-4/+15
2024-05-23cleanup: run rustfmtAugie Fackler-1/+4
2024-05-23thinlto: only build summary file if neededAugie Fackler-4/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+1
2024-05-22rustc_codegen_llvm: add support for writing summary bitcodeAugie Fackler-0/+8
2024-04-09Set target-abi module flag for RISC-V targetskxxt-1/+1
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-3/+3
2024-01-12Revert "Auto merge of #118568 - DianQK:no-builtins-symbols, r=pnkfelix"DianQK-1/+1
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-28/+14
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-25/+18
2023-12-18Rename `CodegenContext::create_diag_handler` as `CodegenContext::create_dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-6/+6
2023-12-14Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkinbors-1/+1
2023-12-12rustc_codegen_llvm: Enforce `rustc::potential_query_instability` lintMartin Nordholts-0/+3