2014-05-21 04:46:14 +02:00
|
|
|
module LLVM_Analysis {
|
|
|
|
requires cplusplus
|
|
|
|
umbrella "Analysis"
|
|
|
|
module * { export * }
|
2015-03-07 00:39:54 +01:00
|
|
|
|
|
|
|
// FIXME: Why is this excluded?
|
2014-05-21 04:46:14 +02:00
|
|
|
exclude header "Analysis/BlockFrequencyInfoImpl.h"
|
2015-03-07 00:39:54 +01:00
|
|
|
|
|
|
|
// This is intended for (repeated) textual inclusion.
|
|
|
|
textual header "Analysis/TargetLibraryInfo.def"
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_AsmParser { requires cplusplus umbrella "AsmParser" module * { export * } }
|
|
|
|
|
|
|
|
// A module covering CodeGen/ and Target/. These are intertwined
|
|
|
|
// and codependent, and thus notionally form a single module.
|
|
|
|
module LLVM_Backend {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
module CodeGen {
|
|
|
|
umbrella "CodeGen"
|
|
|
|
module * { export * }
|
|
|
|
|
|
|
|
// FIXME: Why is this excluded?
|
|
|
|
exclude header "CodeGen/MachineValueType.h"
|
|
|
|
|
|
|
|
// Exclude these; they're intended to be included into only a single
|
|
|
|
// translation unit (or none) and aren't part of this module.
|
|
|
|
exclude header "CodeGen/CommandFlags.h"
|
|
|
|
exclude header "CodeGen/LinkAllAsmWriterComponents.h"
|
|
|
|
exclude header "CodeGen/LinkAllCodegenComponents.h"
|
2015-06-16 02:43:52 +02:00
|
|
|
|
|
|
|
// These are intended for (repeated) textual inclusion.
|
|
|
|
textual header "CodeGen/DIEValue.def"
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module Target {
|
|
|
|
umbrella "Target"
|
|
|
|
module * { export * }
|
2016-02-09 02:35:45 +01:00
|
|
|
|
|
|
|
// This is intended for (repeated) textual inclusion.
|
|
|
|
textual header "Target/TargetOpcodes.def"
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// FIXME: Where should this go?
|
|
|
|
module Analysis_BlockFrequencyInfoImpl {
|
|
|
|
header "Analysis/BlockFrequencyInfoImpl.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_Bitcode { requires cplusplus umbrella "Bitcode" module * { export * } }
|
|
|
|
module LLVM_Config { requires cplusplus umbrella "Config" module * { export * } }
|
2015-04-24 01:22:26 +02:00
|
|
|
|
|
|
|
module LLVM_DebugInfo {
|
|
|
|
requires cplusplus
|
|
|
|
module DIContext { header "DebugInfo/DIContext.h" export * }
|
|
|
|
}
|
2015-02-14 01:47:20 +01:00
|
|
|
|
|
|
|
module LLVM_DebugInfo_DWARF {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
umbrella "DebugInfo/DWARF"
|
|
|
|
module * { export * }
|
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_DebugInfo_PDB {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
umbrella "DebugInfo/PDB"
|
|
|
|
module * { export * }
|
2015-02-14 06:54:56 +01:00
|
|
|
|
|
|
|
// Separate out this subdirectory; it's an optional component that depends on
|
|
|
|
// a separate library which might not be available.
|
|
|
|
//
|
|
|
|
// FIXME: There should be a better way to specify this.
|
2015-02-18 01:21:45 +01:00
|
|
|
exclude header "DebugInfo/PDB/DIA/DIADataStream.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIAEnumDebugStreams.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIAEnumLineNumbers.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIAEnumSourceFiles.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIAEnumSymbols.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIALineNumber.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIARawSymbol.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIASession.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIASourceFile.h"
|
|
|
|
exclude header "DebugInfo/PDB/DIA/DIASupport.h"
|
2015-02-14 01:47:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_DebugInfo_PDB_DIA {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
umbrella "DebugInfo/PDB/DIA"
|
|
|
|
module * { export * }
|
|
|
|
}
|
|
|
|
|
2014-05-21 04:46:14 +02:00
|
|
|
module LLVM_ExecutionEngine {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
umbrella "ExecutionEngine"
|
|
|
|
module * { export * }
|
|
|
|
|
|
|
|
// Exclude this; it's an optional component of the ExecutionEngine.
|
|
|
|
exclude header "ExecutionEngine/OProfileWrapper.h"
|
|
|
|
|
|
|
|
// Exclude these; they're intended to be included into only a single
|
|
|
|
// translation unit (or none) and aren't part of this module.
|
|
|
|
exclude header "ExecutionEngine/JIT.h"
|
|
|
|
exclude header "ExecutionEngine/MCJIT.h"
|
|
|
|
exclude header "ExecutionEngine/Interpreter.h"
|
2015-01-24 02:55:52 +01:00
|
|
|
exclude header "ExecutionEngine/OrcMCJITReplacement.h"
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_IR {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
// FIXME: Is this the right place for these?
|
|
|
|
module Pass { header "Pass.h" export * }
|
|
|
|
module PassSupport { header "PassSupport.h" export * }
|
|
|
|
module PassAnalysisSupport { header "PassAnalysisSupport.h" export * }
|
|
|
|
module PassRegistry { header "PassRegistry.h" export * }
|
|
|
|
module InitializePasses { header "InitializePasses.h" export * }
|
|
|
|
|
|
|
|
umbrella "IR"
|
|
|
|
module * { export * }
|
|
|
|
|
2014-12-12 03:25:18 +01:00
|
|
|
// These are intended for (repeated) textual inclusion.
|
2015-02-25 02:44:09 +01:00
|
|
|
textual header "IR/DebugInfoFlags.def"
|
2014-11-26 04:44:47 +01:00
|
|
|
textual header "IR/Instruction.def"
|
2014-12-12 03:25:18 +01:00
|
|
|
textual header "IR/Metadata.def"
|
2015-06-26 22:16:44 +02:00
|
|
|
textual header "IR/Value.def"
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_IRReader { requires cplusplus umbrella "IRReader" module * { export * } }
|
|
|
|
module LLVM_LineEditor { requires cplusplus umbrella "LineEditor" module * { export * } }
|
|
|
|
module LLVM_LTO { requires cplusplus umbrella "LTO" module * { export * } }
|
|
|
|
|
|
|
|
module LLVM_MC {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
// FIXME: Mislayered?
|
|
|
|
module Support_TargetRegistry {
|
|
|
|
header "Support/TargetRegistry.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
|
|
|
|
umbrella "MC"
|
|
|
|
module * { export * }
|
|
|
|
|
|
|
|
// Exclude this; it's fundamentally non-modular.
|
|
|
|
exclude header "MC/MCTargetOptionsCommandFlags.h"
|
|
|
|
}
|
|
|
|
|
2014-07-26 03:10:32 +02:00
|
|
|
module LLVM_Object {
|
|
|
|
requires cplusplus
|
|
|
|
umbrella "Object"
|
|
|
|
module * { export * }
|
|
|
|
}
|
|
|
|
|
2014-05-21 04:46:14 +02:00
|
|
|
module LLVM_Option { requires cplusplus umbrella "Option" module * { export * } }
|
|
|
|
module LLVM_TableGen { requires cplusplus umbrella "TableGen" module * { export * } }
|
|
|
|
|
|
|
|
module LLVM_Transforms {
|
|
|
|
requires cplusplus
|
|
|
|
umbrella "Transforms"
|
|
|
|
module * { export * }
|
|
|
|
|
|
|
|
// FIXME: Excluded because it does bad things with the legacy pass manager.
|
|
|
|
exclude header "Transforms/IPO/PassManagerBuilder.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
// A module covering ADT/ and Support/. These are intertwined and
|
|
|
|
// codependent, and notionally form a single module.
|
|
|
|
module LLVM_Utils {
|
|
|
|
module ADT {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
umbrella "ADT"
|
|
|
|
module * { export * }
|
|
|
|
}
|
|
|
|
|
|
|
|
module Support {
|
|
|
|
requires cplusplus
|
|
|
|
|
|
|
|
umbrella "Support"
|
|
|
|
module * { export * }
|
|
|
|
|
|
|
|
// Exclude this; it's only included on Solaris.
|
|
|
|
exclude header "Support/Solaris.h"
|
|
|
|
|
|
|
|
// Exclude this; it's fundamentally non-modular.
|
|
|
|
exclude header "Support/PluginLoader.h"
|
|
|
|
|
|
|
|
// FIXME: Mislayered?
|
|
|
|
exclude header "Support/TargetRegistry.h"
|
2014-11-26 04:44:47 +01:00
|
|
|
|
|
|
|
// These are intended for textual inclusion.
|
2015-09-11 01:30:27 +02:00
|
|
|
textual header "Support/ARMTargetParser.def"
|
2015-02-13 22:06:45 +01:00
|
|
|
textual header "Support/Dwarf.def"
|
2014-11-26 04:44:47 +01:00
|
|
|
textual header "Support/ELFRelocs/AArch64.def"
|
|
|
|
textual header "Support/ELFRelocs/ARM.def"
|
2015-10-24 02:25:18 +02:00
|
|
|
textual header "Support/ELFRelocs/AVR.def"
|
2014-11-26 04:44:47 +01:00
|
|
|
textual header "Support/ELFRelocs/Hexagon.def"
|
|
|
|
textual header "Support/ELFRelocs/i386.def"
|
2016-03-12 02:31:53 +01:00
|
|
|
textual header "Support/ELFRelocs/Lanai.def"
|
2014-11-26 04:44:47 +01:00
|
|
|
textual header "Support/ELFRelocs/Mips.def"
|
|
|
|
textual header "Support/ELFRelocs/PowerPC64.def"
|
|
|
|
textual header "Support/ELFRelocs/PowerPC.def"
|
|
|
|
textual header "Support/ELFRelocs/Sparc.def"
|
|
|
|
textual header "Support/ELFRelocs/SystemZ.def"
|
|
|
|
textual header "Support/ELFRelocs/x86_64.def"
|
2016-01-12 21:51:40 +01:00
|
|
|
textual header "Support/ELFRelocs/WebAssembly.def"
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
2015-09-11 05:14:00 +02:00
|
|
|
|
|
|
|
// This part of the module is usable from both C and C++ code.
|
|
|
|
module ConvertUTF {
|
|
|
|
header "Support/ConvertUTF.h"
|
|
|
|
export *
|
|
|
|
}
|
2014-05-21 04:46:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module LLVM_CodeGen_MachineValueType {
|
|
|
|
requires cplusplus
|
|
|
|
header "CodeGen/MachineValueType.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
|
|
|
|
// This is used for a $src == $build compilation. Otherwise we use
|
|
|
|
// LLVM_Support_DataTypes_Build, defined in a module map that is
|
|
|
|
// copied into the build area.
|
|
|
|
module LLVM_Support_DataTypes_Src {
|
|
|
|
header "llvm/Support/DataTypes.h"
|
|
|
|
export *
|
|
|
|
}
|