6 // This is intended for (repeated) textual inclusion.
7 textual header "Analysis/TargetLibraryInfo.def"
10 module LLVM_AsmParser { requires cplusplus umbrella "AsmParser" module * { export * } }
12 // A module covering CodeGen/ and Target/. These are intertwined
13 // and codependent, and thus notionally form a single module.
21 // FIXME: Why is this excluded?
22 exclude header "CodeGen/MachineValueType.h"
24 // Exclude these; they're intended to be included into only a single
25 // translation unit (or none) and aren't part of this module.
26 exclude header "CodeGen/CommandFlags.h"
27 exclude header "CodeGen/LinkAllAsmWriterComponents.h"
28 exclude header "CodeGen/LinkAllCodegenComponents.h"
30 // These are intended for (repeated) textual inclusion.
31 textual header "CodeGen/DIEValue.def"
38 // This is intended for (repeated) textual inclusion.
39 textual header "Target/TargetOpcodes.def"
43 module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } }
44 module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } }
46 module LLVM_DebugInfo {
48 module DIContext { header "DebugInfo/DIContext.h" export * }
51 module LLVM_DebugInfo_DWARF {
54 umbrella "DebugInfo/DWARF"
58 module LLVM_DebugInfo_PDB {
61 umbrella "DebugInfo/PDB"
64 // Separate out this subdirectory; it's an optional component that depends on
65 // a separate library which might not be available.
67 // FIXME: There should be a better way to specify this.
68 exclude header "DebugInfo/PDB/DIA/DIADataStream.h"
69 exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h"
70 exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h"
71 exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h"
72 exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h"
73 exclude header "DebugInfo/PDB/DIA/DIALineNumber.h"
74 exclude header "DebugInfo/PDB/DIA/DIARawSymbol.h"
75 exclude header "DebugInfo/PDB/DIA/DIASession.h"
76 exclude header "DebugInfo/PDB/DIA/DIASourceFile.h"
77 exclude header "DebugInfo/PDB/DIA/DIASupport.h"
80 module LLVM_DebugInfo_PDB_DIA {
83 umbrella "DebugInfo/PDB/DIA"
87 module LLVM_DebugInfo_CodeView {
90 umbrella "DebugInfo/CodeView"
93 // These are intended for (repeated) textual inclusion.
94 textual header "DebugInfo/CodeView/TypeRecords.def"
95 textual header "DebugInfo/CodeView/CVSymbolTypes.def"
98 module LLVM_ExecutionEngine {
101 umbrella "ExecutionEngine"
102 module * { export * }
104 // Exclude this; it's an optional component of the ExecutionEngine.
105 exclude header "ExecutionEngine/OProfileWrapper.h"
107 // Exclude these; they're intended to be included into only a single
108 // translation unit (or none) and aren't part of this module.
109 exclude header "ExecutionEngine/MCJIT.h"
110 exclude header "ExecutionEngine/Interpreter.h"
111 exclude header "ExecutionEngine/OrcMCJITReplacement.h"
116 // PassSupport.h and PassAnalysisSupport.h are made available only through
119 header "PassSupport.h"
120 header "PassAnalysisSupport.h"
124 module PassRegistry { header "PassRegistry.h" export * }
125 module InitializePasses { header "InitializePasses.h" export * }
128 module LLVM_intrinsic_gen {
131 // Delay building the modules containing dependencies to Attributes.h and
132 // Intrinsics.h because they need to be generated by tablegen first.
135 module IR_Argument { header "IR/Argument.h" export * }
136 module IR_Attributes { header "IR/Attributes.h" export * }
137 module IR_CallSite { header "IR/CallSite.h" export * }
138 module IR_ConstantFolder { header "IR/ConstantFolder.h" export * }
139 module IR_NoFolder { header "IR/NoFolder.h" export * }
140 module IR_Module { header "IR/Module.h" export * }
141 module IR_ModuleSummaryIndex { header "IR/ModuleSummaryIndex.h" export * }
142 module IR_Function { header "IR/Function.h" export * }
143 module IR_InstrTypes { header "IR/InstrTypes.h" export * }
144 module IR_Instructions { header "IR/Instructions.h" export * }
148 module IR_CFG { header "IR/CFG.h" export * }
149 module IR_ConstantRange { header "IR/ConstantRange.h" export * }
150 module IR_Dominators { header "IR/Dominators.h" export * }
151 module IR_IRBuilder { header "IR/IRBuilder.h" export * }
152 module IR_PassManager { header "IR/PassManager.h" export * }
153 module IR_PredIteratorCache { header "IR/PredIteratorCache.h" export * }
154 module IR_Verifier { header "IR/Verifier.h" export * }
155 module IR_InstIterator { header "IR/InstIterator.h" export * }
156 module IR_InstVisitor { header "IR/InstVisitor.h" export * }
157 module IR_Intrinsics { header "IR/Intrinsics.h" export * }
158 module IR_IntrinsicInst { header "IR/IntrinsicInst.h" export * }
159 module IR_PatternMatch { header "IR/PatternMatch.h" export * }
160 module IR_Statepoint { header "IR/Statepoint.h" export * }
169 module * { export * }
171 // These are intended for (repeated) textual inclusion.
172 textual header "IR/DebugInfoFlags.def"
173 textual header "IR/Instruction.def"
174 textual header "IR/Metadata.def"
175 textual header "IR/Value.def"
178 module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
179 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
180 module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
185 // FIXME: Mislayered?
186 module Support_TargetRegistry {
187 header "Support/TargetRegistry.h"
192 module * { export * }
194 // Exclude this; it's fundamentally non-modular.
195 exclude header "MC/MCTargetOptionsCommandFlags.h"
201 module * { export * }
204 module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
206 module LLVM_ProfileData {
209 umbrella "ProfileData"
210 module * { export * }
212 textual header "ProfileData/InstrProfData.inc"
215 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
217 module LLVM_Transforms {
219 umbrella "Transforms"
220 module * { export * }
222 // FIXME: Excluded because it does bad things with the legacy pass manager.
223 exclude header "Transforms/IPO/PassManagerBuilder.h"
226 // A module covering ADT/ and Support/. These are intertwined and
227 // codependent, and notionally form a single module.
233 module * { export * }
240 module * { export * }
242 // Exclude this; it's only included on Solaris.
243 exclude header "Support/Solaris.h"
245 // Exclude this; it's fundamentally non-modular.
246 exclude header "Support/PluginLoader.h"
248 // FIXME: Mislayered?
249 exclude header "Support/TargetRegistry.h"
251 // These are intended for textual inclusion.
252 textual header "Support/ARMTargetParser.def"
253 textual header "Support/AArch64TargetParser.def"
254 textual header "Support/Dwarf.def"
255 textual header "Support/MachO.def"
256 textual header "Support/ELFRelocs/AArch64.def"
257 textual header "Support/ELFRelocs/AMDGPU.def"
258 textual header "Support/ELFRelocs/ARM.def"
259 textual header "Support/ELFRelocs/AVR.def"
260 textual header "Support/ELFRelocs/BPF.def"
261 textual header "Support/ELFRelocs/Hexagon.def"
262 textual header "Support/ELFRelocs/i386.def"
263 textual header "Support/ELFRelocs/Lanai.def"
264 textual header "Support/ELFRelocs/Mips.def"
265 textual header "Support/ELFRelocs/PowerPC64.def"
266 textual header "Support/ELFRelocs/PowerPC.def"
267 textual header "Support/ELFRelocs/Sparc.def"
268 textual header "Support/ELFRelocs/SystemZ.def"
269 textual header "Support/ELFRelocs/x86_64.def"
270 textual header "Support/ELFRelocs/WebAssembly.def"
273 // This part of the module is usable from both C and C++ code.
275 header "Support/ConvertUTF.h"
280 module LLVM_CodeGen_MachineValueType {
282 header "CodeGen/MachineValueType.h"
286 // This is used for a $src == $build compilation. Otherwise we use
287 // LLVM_Support_DataTypes_Build, defined in a module map that is
288 // copied into the build area.
289 module LLVM_Support_DataTypes_Src {
290 header "llvm/Support/DataTypes.h"