about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
AgeCommit message (Collapse)AuthorLines
2018-11-29Rollup merge of #56257 - mark-i-m:rustc-guide-links, r=nikomatsakisGuillaume Gomez-1/+1
rustc-guide has moved to rust-lang/ r? @nikomatsakis
2018-11-29rustc_codegen_llvm: don't overalign loads of pair operands.Eduard-Mihai Burtescu-3/+9
2018-11-26libcore: Add va_list lang item and intrinsicsDan Robertson-13/+215
- Add the llvm intrinsics used to manipulate a va_list. - Add the va_list lang item in order to allow implementing VaList in libcore.
2018-11-26rustc-guide has movedMark Mansi-1/+1
2018-11-25Rollup merge of #56075 - alexcrichton:wasm-producer-section, r=estebankPietro Albini-0/+112
Encode a custom "producers" section in wasm files This commit implements WebAssembly/tool-conventions#65 for wasm files produced by the Rust compiler. This adds a bit of metadata to wasm modules to indicate that the file's language includes Rust and the file's "processed-by" tools includes rustc. The thinking with this section is to eventually have telemetry in browsers tracking all this.
2018-11-24Introduce `TyKind::Placeholder` variantscalexm-0/+1
2018-11-24Rollup merge of #56154 - petrhosek:fuchsia-linker-args, r=alexcrichtonkennytm-1/+9
Pass additional linker flags when targeting Fuchsia This is a follow up to 8aa9267 which changed the driver to use lld directly rather than invoking it through Clang. This change ensures we pass all the necessary flags to lld.
2018-11-24Rollup merge of #56048 - bjorn3:cg_ssa_sysroot, r=eddybkennytm-1/+0
Add rustc_codegen_ssa to sysroot Outside of rustc you are currently unable to use it. r? @nikomatsakis (because you r+'ed #55627)
2018-11-23Auto merge of #54071 - eddyb:alignsssss, r=oli-obkbors-77/+74
rustc_target: separate out an individual alignment quantity type from Align. Before this PR, `rustc_target::abi::Align` combined "power-of-two alignment quantity" semantics, with a distinction between ABI (required) and preferred alignment (by having two quantities). After this PR, `Align` is only *one* such quantity, and a new `AbiAndPrefAlign` type is introduced to hold the pair of ABI and preferred `Align` quantities. `Align` is used everywhere one quantity is necessary/sufficient, simplifying some of the code in codegen/miri, while `AbiAndPrefAlign` only in layout computation (to propagate preferred alignment). r? @oli-obk cc @nagisa @RalfJung @nikomatsakis
2018-11-22Add rustc_codegen_ssa to sysrootbjorn3-1/+0
2018-11-22Pass additional linker flags when targeting FuchsiaPetr Hosek-1/+9
This is a follow up to 8aa9267 which changed the driver to use lld directly rather than invoking it through Clang. This change ensures we pass all the necessary flags to lld.
2018-11-22rustc_target: avoid using AbiAndPrefAlign where possible.Eduard-Mihai Burtescu-84/+84
2018-11-22rustc_target: separate out an individual Align from AbiAndPrefAlign.Eduard-Mihai Burtescu-42/+42
2018-11-22rustc_target: rename abi::Align to AbiAndPrefAlign.Eduard-Mihai Burtescu-39/+36
2018-11-21rustc: remove {FxHash,Node,DefId,HirId,ItemLocal}{Map,Set} "constructor" fns.Eduard-Mihai Burtescu-1/+1
2018-11-19Encode a custom "producers" section in wasm filesAlex Crichton-0/+112
This commit implements WebAssembly/tool-conventions#65 for wasm files produced by the Rust compiler. This adds a bit of metadata to wasm modules to indicate that the file's language includes Rust and the file's "processed-by" tools includes rustc. The thinking with this section is to eventually have telemetry in browsers tracking all this.
2018-11-16[eddyb] rustc_codegen_llvm: remove unused parametrization of `CodegenCx` and ↵Eduard-Mihai Burtescu-18/+18
`Builder` over `Value`s.
2018-11-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-23/+23
2018-11-16[eddyb] rustc_codegen_ssa: avoid a `Clone` bound on `TargetMachine`.Eduard-Mihai Burtescu-12/+1
2018-11-16[eddyb] rustc_codegen_llvm: remove unnecessary `'a` from ↵Eduard-Mihai Burtescu-3/+3
`LlvmCodegenBackend` impls.
2018-11-16[eddyb] rustc_codegen_ssa: handle LLVM unsafety correctly.Eduard-Mihai Burtescu-16/+21
2018-11-16Separating the back folder between backend-agnostic and LLVM-specific codeDenis Merigoux-2351/+319
2018-11-16Added default impl for DerivedTypeMethods + empty impl for Cranelift ↵Denis Merigoux-120/+5
BaseTypeMethods
2018-11-16All Builder methods now take &mut self instead of &selfDenis Merigoux-264/+276
2018-11-16Added some docs + start to &mut self builder methodsDenis Merigoux-14/+14
2018-11-16Finished moving backend-agnostic code to rustc_codegen_ssaDenis Merigoux-134/+90
2018-11-16Great separation of librustc_codegen_llvm: librustc_codegen_ssa compilesDenis Merigoux-6656/+94
2018-11-16Moved DeclareMethods, MiscMethods and StaticMethodsDenis Merigoux-159/+4
2018-11-16Beginning of moving all backend-agnostic code to rustc_codegen_ssaDenis Merigoux-102/+104
2018-11-16Moved Backend interface into rustc_codegen_utilsDenis Merigoux-176/+16
2018-11-16[eddyb/rebase cleanup] move type_{needs_drop,is_sized,is_freeze} to ↵Eduard-Mihai Burtescu-3/+4
rustc_codegen_utils
2018-11-16[eddyb/rebase cleanup] abstracted FuncletEduard-Mihai Burtescu-86/+59
2018-11-16Moved common.rs enumsDenis Merigoux-155/+95
2018-11-16Starting to move backend-agnostic code into codegen_utilsDenis Merigoux-29/+22
IntPredicate moved
2018-11-16Added compile codegen to backend traitDenis Merigoux-30/+18
2018-11-16Preparing the generalization of base:compile_coodegen_unitDenis Merigoux-57/+114
2018-11-16Renamed lifetimes for better understandingDenis Merigoux-14/+13
2018-11-16Generalized base:codegen_crateDenis Merigoux-66/+160
2018-11-16Move doc to trait declarationsDenis Merigoux-111/+124
2018-11-16Generalized base:maybe_create_entry_wrapperDenis Merigoux-24/+39
2018-11-16Adapt code to latest rustc master changesDenis Merigoux-9/+3
2018-11-16Generalized mono_item.rs and base.rs:codegen_instanceDenis Merigoux-90/+136
2018-11-16Generalized mir::codegen_mir (and all subsequent functions)Denis Merigoux-1347/+1735
2018-11-16Generalized base::coerce_unsized_intoDenis Merigoux-145/+184
2018-11-16Generalized base::unsize_thin_ptrDenis Merigoux-41/+61
2018-11-16Generalized base::unsized_infoDenis Merigoux-290/+341
2018-11-16[eddyb/rebase cleanup] s/&self./self.Eduard-Mihai Burtescu-79/+79
2018-11-16Traitified IntrinsicCallMethodsDenis Merigoux-624/+648
2018-11-16Transfered memcpy and memset to BuilderMethodsDenis Merigoux-99/+110
2018-11-16Added StaticMethods traitDenis Merigoux-343/+390