5 exclude header "Analysis/BlockFrequencyInfoImpl.h"
8 module LLVM_AsmParser { requires cplusplus umbrella "AsmParser" module * { export * } }
10 // A module covering CodeGen/ and Target/. These are intertwined
11 // and codependent, and thus notionally form a single module.
19 // FIXME: Why is this excluded?
20 exclude header "CodeGen/MachineValueType.h"
22 // Exclude these; they're intended to be included into only a single
23 // translation unit (or none) and aren't part of this module.
24 exclude header "CodeGen/CommandFlags.h"
25 exclude header "CodeGen/LinkAllAsmWriterComponents.h"
26 exclude header "CodeGen/LinkAllCodegenComponents.h"
34 // FIXME: Where should this go?
35 module Analysis_BlockFrequencyInfoImpl {
36 header "Analysis/BlockFrequencyInfoImpl.h"
41 module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } }
42 module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } }
44 module LLVM_DebugInfo_DWARF {
47 umbrella "DebugInfo/DWARF"
51 module LLVM_DebugInfo_PDB {
54 umbrella "DebugInfo/PDB"
57 // Separate out this subdirectory; it's an optional component that depends on
58 // a separate library which might not be available.
60 // FIXME: There should be a better way to specify this.
61 exclude header "DebugInfo/PDB/DIA/DIADataStream.h"
62 exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h"
63 exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h"
64 exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h"
65 exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h"
66 exclude header "DebugInfo/PDB/DIA/DIALineNumber.h"
67 exclude header "DebugInfo/PDB/DIA/DIARawSymbol.h"
68 exclude header "DebugInfo/PDB/DIA/DIASession.h"
69 exclude header "DebugInfo/PDB/DIA/DIASourceFile.h"
70 exclude header "DebugInfo/PDB/DIA/DIASupport.h"
73 module LLVM_DebugInfo_PDB_DIA {
76 umbrella "DebugInfo/PDB/DIA"
80 module LLVM_ExecutionEngine {
83 umbrella "ExecutionEngine"
86 // Exclude this; it's an optional component of the ExecutionEngine.
87 exclude header "ExecutionEngine/OProfileWrapper.h"
89 // Exclude these; they're intended to be included into only a single
90 // translation unit (or none) and aren't part of this module.
91 exclude header "ExecutionEngine/JIT.h"
92 exclude header "ExecutionEngine/MCJIT.h"
93 exclude header "ExecutionEngine/Interpreter.h"
94 exclude header "ExecutionEngine/OrcMCJITReplacement.h"
100 // FIXME: Is this the right place for these?
101 module Pass { header "Pass.h" export * }
102 module PassSupport { header "PassSupport.h" export * }
103 module PassAnalysisSupport { header "PassAnalysisSupport.h" export * }
104 module PassRegistry { header "PassRegistry.h" export * }
105 module InitializePasses { header "InitializePasses.h" export * }
108 module * { export * }
110 // These are intended for (repeated) textual inclusion.
111 textual header "IR/DebugInfoFlags.def"
112 textual header "IR/Instruction.def"
113 textual header "IR/Metadata.def"
116 module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
117 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
118 module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
123 // FIXME: Mislayered?
124 module Support_TargetRegistry {
125 header "Support/TargetRegistry.h"
130 module * { export * }
132 // Exclude this; it's fundamentally non-modular.
133 exclude header "MC/MCTargetOptionsCommandFlags.h"
139 module * { export * }
142 module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
143 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
145 module LLVM_Transforms {
147 umbrella "Transforms"
148 module * { export * }
150 // FIXME: Excluded because it does bad things with the legacy pass manager.
151 exclude header "Transforms/IPO/PassManagerBuilder.h"
154 // A module covering ADT/ and Support/. These are intertwined and
155 // codependent, and notionally form a single module.
161 module * { export * }
168 module * { export * }
170 // Exclude this; it's only included on Solaris.
171 exclude header "Support/Solaris.h"
173 // Exclude this; it's only included on AIX and fundamentally non-modular.
174 exclude header "Support/AIXDataTypesFix.h"
176 // Exclude this; it's fundamentally non-modular.
177 exclude header "Support/PluginLoader.h"
179 // Exclude this; it's a weirdly-factored part of llvm-gcov and conflicts
180 // with the Analysis module (which also defines an llvm::GCOVOptions).
181 exclude header "Support/GCOV.h"
183 // FIXME: Mislayered?
184 exclude header "Support/TargetRegistry.h"
186 // These are intended for textual inclusion.
187 textual header "Support/Dwarf.def"
188 textual header "Support/ELFRelocs/AArch64.def"
189 textual header "Support/ELFRelocs/ARM.def"
190 textual header "Support/ELFRelocs/Hexagon.def"
191 textual header "Support/ELFRelocs/i386.def"
192 textual header "Support/ELFRelocs/Mips.def"
193 textual header "Support/ELFRelocs/PowerPC64.def"
194 textual header "Support/ELFRelocs/PowerPC.def"
195 textual header "Support/ELFRelocs/Sparc.def"
196 textual header "Support/ELFRelocs/SystemZ.def"
197 textual header "Support/ELFRelocs/x86_64.def"
201 module LLVM_CodeGen_MachineValueType {
203 header "CodeGen/MachineValueType.h"
207 // This is used for a $src == $build compilation. Otherwise we use
208 // LLVM_Support_DataTypes_Build, defined in a module map that is
209 // copied into the build area.
210 module LLVM_Support_DataTypes_Src {
211 header "llvm/Support/DataTypes.h"