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/Instruction.def"
112 textual header "IR/Metadata.def"
115 module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
116 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
117 module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
122 // FIXME: Mislayered?
123 module Support_TargetRegistry {
124 header "Support/TargetRegistry.h"
129 module * { export * }
131 // Exclude this; it's fundamentally non-modular.
132 exclude header "MC/MCTargetOptionsCommandFlags.h"
138 module * { export * }
141 module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
142 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
144 module LLVM_Transforms {
146 umbrella "Transforms"
147 module * { export * }
149 // FIXME: Excluded because it does bad things with the legacy pass manager.
150 exclude header "Transforms/IPO/PassManagerBuilder.h"
153 // A module covering ADT/ and Support/. These are intertwined and
154 // codependent, and notionally form a single module.
160 module * { export * }
167 module * { export * }
169 // Exclude this; it's only included on Solaris.
170 exclude header "Support/Solaris.h"
172 // Exclude this; it's only included on AIX and fundamentally non-modular.
173 exclude header "Support/AIXDataTypesFix.h"
175 // Exclude this; it's fundamentally non-modular.
176 exclude header "Support/PluginLoader.h"
178 // Exclude this; it's a weirdly-factored part of llvm-gcov and conflicts
179 // with the Analysis module (which also defines an llvm::GCOVOptions).
180 exclude header "Support/GCOV.h"
182 // FIXME: Mislayered?
183 exclude header "Support/TargetRegistry.h"
185 // These are intended for textual inclusion.
186 textual header "Support/Dwarf.def"
187 textual header "Support/ELFRelocs/AArch64.def"
188 textual header "Support/ELFRelocs/ARM.def"
189 textual header "Support/ELFRelocs/Hexagon.def"
190 textual header "Support/ELFRelocs/i386.def"
191 textual header "Support/ELFRelocs/Mips.def"
192 textual header "Support/ELFRelocs/PowerPC64.def"
193 textual header "Support/ELFRelocs/PowerPC.def"
194 textual header "Support/ELFRelocs/Sparc.def"
195 textual header "Support/ELFRelocs/SystemZ.def"
196 textual header "Support/ELFRelocs/x86_64.def"
200 module LLVM_CodeGen_MachineValueType {
202 header "CodeGen/MachineValueType.h"
206 // This is used for a $src == $build compilation. Otherwise we use
207 // LLVM_Support_DataTypes_Build, defined in a module map that is
208 // copied into the build area.
209 module LLVM_Support_DataTypes_Src {
210 header "llvm/Support/DataTypes.h"