1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/include/llvm
Eric Fiselier 155ac280ff [LLVM] Allow modulemap installation
Summary:
Currently we can't install the modulemaps provided by LLVM, since they are not structured to support headers generated as part of the build (ex. `llvm/IR/Attributes.gen`).
This patch restructures the module maps in order to support installation.

Modules containing generated headers are defined in the new `module.extern.modulemap` file, and are referenced from the main `module.modulemap` using `extern module`. There are two versions of the `module.extern.modulemap` file; one used when building and another, `module.install.modulemap`, which is re-named during installation.

Users can opt-into module map installation using `-DLLVM_INSTALL_MODULEMAPS=ON`.  The default value is `OFF` due to llvm.org/PR31905.

Reviewers: rsmith, mehdi_amini, bruno, EricWF

Reviewed By: EricWF

Subscribers: tschuett, chapuni, mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D53510

llvm-svn: 347420
2018-11-21 20:46:50 +00:00
..
ADT [APInt] Add methods for saturated add and sub 2018-11-20 16:47:59 +00:00
Analysis [LV] Avoid vectorizing unsafe dependencies in uniform address 2018-11-19 15:39:59 +00:00
AsmParser
BinaryFormat [WebAssembly] Add equality comparison operators for WasmEventType 2018-11-18 11:53:35 +00:00
Bitcode [IR] Add a dedicated FNeg IR Instruction 2018-11-13 18:15:47 +00:00
CodeGen [SelectionDAG] add simplifySelect() to reduce code duplication; NFC 2018-11-19 14:35:22 +00:00
Config
DebugInfo Fix pointer options mask. It was off by 1 bit. 2018-11-20 22:53:40 +00:00
Demangle Make initializeOutputStream() return false on error and true on success. 2018-11-11 10:04:00 +00:00
ExecutionEngine [ORC] Fix hex printing of uint64_t values. 2018-10-31 05:16:14 +00:00
FuzzMutate
IR [PatternMatch] Handle undef vectors consistently 2018-11-20 16:08:19 +00:00
IRReader
LineEditor
Linker
LTO [LTO] Drop non-prevailing definitions only if linkage is not local or appending 2018-11-08 20:10:07 +00:00
MC [MC] Support labels as offsets in .reloc directive 2018-11-21 16:28:39 +00:00
Object [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
ObjectYAML [WebAssembly] Add support for dylink section in object format 2018-11-14 18:36:24 +00:00
Option [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
Passes Add an OptimizerLast EP 2018-11-12 11:17:07 +00:00
ProfileData [SampleFDO][NFC] Remove debugging log left over in the code. 2018-10-11 22:14:27 +00:00
Support Fix Wdocumentation warning. NFCI. 2018-11-19 18:46:40 +00:00
TableGen Fix and modernize StringMatcher comment; NFC 2018-09-28 13:31:55 +00:00
Target [SelectionDAG] Move (repeated) SDTIntShiftDOp double shift node def to common code. NFCI. 2018-11-16 17:50:59 +00:00
Testing/Support Add missing #include for Testing/Support/SupportHelpers.h 2018-09-06 20:01:06 +00:00
ToolDrivers
Transforms [PM] Port Scalarizer to the new pass manager. 2018-11-21 14:00:17 +00:00
WindowsManifest
WindowsResource
XRay [XRay] Improve FDR trace handling and error messaging 2018-11-09 06:26:48 +00:00
CMakeLists.txt
InitializePasses.h [PM] Port Scalarizer to the new pass manager. 2018-11-21 14:00:17 +00:00
LinkAllIR.h
LinkAllPasses.h [PM] Port Scalarizer to the new pass manager. 2018-11-21 14:00:17 +00:00
module.extern.modulemap [LLVM] Allow modulemap installation 2018-11-21 20:46:50 +00:00
module.install.modulemap [LLVM] Allow modulemap installation 2018-11-21 20:46:50 +00:00
module.modulemap [LLVM] Allow modulemap installation 2018-11-21 20:46:50 +00:00
module.modulemap.build
Pass.h [New PM][PassInstrumentation] IR printing support for New Pass Manager 2018-09-24 16:08:15 +00:00
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h