6 // FIXME: Why is this excluded?
7 exclude header "Analysis/BlockFrequencyInfoImpl.h"
9 // This is intended for (repeated) textual inclusion.
10 textual header "Analysis/TargetLibraryInfo.def"
13 module LLVM_AsmParser { requires cplusplus umbrella "AsmParser" module * { export * } }
15 // A module covering CodeGen/ and Target/. These are intertwined
16 // and codependent, and thus notionally form a single module.
24 // FIXME: Why is this excluded?
25 exclude header "CodeGen/MachineValueType.h"
27 // Exclude these; they're intended to be included into only a single
28 // translation unit (or none) and aren't part of this module.
29 exclude header "CodeGen/CommandFlags.h"
30 exclude header "CodeGen/LinkAllAsmWriterComponents.h"
31 exclude header "CodeGen/LinkAllCodegenComponents.h"
39 // FIXME: Where should this go?
40 module Analysis_BlockFrequencyInfoImpl {
41 header "Analysis/BlockFrequencyInfoImpl.h"
46 module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } }
47 module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } }
49 module LLVM_DebugInfo {
51 module DIContext { header "DebugInfo/DIContext.h" export * }
54 module LLVM_DebugInfo_DWARF {
57 umbrella "DebugInfo/DWARF"
61 module LLVM_DebugInfo_PDB {
64 umbrella "DebugInfo/PDB"
67 // Separate out this subdirectory; it's an optional component that depends on
68 // a separate library which might not be available.
70 // FIXME: There should be a better way to specify this.
71 exclude header "DebugInfo/PDB/DIA/DIADataStream.h"
72 exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h"
73 exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h"
74 exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h"
75 exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h"
76 exclude header "DebugInfo/PDB/DIA/DIALineNumber.h"
77 exclude header "DebugInfo/PDB/DIA/DIARawSymbol.h"
78 exclude header "DebugInfo/PDB/DIA/DIASession.h"
79 exclude header "DebugInfo/PDB/DIA/DIASourceFile.h"
80 exclude header "DebugInfo/PDB/DIA/DIASupport.h"
83 module LLVM_DebugInfo_PDB_DIA {
86 umbrella "DebugInfo/PDB/DIA"
90 module LLVM_ExecutionEngine {
93 umbrella "ExecutionEngine"
96 // Exclude this; it's an optional component of the ExecutionEngine.
97 exclude header "ExecutionEngine/OProfileWrapper.h"
99 // Exclude these; they're intended to be included into only a single
100 // translation unit (or none) and aren't part of this module.
101 exclude header "ExecutionEngine/JIT.h"
102 exclude header "ExecutionEngine/MCJIT.h"
103 exclude header "ExecutionEngine/Interpreter.h"
104 exclude header "ExecutionEngine/OrcMCJITReplacement.h"
110 // FIXME: Is this the right place for these?
111 module Pass { header "Pass.h" export * }
112 module PassSupport { header "PassSupport.h" export * }
113 module PassAnalysisSupport { header "PassAnalysisSupport.h" export * }
114 module PassRegistry { header "PassRegistry.h" export * }
115 module InitializePasses { header "InitializePasses.h" export * }
118 module * { export * }
120 // These are intended for (repeated) textual inclusion.
121 textual header "IR/DebugInfoFlags.def"
122 textual header "IR/Instruction.def"
123 textual header "IR/Metadata.def"
126 module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
127 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
128 module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
133 // FIXME: Mislayered?
134 module Support_TargetRegistry {
135 header "Support/TargetRegistry.h"
140 module * { export * }
142 // Exclude this; it's fundamentally non-modular.
143 exclude header "MC/MCTargetOptionsCommandFlags.h"
149 module * { export * }
152 module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
153 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
155 module LLVM_Transforms {
157 umbrella "Transforms"
158 module * { export * }
160 // FIXME: Excluded because it does bad things with the legacy pass manager.
161 exclude header "Transforms/IPO/PassManagerBuilder.h"
164 // A module covering ADT/ and Support/. These are intertwined and
165 // codependent, and notionally form a single module.
171 module * { export * }
178 module * { export * }
180 // Exclude this; it's only included on Solaris.
181 exclude header "Support/Solaris.h"
183 // Exclude this; it's only included on AIX and fundamentally non-modular.
184 exclude header "Support/AIXDataTypesFix.h"
186 // Exclude this; it's fundamentally non-modular.
187 exclude header "Support/PluginLoader.h"
189 // Exclude this; it's a weirdly-factored part of llvm-gcov and conflicts
190 // with the Analysis module (which also defines an llvm::GCOVOptions).
191 exclude header "Support/GCOV.h"
193 // FIXME: Mislayered?
194 exclude header "Support/TargetRegistry.h"
196 // These are intended for textual inclusion.
197 textual header "Support/Dwarf.def"
198 textual header "Support/ELFRelocs/AArch64.def"
199 textual header "Support/ELFRelocs/ARM.def"
200 textual header "Support/ELFRelocs/Hexagon.def"
201 textual header "Support/ELFRelocs/i386.def"
202 textual header "Support/ELFRelocs/Mips.def"
203 textual header "Support/ELFRelocs/PowerPC64.def"
204 textual header "Support/ELFRelocs/PowerPC.def"
205 textual header "Support/ELFRelocs/Sparc.def"
206 textual header "Support/ELFRelocs/SystemZ.def"
207 textual header "Support/ELFRelocs/x86_64.def"
211 module LLVM_CodeGen_MachineValueType {
213 header "CodeGen/MachineValueType.h"
217 // This is used for a $src == $build compilation. Otherwise we use
218 // LLVM_Support_DataTypes_Build, defined in a module map that is
219 // copied into the build area.
220 module LLVM_Support_DataTypes_Src {
221 header "llvm/Support/DataTypes.h"