about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
AgeCommit message (Expand)AuthorLines
2025-05-11Rename `OperandBundleOwned` to `OperandBundleBox`Zalathar-5/+5
2025-04-24Rollup merge of #139261 - RalfJung:msvc-align-mitigation, r=oli-obkMatthias Krüger-0/+2
2025-04-16working dupv and dupvonly for fwd modeManuel Drehwald-1/+1
2025-04-07mitigate MSVC unsoundness by not emitting alignment attributes on win32-msvc ...Ralf Jung-0/+2
2025-04-05Update the minimum external LLVM to 19Josh Stone-23/+7
2025-03-24Auto merge of #133984 - DaniPopes:scmp-ucmp, r=scottmcmbors-0/+30
2025-03-07Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwcoMatthias Krüger-101/+40
2025-03-06Lower BinOp::Cmp to llvm.{s,u}cmp.* intrinsicsDaniPopes-0/+30
2025-02-24Mark more LLVM FFI as safeOli Scherer-2/+2
2025-02-24Deduplicate more functions between `SimpleCx` and `CodegenCx`Oli Scherer-49/+4
2025-02-24Make allocator shim creation mostly use safe codeOli Scherer-4/+4
2025-02-24Generalize `BackendTypes` over `GenericCx`Oli Scherer-11/+11
2025-02-24Avoid some duplication between SimpleCx and CodegenCxOli Scherer-33/+21
2025-02-24Use safe FFI for various functions in codegen_llvmOli Scherer-6/+2
2025-02-24codegen_llvm: avoid `Deref` impls w/ extern typeDavid Wood-3/+3
2025-02-24Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcmbors-3/+26
2025-02-19Rework `OperandRef::extract_field` to stop calling `to_immediate_scalar` on t...Scott McMurray-2/+8
2025-02-19PR feedbackScott McMurray-2/+2
2025-02-19Emit `trunc nuw` for unchecked shifts and `to_immediate_scalar`Scott McMurray-2/+26
2025-02-19Emit getelementptr inbounds nuw for pointer::add()Nikita Popov-1/+22
2025-02-19Switch to the LLVMBuildGEPWithNoWrapFlags APINikita Popov-3/+5
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