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 // Exclude these; they're intended to be included into only a single
22 // translation unit (or none) and aren't part of this module.
23 exclude header "CodeGen/CommandFlags.h"
24 exclude header "CodeGen/LinkAllAsmWriterComponents.h"
25 exclude header "CodeGen/LinkAllCodegenComponents.h"
27 // These are intended for (repeated) textual inclusion.
28 textual header "CodeGen/DIEValue.def"
35 // This is intended for (repeated) textual inclusion.
36 textual header "Target/TargetOpcodes.def"
40 module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } }
41 module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } }
43 module LLVM_DebugInfo {
45 module DIContext { header "DebugInfo/DIContext.h" export * }
48 module LLVM_DebugInfo_DWARF {
51 umbrella "DebugInfo/DWARF"
55 module LLVM_DebugInfo_PDB {
58 umbrella "DebugInfo/PDB"
61 // Separate out this subdirectory; it's an optional component that depends on
62 // a separate library which might not be available.
64 // FIXME: There should be a better way to specify this.
65 exclude header "DebugInfo/PDB/DIA/DIADataStream.h"
66 exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h"
67 exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h"
68 exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h"
69 exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h"
70 exclude header "DebugInfo/PDB/DIA/DIALineNumber.h"
71 exclude header "DebugInfo/PDB/DIA/DIARawSymbol.h"
72 exclude header "DebugInfo/PDB/DIA/DIASession.h"
73 exclude header "DebugInfo/PDB/DIA/DIASourceFile.h"
74 exclude header "DebugInfo/PDB/DIA/DIASupport.h"
77 module LLVM_DebugInfo_PDB_DIA {
80 umbrella "DebugInfo/PDB/DIA"
84 module LLVM_DebugInfo_MSF {
87 umbrella "DebugInfo/MSF"
91 module LLVM_DebugInfo_CodeView {
94 umbrella "DebugInfo/CodeView"
97 // These are intended for (repeated) textual inclusion.
98 textual header "DebugInfo/CodeView/TypeRecords.def"
99 textual header "DebugInfo/CodeView/CVSymbolTypes.def"
102 module LLVM_ExecutionEngine {
105 umbrella "ExecutionEngine"
106 module * { export * }
108 // Exclude this; it's an optional component of the ExecutionEngine.
109 exclude header "ExecutionEngine/OProfileWrapper.h"
111 // Exclude these; they're intended to be included into only a single
112 // translation unit (or none) and aren't part of this module.
113 exclude header "ExecutionEngine/MCJIT.h"
114 exclude header "ExecutionEngine/Interpreter.h"
115 exclude header "ExecutionEngine/OrcMCJITReplacement.h"
117 // FIXME: These exclude directives were added as a workaround for
118 // <rdar://problem/29247092> and should be removed once it is fixed.
119 exclude header "ExecutionEngine/Orc/RawByteChannel.h"
120 exclude header "ExecutionEngine/Orc/RPCUtils.h"
121 exclude header "ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h"
122 exclude header "ExecutionEngine/Orc/OrcRemoteTargetClient.h"
123 exclude header "ExecutionEngine/Orc/OrcRemoteTargetServer.h"
128 // PassSupport.h and PassAnalysisSupport.h are made available only through
131 header "PassSupport.h"
132 header "PassAnalysisSupport.h"
136 module PassRegistry { header "PassRegistry.h" export * }
137 module InitializePasses { header "InitializePasses.h" export * }
140 module LLVM_intrinsic_gen {
143 // Delay building the modules containing dependencies to Attributes.h and
144 // Intrinsics.h because they need to be generated by tablegen first.
147 module IR_Argument { header "IR/Argument.h" export * }
148 module IR_Attributes { header "IR/Attributes.h" export * }
149 module IR_CallSite { header "IR/CallSite.h" export * }
150 module IR_ConstantFolder { header "IR/ConstantFolder.h" export * }
151 module IR_NoFolder { header "IR/NoFolder.h" export * }
152 module IR_Module { header "IR/Module.h" export * }
153 module IR_ModuleSummaryIndex { header "IR/ModuleSummaryIndex.h" export * }
154 module IR_ModuleSummaryIndexYAML { header "IR/ModuleSummaryIndexYAML.h" export * }
155 module IR_Function { header "IR/Function.h" export * }
156 module IR_InstrTypes { header "IR/InstrTypes.h" export * }
157 module IR_Instructions { header "IR/Instructions.h" export * }
161 module IR_CFG { header "IR/CFG.h" export * }
162 module IR_ConstantRange { header "IR/ConstantRange.h" export * }
163 module IR_Dominators { header "IR/Dominators.h" export * }
164 module IR_IRBuilder { header "IR/IRBuilder.h" export * }
165 module IR_PassManager { header "IR/PassManager.h" export * }
166 module IR_PredIteratorCache { header "IR/PredIteratorCache.h" export * }
167 module IR_Verifier { header "IR/Verifier.h" export * }
168 module IR_InstIterator { header "IR/InstIterator.h" export * }
169 module IR_InstVisitor { header "IR/InstVisitor.h" export * }
170 module IR_Intrinsics { header "IR/Intrinsics.h" export * }
171 module IR_IntrinsicInst { header "IR/IntrinsicInst.h" export * }
172 module IR_PatternMatch { header "IR/PatternMatch.h" export * }
173 module IR_Statepoint { header "IR/Statepoint.h" export * }
182 module * { export * }
184 // These are intended for (repeated) textual inclusion.
185 textual header "IR/DebugInfoFlags.def"
186 textual header "IR/Instruction.def"
187 textual header "IR/Metadata.def"
188 textual header "IR/Value.def"
191 module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
192 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
193 module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
198 // FIXME: Mislayered?
199 module Support_TargetRegistry {
200 header "Support/TargetRegistry.h"
205 module * { export * }
207 // Exclude this; it's fundamentally non-modular.
208 exclude header "MC/MCTargetOptionsCommandFlags.h"
214 module * { export * }
217 module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
219 module LLVM_ProfileData {
222 umbrella "ProfileData"
223 module * { export * }
225 textual header "ProfileData/InstrProfData.inc"
228 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
230 module LLVM_Transforms {
232 umbrella "Transforms"
233 module * { export * }
236 // A module covering ADT/ and Support/. These are intertwined and
237 // codependent, and notionally form a single module.
243 module * { export * }
250 module * { export * }
252 // Exclude this; it's only included on Solaris.
253 exclude header "Support/Solaris.h"
255 // Exclude this; it's fundamentally non-modular.
256 exclude header "Support/PluginLoader.h"
258 // These are intended for textual inclusion.
259 textual header "Support/ARMTargetParser.def"
260 textual header "Support/AArch64TargetParser.def"
261 textual header "Support/Dwarf.def"
262 textual header "Support/MachO.def"
263 textual header "Support/ELFRelocs/AArch64.def"
264 textual header "Support/ELFRelocs/AMDGPU.def"
265 textual header "Support/ELFRelocs/ARM.def"
266 textual header "Support/ELFRelocs/AVR.def"
267 textual header "Support/ELFRelocs/BPF.def"
268 textual header "Support/ELFRelocs/Hexagon.def"
269 textual header "Support/ELFRelocs/i386.def"
270 textual header "Support/ELFRelocs/Lanai.def"
271 textual header "Support/ELFRelocs/Mips.def"
272 textual header "Support/ELFRelocs/PowerPC64.def"
273 textual header "Support/ELFRelocs/PowerPC.def"
274 textual header "Support/ELFRelocs/RISCV.def"
275 textual header "Support/ELFRelocs/Sparc.def"
276 textual header "Support/ELFRelocs/SystemZ.def"
277 textual header "Support/ELFRelocs/x86_64.def"
278 textual header "Support/ELFRelocs/WebAssembly.def"
281 // This part of the module is usable from both C and C++ code.
283 header "Support/ConvertUTF.h"
288 module LLVM_CodeGen_MachineValueType {
290 header "CodeGen/MachineValueType.h"
294 // This is used for a $src == $build compilation. Otherwise we use
295 // LLVM_Support_DataTypes_Build, defined in a module map that is
296 // copied into the build area.
297 module LLVM_Support_DataTypes_Src {
298 header "llvm/Support/DataTypes.h"