about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
AgeCommit message (Expand)AuthorLines
2025-02-18Auto merge of #133852 - x17jiri:cold_path, r=saethlinbors-2/+46
2025-02-17improve cold_path()Jiri Bobek-2/+46
2025-02-13Set both `nuw` and `nsw` in slice size calculationScott McMurray-0/+31
2025-02-12Rollup merge of #135025 - Flakebi:alloca-addrspace, r=nikicJacob Pratt-2/+4
2025-02-10Cast allocas to default address spaceFlakebi-2/+4
2025-02-02Handle the case where the `or disjoint` folds immediately to a constantScott McMurray-1/+7
2025-01-31Override `disjoint_or` in the LLVM backendScott McMurray-0/+8
2025-01-30Rollup merge of #135026 - Flakebi:global-addrspace, r=saethlinMatthias Krüger-1/+3
2025-01-24Make CodegenCx and Builder genericManuel Drehwald-12/+138
2025-01-24Add comments about address spacesFlakebi-1/+1
2025-01-02Remove range-metadata amdgpu workaroundFlakebi-8/+0
2025-01-02Cast global variables to default address spaceFlakebi-1/+3
2025-01-01upstream rustc_codegen_llvm changes for enzyme/autodiffManuel Drehwald-0/+2
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-5/+5
2024-11-11CFI: Append debug location to CFI blocksBastian Kersting-0/+7
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-1/+1
2024-10-30Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errorsJubilee-2/+2
2024-10-30Clean up FFI calls for operand bundlesZalathar-14/+9
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-2/+2
2024-10-25coverage: SSA doesn't need to know about `instrprof_increment`Zalathar-11/+12
2024-10-25coverage: Emit MC/DC intrinsics using the normal helper methodZalathar-46/+9
2024-10-25coverage: Emit `llvm.instrprof.increment` using the normal helper methodZalathar-24/+2
2024-10-08compiler: Factor rustc_target::abi out of cg_llvmJubilee Young-4/+5
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-50/+13
2024-10-08coverage. Disable supporting mcdc on llvm-18zhuyunxing-0/+13
2024-09-24Auto merge of #130389 - Luv-Ray:LLVMMDNodeInContext2, r=nikicbors-39/+20
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-19MetadataType type castLuv-Ray-8/+7
2024-09-19wrap `LLVMSetMetadata`Luv-Ray-19/+12
2024-09-19Reformat some comments.Nicholas Nethercote-5/+5
2024-09-19Use a macro to factor out some repetitive code.Nicholas Nethercote-80/+27
2024-09-19replace some deprecated functionsLuv-Ray-36/+25
2024-09-18Update the minimum external LLVM to 18Josh Stone-14/+4
2024-09-17Use associative type defaults in `{Layout,FnAbi}OfHelpers`.Nicholas Nethercote-4/+0
2024-09-17Merge `HasCodegen` into `BuilderMethods`.Nicholas Nethercote-4/+2
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-23/+35
2024-08-12Rollup merge of #128149 - RalfJung:nontemporal_store, r=jieyouxu,Amanieu,JubileeGuillaume Gomez-7/+26
2024-08-12make the codegen test also cover an ill-behaved arch, and add linksRalf Jung-0/+2
2024-08-08Rename struct_tail_erasing_lifetimes to struct_tail_for_codegenMichael Goulet-1/+1
2024-08-08Do normalize when computing struct tails in codegenMichael Goulet-2/+3
2024-08-05RISC-V also has sane nontemporal storesRalf Jung-1/+2
2024-08-05nontemporal_store: make sure that the intrinsic is truly just a hintRalf Jung-7/+23
2024-07-30Auto merge of #128250 - Amanieu:select_unpredictable, r=nikicbors-0/+10
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+17
2024-07-28Force LLVM to use CMOV for binary searchAmanieu d'Antras-0/+10
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+1
2024-05-10Auto merge of #124972 - matthiaskrgr:rollup-3fablim, r=matthiaskrgrbors-1/+1
2024-05-09codegen: memmove/memset cannot be non-temporalRalf Jung-0/+1
2024-05-06Refactor float `Primitive`s to a separate `Float` typebeetrees-1/+1
2024-05-01coverage: Set up MC/DC bitmaps without additional unsafe codeZalathar-24/+12