summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
AgeCommit message (Expand)AuthorLines
2025-07-22Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk许杰友 Jieyou Xu (Joe)-1/+17
2025-07-18add various wrappers for gpu code generationManuel Drehwald-1/+17
2025-07-18Update AMDGPU data layoutNikita Popov-0/+5
2025-07-14Eliminate all direct uses of LLVMMDStringInContext2Oli Scherer-2/+2
2025-07-14Use context methods instead of directly calling FFIOli Scherer-9/+5
2025-07-14Merge `typeid_metadata` and `create_metadata`Oli Scherer-3/+4
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-1/+1
2025-06-17Rollup merge of #142588 - ZuseZ4:generic-ctx-imprv, r=oli-obkJacob Pratt-5/+2
2025-06-16add and use generic get_const_int functionManuel Drehwald-5/+2
2025-06-15Use `LLVMIntrinsicGetDeclaration` to completely remove the hardcoded intrinsi...sayantn-177/+15
2025-06-12Simplify implementation of Rust intrinsics by using type parameters in the cachesayantn-334/+128
2025-05-30Auto merge of #139385 - joboet:threadlocal_address, r=nikicbors-0/+1
2025-05-29rustc_codegen_llvm: use `threadlocal.address` intrinsic to access TLSjoboet-0/+1
2025-05-28Remove a couple of uses of interior mutability around staticsbjorn3-5/+12
2025-05-28Remove codegen_unit from MiscCodegenMethodsbjorn3-4/+0
2025-05-10Use the fallback body for `{minimum,maximum}f128` on LLVM as well.Urgau-2/+8
2025-05-09Use intrinsics for `{f16,f32,f64,f128}::{minimum,maximum}` operationsUrgau-0/+10
2025-04-28remove noinline attribute and add alwaysinline after AD passbit-aloo-0/+10
2025-04-05Update the minimum external LLVM to 19Josh Stone-21/+2
2025-04-05Rollup merge of #138368 - rcvalle:rust-kcfi-arity, r=davidtwcoMatthias Krüger-0/+16
2025-04-05KCFI: Add KCFI arity indicator supportRamon de C Valle-0/+16
2025-04-05Rollup merge of #137880 - EnzymeAD:autodiff-batching, r=oli-obkStuart Cook-2/+21
2025-04-04add autodiff batching backendManuel Drehwald-2/+21
2025-03-24Auto merge of #133984 - DaniPopes:scmp-ucmp, r=scottmcmbors-0/+12
2025-03-17Remove implicit #[no_mangle] for #[rustc_std_internal_symbol]bjorn3-1/+2
2025-03-07Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwcoMatthias Krüger-67/+76
2025-03-06Lower BinOp::Cmp to llvm.{s,u}cmp.* intrinsicsDaniPopes-0/+12
2025-02-24Mark more LLVM FFI as safeOli Scherer-6/+4
2025-02-24Use a safe wrapper around an LLVM FFI functionOli Scherer-3/+8
2025-02-24Remove inherent function that has a trait method duplicate of a commonly impo...Oli Scherer-9/+7
2025-02-24Deduplicate more functions between `SimpleCx` and `CodegenCx`Oli Scherer-5/+0
2025-02-24Generalize BaseTypeCodegenMethodsOli Scherer-9/+10
2025-02-24Avoid some duplication between SimpleCx and CodegenCxOli Scherer-44/+56
2025-02-24codegen_llvm: avoid `Deref` impls w/ extern typeDavid Wood-1/+1
2025-02-16Rollup merge of #136545 - durin42:nvptx64-align, r=nikicJacob Pratt-0/+6
2025-02-11Document some safety constraints and use more safe wrappersOli Scherer-6/+4
2025-02-04nvptx64: update default alignment to match LLVM 21Augie Fackler-0/+6
2025-01-30Use ExistentialTraitRef throughout codegenMichael Goulet-5/+3
2025-01-24Rollup merge of #135581 - EnzymeAD:refactor-codgencx, r=oli-obkMatthias Krüger-5/+52
2025-01-24Make CodegenCx and Builder genericManuel Drehwald-5/+52
2025-01-21Auto merge of #134299 - RalfJung:remove-start, r=compiler-errorsbors-1/+0
2025-01-21remove support for the #[start] attributeRalf Jung-1/+0
2025-01-16Add gpu-kernel calling conventionFlakebi-1/+4
2025-01-01upstream rustc_codegen_llvm changes for enzyme/autodiffManuel Drehwald-1/+26
2024-12-11wasm(32|64): update alignment stringAugie Fackler-0/+5
2024-12-10rustc_target: ppc64 target string fixes for LLVM 20Augie Fackler-0/+5
2024-11-30coverage: Rename `CrateCoverageContext` to `CguCoverageContext`Zalathar-4/+4
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-5/+5
2024-11-12allow CFGuard on windows-gnullvmMateusz Mikuła-2/+6
2024-11-07remove the extra specification for llvm versions < 20Hans Wennborg-0/+5