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"
58 // Separate out this subdirectory; it's an optional component that depends on
59 // a separate library which might not be available.
60 module LLVM_DebugInfo_PDB_DIA {
63 umbrella "DebugInfo/PDB/DIA"
67 module LLVM_ExecutionEngine {
70 umbrella "ExecutionEngine"
73 // Exclude this; it's an optional component of the ExecutionEngine.
74 exclude header "ExecutionEngine/OProfileWrapper.h"
76 // Exclude these; they're intended to be included into only a single
77 // translation unit (or none) and aren't part of this module.
78 exclude header "ExecutionEngine/JIT.h"
79 exclude header "ExecutionEngine/MCJIT.h"
80 exclude header "ExecutionEngine/Interpreter.h"
81 exclude header "ExecutionEngine/OrcMCJITReplacement.h"
87 // FIXME: Is this the right place for these?
88 module Pass { header "Pass.h" export * }
89 module PassSupport { header "PassSupport.h" export * }
90 module PassAnalysisSupport { header "PassAnalysisSupport.h" export * }
91 module PassRegistry { header "PassRegistry.h" export * }
92 module InitializePasses { header "InitializePasses.h" export * }
97 // These are intended for (repeated) textual inclusion.
98 textual header "IR/Instruction.def"
99 textual header "IR/Metadata.def"
102 module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
103 module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
104 module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
109 // FIXME: Mislayered?
110 module Support_TargetRegistry {
111 header "Support/TargetRegistry.h"
116 module * { export * }
118 // Exclude this; it's fundamentally non-modular.
119 exclude header "MC/MCTargetOptionsCommandFlags.h"
125 module * { export * }
128 module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
129 module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
131 module LLVM_Transforms {
133 umbrella "Transforms"
134 module * { export * }
136 // FIXME: Excluded because it does bad things with the legacy pass manager.
137 exclude header "Transforms/IPO/PassManagerBuilder.h"
140 // A module covering ADT/ and Support/. These are intertwined and
141 // codependent, and notionally form a single module.
147 module * { export * }
154 module * { export * }
156 // Exclude this; it's only included on Solaris.
157 exclude header "Support/Solaris.h"
159 // Exclude this; it's only included on AIX and fundamentally non-modular.
160 exclude header "Support/AIXDataTypesFix.h"
162 // Exclude this; it's fundamentally non-modular.
163 exclude header "Support/PluginLoader.h"
165 // Exclude this; it's a weirdly-factored part of llvm-gcov and conflicts
166 // with the Analysis module (which also defines an llvm::GCOVOptions).
167 exclude header "Support/GCOV.h"
169 // FIXME: Mislayered?
170 exclude header "Support/TargetRegistry.h"
172 // These are intended for textual inclusion.
173 textual header "Support/Dwarf.def"
174 textual header "Support/ELFRelocs/AArch64.def"
175 textual header "Support/ELFRelocs/ARM.def"
176 textual header "Support/ELFRelocs/Hexagon.def"
177 textual header "Support/ELFRelocs/i386.def"
178 textual header "Support/ELFRelocs/Mips.def"
179 textual header "Support/ELFRelocs/PowerPC64.def"
180 textual header "Support/ELFRelocs/PowerPC.def"
181 textual header "Support/ELFRelocs/Sparc.def"
182 textual header "Support/ELFRelocs/SystemZ.def"
183 textual header "Support/ELFRelocs/x86_64.def"
187 module LLVM_CodeGen_MachineValueType {
189 header "CodeGen/MachineValueType.h"
193 // This is used for a $src == $build compilation. Otherwise we use
194 // LLVM_Support_DataTypes_Build, defined in a module map that is
195 // copied into the build area.
196 module LLVM_Support_DataTypes_Src {
197 header "llvm/Support/DataTypes.h"