| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-18 | Move InlineAsmTemplatePiece and InlineAsmOptions to librustc_ast | Amanieu d'Antras | -0/+1 | |
| 2020-05-18 | Implement att_syntax option | Amanieu d'Antras | -1/+5 | |
| 2020-05-18 | Work around more LLVM limitations | Amanieu d'Antras | -1/+76 | |
| 2020-05-18 | Add support for high byte registers on x86 | Amanieu d'Antras | -0/+3 | |
| 2020-05-18 | Implement asm! codegen | Amanieu d'Antras | -15/+463 | |
| 2020-03-26 | Rename asm! to llvm_asm! | Amanieu d'Antras | -3/+3 | |
| asm! is left as a wrapper around llvm_asm! to maintain compatibility. | ||||
| 2020-03-11 | Rollup merge of #69893 - tmiasko:cstr, r=petrochenkov | Mazdak Farrokhzad | -11/+11 | |
| librustc_codegen_llvm: Use slices instead of 0-terminated strings Changed functions: * LLVMRustGetOrInsertFunction * LLVMRustGetNamedValue * LLVMRustBuildCall (removed unused name argument) * LLVMRustInlineAsm * LLVMRustInlineAsmVerify * LLVMRustAppendModuleInlineAsm | ||||
| 2020-03-11 | librustc_codegen_llvm: Use slices instead of 0-terminated strings | Tomasz Miąsko | -11/+11 | |
| Changed functions: * LLVMRustGetOrInsertFunction * LLVMRustGetNamedValue * LLVMRustBuildCall (removed unused name argument) * LLVMRustInlineAsm * LLVMRustInlineAsmVerify * LLVMRustAppendModuleInlineAsm | ||||
| 2020-03-09 | Check if output is immediate value | Yuki Okushi | -2/+8 | |
| 2020-03-05 | Use more efficient &&str to String conversion (clippy::inefficient_to_string) | Matthias Krüger | -1/+1 | |
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -1/+1 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -32/+37 | |
| 2019-12-11 | rustc: Link LLVM directly into rustc again | Alex Crichton | -1/+1 | |
| This commit builds on #65501 continue to simplify the build system and compiler now that we no longer have multiple LLVM backends to ship by default. Here this switches the compiler back to what it once was long long ago, which is linking LLVM directly to the compiler rather than dynamically loading it at runtime. The `codegen-backends` directory of the sysroot no longer exists and all relevant support in the build system is removed. Note that `rustc` still supports a dynamically loaded codegen backend as it did previously, it just no longer supports dynamically loaded codegen backends in its own sysroot. Additionally as part of this the `librustc_codegen_llvm` crate now once again explicitly depends on all of its crates instead of implicitly loading them through the sysroot. This involved filling out its `Cargo.toml` and deleting all the now-unnecessary `extern crate` annotations in the header of the crate. (this in turn required adding a number of imports for names of macros too). The end results of this change are: * Rustbuild's build process for the compiler as all the "oh don't forget the codegen backend" checks can be easily removed. * Building `rustc_codegen_llvm` is much simpler since it's simply another compiler crate. * Managing the dependencies of `rustc_codegen_llvm` is much simpler since it's "just another `Cargo.toml` to edit" * The build process should be a smidge faster because there's more parallelism in the main rustc build step rather than splitting `librustc_codegen_llvm` out to its own step. * The compiler is expected to be slightly faster by default because the codegen backend does not need to be dynamically loaded. * Disabling LLVM as part of rustbuild is still supported, supporting multiple codegen backends is still supported, and dynamic loading of a codegen backend is still supported. | ||||
| 2019-11-21 | reduce size of hir::ExprKind | Mazdak Farrokhzad | -1/+1 | |
| 2019-08-17 | Remove SyntaxContext from {ast, hir}::{GlobalAsm, InlineAsm} | Matthew Jasper | -3/+4 | |
| We now store it in the `Span` of the expression or item. | ||||
| 2019-07-19 | hygiene: Tweak naming some more | Vadim Petrochenkov | -1/+1 | |
| 2019-07-08 | normalize use of backticks for compiler messages in librustc_codegen | Samy Kacimi | -1/+1 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-06-11 | rustc_codegen_*: deny(unused_lifetimes). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-29 | Remove inline_asm_call from cg_ssa | bjorn3 | -2/+46 | |
| `count_insn` is no longer called for inline asm, because it is private to builder.rs | ||||
| 2019-02-18 | librustc_codegen_llvm => 2018 | Taiki Endo | -5/+5 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-11-29 | Use implicit deref instead of BuilderMethods::cx() | bjorn3 | -6/+6 | |
| 2018-11-16 | [eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`. | Eduard-Mihai Burtescu | -1/+1 | |
| 2018-11-16 | [eddyb] rustc_codegen_ssa: handle LLVM unsafety correctly. | Eduard-Mihai Burtescu | -2/+2 | |
| 2018-11-16 | All Builder methods now take &mut self instead of &self | Denis Merigoux | -1/+1 | |
| 2018-11-16 | Finished moving backend-agnostic code to rustc_codegen_ssa | Denis Merigoux | -3/+3 | |
| 2018-11-16 | Move doc to trait declarations | Denis Merigoux | -1/+0 | |
| 2018-11-16 | Generalized mir::codegen_mir (and all subsequent functions) | Denis Merigoux | -92/+96 | |
| 2018-11-16 | Generalized base::coerce_unsized_into | Denis Merigoux | -3/+3 | |
| 2018-11-16 | Generalized memset and memcpy | Denis Merigoux | -1/+1 | |
| 2018-11-16 | Removing LLVM content from CommonMethods -> ConstMethods | Denis Merigoux | -1/+1 | |
| 2018-11-16 | Prefixed type methods & removed trait impl for write::CodegenContext | Denis Merigoux | -2/+2 | |
| 2018-11-16 | Prefixed const methods with "const" instead of "c" | Denis Merigoux | -1/+1 | |
| 2018-11-16 | Traitification of type_ methods | Denis Merigoux | -4/+3 | |
| The methods are now attached to CodegenCx instead of Type | ||||
| 2018-11-16 | Use the method form for CodegenCx everywhere | Denis Merigoux | -1/+1 | |
| 2018-11-16 | Replaced Codegen field access by trait method | Denis Merigoux | -6/+6 | |
| 2018-11-16 | Traitification of common.rs methods | Denis Merigoux | -3/+3 | |
| 2018-11-16 | New files and folders for traits | Denis Merigoux | -1/+1 | |
| Moved common enums to common | ||||
| 2018-11-16 | Generalized AsmDialect for BuilderMethods | Denis Merigoux | -7/+1 | |
| 2018-11-16 | Generalized base.rs#call_memcpy and everything that it uses | Denis Merigoux | -0/+1 | |
| Generalized operand.rs#nontemporal_store and fixed tidy issues Generalized operand.rs#nontemporal_store's implem even more With a BuilderMethod trait implemented by Builder for LLVM Cleaned builder.rs : no more code duplication, no more ValueTrait Full traitification of builder.rs | ||||
| 2018-11-16 | rustc_codegen_llvm: begin generalizing over backend values. | Irina Popa | -1/+1 | |
| 2018-09-25 | codegen_llvm: check inline assembly constraints with LLVM | Levente Kurusa | -1/+7 | |
| 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-07-30 | rustc_codegen_llvm: use safe references for Value. | Irina Popa | -4/+5 | |
| 2018-07-30 | rustc_codegen_llvm: use safe references for Type. | Irina Popa | -2/+2 | |
| 2018-05-17 | Rename trans to codegen everywhere. | Irina Popa | -0/+127 | |
