about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/lib.rs
AgeCommit message (Collapse)AuthorLines
2019-01-24Remove quote_*! macros and associated APIsMark Simulacrum-1/+0
2019-01-14rustc: Remove platform intrinsics crateAlex Crichton-1/+0
This was originally attempted in #57048 but it was realized that we could fully remove the crate via the `"unadjusted"` ABI on intrinsics. This means that all intrinsics in stdsimd are implemented directly against LLVM rather than using the abstraction layer provided here. That ends up meaning that this crate is no longer used at all. This crate developed long ago to implement the SIMD intrinsics, but we didn't end up using it in the long run. In that case let's remove it!
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-04Serialize modules into ThinBuffer after initial optimizationNikita Popov-1/+7
Instead of keeping all modules in memory until thin LTO and only serializing them then, serialize the module immediately after it finishes optimizing.
2018-12-04Remove unnecessary parts of run_fat_lto signatureNikita Popov-3/+2
Fat LTO merges into one module, so only return one module.
2018-12-04Separate out methods for running thin and fat LTONikita Popov-2/+10
2018-11-26libcore: Add va_list lang item and intrinsicsDan Robertson-0/+1
- 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-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-1/+1
2018-11-16[eddyb] rustc_codegen_ssa: avoid a `Clone` bound on `TargetMachine`.Eduard-Mihai Burtescu-11/+0
2018-11-16[eddyb] rustc_codegen_llvm: remove unnecessary `'a` from ↵Eduard-Mihai Burtescu-3/+3
`LlvmCodegenBackend` impls.
2018-11-16Separating the back folder between backend-agnostic and LLVM-specific codeDenis Merigoux-69/+96
2018-11-16Added some docs + start to &mut self builder methodsDenis Merigoux-1/+1
2018-11-16Finished moving backend-agnostic code to rustc_codegen_ssaDenis Merigoux-13/+9
2018-11-16Great separation of librustc_codegen_llvm: librustc_codegen_ssa compilesDenis Merigoux-27/+7
2018-11-16Beginning of moving all backend-agnostic code to rustc_codegen_ssaDenis Merigoux-1/+2
2018-11-16Moved Backend interface into rustc_codegen_utilsDenis Merigoux-53/+1
2018-11-16Added compile codegen to backend traitDenis Merigoux-13/+6
2018-11-16Preparing the generalization of base:compile_coodegen_unitDenis Merigoux-3/+19
2018-11-16Generalized base:codegen_crateDenis Merigoux-6/+61
2018-11-16Removed phantomdata no longer necessaryDenis Merigoux-9/+6
Because CodegenContext doesn't implement Backend anymore
2018-11-16Removing LLVM content from CommonMethods -> ConstMethodsDenis Merigoux-30/+0
2018-11-16Prefixed const methods with "const" instead of "c"Denis Merigoux-4/+4
2018-11-16Added definition of type traitDenis Merigoux-0/+1
2018-11-16Removed code duplication for CommonWriteMethodsDenis Merigoux-17/+3
2018-11-16CommonWriteMethods are not static any moreDenis Merigoux-6/+52
2018-11-16New files and folders for traitsDenis Merigoux-1/+1
Moved common enums to common
2018-11-16Generalized base.rs#call_memcpy and everything that it usesDenis Merigoux-0/+2
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-16Work around to fix issue https://github.com/rust-lang/rust/issues/53912Denis Merigoux-1/+4
2018-11-03Move collect_and_partition_mono_items to rustc_mirbjorn3-2/+2
2018-11-03Move cg_llvm::back::linker to cg_utilsbjorn3-25/+5
2018-10-08codegen_llvm: whitespace & formatting improvementsljedrz-1/+1
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-1/+1
2018-09-11stabalize infer outlives requirements (RFC 2093).toidiu-1/+0
Co-authored-by: nikomatsakis
2018-08-31Support local ThinLTO with incremental compilation.Michael Woerister-28/+12
2018-08-31Persist ThinLTO import data in incr. comp. session directory.Michael Woerister-1/+1
2018-08-24check that adding infer-outlives requirement to all crates worksNiko Matsakis-0/+1
2018-08-18Remove LinkMeta structbjorn3-2/+3
2018-08-15Use CGU name as LLVM module name and add some caching to CGU name generation.Michael Woerister-3/+1
2018-08-12Rollup merge of #53230 - memoryruins:nll_bootstrap_4, r=nikomatsakisGuillaume Gomez-0/+1
[nll] enable feature(nll) on various crates for bootstrap: part 4 #53172 r? @nikomatsakis
2018-08-10[nll] librustc_codegen_llvm: enable feature(nll) for bootstrapmemoryruins-0/+1
2018-08-09Move rustc::util::fs into separate (new) crateMark Rousskov-0/+1
2018-08-05Remove unnecessary feature attributes that sneaked invarkor-1/+0
2018-08-02Basic profilingWesley Wiser-0/+3
2018-07-30rustc_codegen_llvm: use safe references for Context and Module.Irina Popa-7/+29
2018-07-30rustc_codegen_llvm: move from empty enums to extern types.Irina Popa-0/+1
2018-07-30rustc_llvm: move to rustc_codegen_llvm::llvm.Irina Popa-1/+5
2018-07-25Deny bare_trait_objects globallyTatsuyuki Ishi-1/+0
2018-07-16Revert "Persist ThinLTO import data in incr. comp. session directory."Michael Woerister-1/+1
This reverts commit 8dc7ddb9763f28b83de7bf3b3025f8042ea9e830.
2018-07-16Revert "Clean up LLVM module naming (just use CodegenUnit names)."Michael Woerister-1/+3
This reverts commit f6894ebe664d111259a91a2b5fcc1236ca413436.
2018-07-13Auto merge of #52266 - michaelwoerister:incr-thinlto-preliminaries, ↵bors-4/+2
r=alexcrichton Preliminary work for incremental ThinLTO. Since implementing incremental ThinLTO is a bit more involved than I initially thought, I'm splitting out some of the things that already work. This PR (1) adds a way accessing some ThinLTO information in `rustc` and (2) does some cleanup around CGU/object file naming (which makes things quite a bit nicer). This is probably best reviewed one commit at a time.