summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/builder.rs
AgeCommit message (Collapse)AuthorLines
2018-10-23fix typos in various placesMatthias Krüger-1/+1
2018-10-16Fix LLVMRustInlineAsmVerify return type mismatchvarkor-1/+1
2018-10-08codegen_llvm: remove explicit returnsljedrz-1/+1
2018-10-08codegen_llvm: whitespace & formatting improvementsljedrz-8/+8
2018-09-26fixup! codegen_llvm: check inline assembly constraints with LLVMLevente Kurusa-1/+1
2018-09-25codegen_llvm: check inline assembly constraints with LLVMLevente Kurusa-4/+12
LLVM provides a way of checking whether the constraints and the actual inline assembly make sense. This commit introduces a check before emitting code for the inline assembly. If LLVM rejects the inline assembly (or its constraints), then the compiler emits an error E0668 ("malformed inline assembly"). Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-08-23Fix an AMDGPU related load bit range metadata assertion.Richard Diamond-0/+8
2018-08-19Add Builder::array_alloca.Masaki Hara-0/+19
2018-08-10Introduce SmallCStr and use it where applicable.Michael Woerister-4/+4
2018-08-10Introduce const_cstr!() macro and use it where applicable.Michael Woerister-3/+3
2018-07-30rustc_codegen_llvm: fix ownership of Builder.Irina Popa-2/+2
2018-07-30rustc_codegen_llvm: fix tidy errors.Irina Popa-10/+20
2018-07-30rustc_codegen_llvm: use safe references for OperandBundleDef.Irina Popa-5/+4
2018-07-30rustc_codegen_llvm: remove more unused functions.Irina Popa-192/+2
2018-07-30rustc_codegen_llvm: use safe references for BasicBlock.Irina Popa-19/+19
2018-07-30rustc_codegen_llvm: use safe references for Value.Irina Popa-245/+207
2018-07-30rustc_codegen_llvm: use safe references for Builder.Irina Popa-3/+2
2018-07-30rustc_codegen_llvm: use safe references for Type.Irina Popa-62/+62
2018-07-30rustc_codegen_llvm: move from empty enums to extern types.Irina Popa-6/+7
2018-07-24Rollup merge of #52391 - Amanieu:volatile_unaligned, r=alexcrichtonMark Rousskov-1/+7
Add unaligned volatile intrinsics Surprisingly enough, it turns out that unaligned volatile loads are actually useful for certain (very niche) types of lock-free code. I included unaligned volatile stores for completeness, but I currently do not know of any use cases for them. These are only exposed as intrinsics for now. If they turn out to be useful in practice, we can work towards stabilizing them. r? @alexcrichton
2018-07-20Remove unused methodOliver Schneider-18/+1
2018-07-14Add unaligned volatile intrinsicsAmanieu d'Antras-1/+7
2018-07-09Correct some codegen stats countersBen Harris-3/+4
2018-05-17Rename trans to codegen everywhere.Irina Popa-0/+1425