Home
last modified time | relevance | path

Searched refs:ModuleID (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h45 struct ModuleID { struct
58 bool operator==(const ModuleID &Other) const { argument
64 std::size_t operator()(const ModuleID &MID) const { in operator()
71 ModuleID ID;
98 std::vector<ModuleID> ClangModuleDeps;
118 std::function<StringRef(ModuleID)> LookupPCMPath,
119 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const;
131 llvm::ArrayRef<ModuleID> Modules,
132 std::function<StringRef(ModuleID)> LookupPCMPath,
133 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps,
[all …]
H A DDependencyScanningTool.h28 ModuleID ID;
43 std::vector<ModuleID> ClangModuleDeps;
57 std::function<StringRef(ModuleID)> LookupPCMPath,
58 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp63 std::function<StringRef(ModuleID)> LookupPCMPath, in getCanonicalCommandLine()
64 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const { in getCanonicalCommandLine()
86 llvm::ArrayRef<ModuleID> Modules, in collectPCMAndModuleMapPaths()
87 std::function<StringRef(ModuleID)> LookupPCMPath, in collectPCMAndModuleMapPaths()
88 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps, in collectPCMAndModuleMapPaths()
92 std::function<void(llvm::ArrayRef<ModuleID>)> AddArgs = in collectPCMAndModuleMapPaths()
93 [&](llvm::ArrayRef<ModuleID> Modules) { in collectPCMAndModuleMapPaths()
94 for (const ModuleID &MID : Modules) { in collectPCMAndModuleMapPaths()
195 ModuleID ModuleDepCollectorPP::handleTopLevelModule(const Module *M) { in handleTopLevelModule()
269 ModuleID ImportID = handleTopLevelModule(Import->getTopLevelModule()); in addModuleDep()
H A DDependencyScanningTool.cpp17 std::function<StringRef(ModuleID)> LookupPCMPath, in getAdditionalArgs()
18 std::function<const ModuleDeps &(ModuleID)> LookupModuleDeps) const { in getAdditionalArgs()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.h36 typedef uintptr_t ModuleID; typedef
37 typedef std::vector<ModuleID> ModuleVector;
H A DClangModulesDeclVendor.cpp103 typedef llvm::DenseSet<ModuleID> ExportedModuleSet;
123 typedef llvm::DenseSet<ModuleID> ImportedModuleSet;
199 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ReportModuleExportsHelper()
202 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ReportModuleExportsHelper()
218 for (ModuleID module : exports_set) in ReportModuleExports()
422 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in ForEachMacro()
427 for (ModuleID module : modules) in ForEachMacro()
462 module_priorities.find(reinterpret_cast<ModuleID>(module)); in ForEachMacro()
474 reinterpret_cast<ModuleID>(top_level_module)); in ForEachMacro()
H A DClangPersistentVariables.h76 void AddHandLoadedClangModule(ClangModulesDeclVendor::ModuleID module) { in AddHandLoadedClangModule()
H A DClangExpressionSourceCode.cpp330 for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) { in GetText()
H A DClangExpressionParser.cpp141 for (ClangModulesDeclVendor::ModuleID module : exported_modules) in moduleImport()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h193 std::string ModuleID; ///< Human readable identifier for the module variable
217 explicit Module(StringRef ModuleID, LLVMContext& C);
227 const std::string &getModuleIdentifier() const { return ModuleID; } in getModuleIdentifier()
244 StringRef getName() const { return ModuleID; } in getName()
290 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleIdentifier()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h42 virtual Module *getModule(unsigned ModuleID) = 0;
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp878 SmallString<64> ModuleID; in makeModuleCtorFunction() local
879 llvm::raw_svector_ostream OS(ModuleID); in makeModuleCtorFunction()
882 std::string(ModuleID.str()), "", ModuleIDSectionName, 32); in makeModuleCtorFunction()
886 Twine("__fatbinwrap") + ModuleID, FatbinWrapper); in makeModuleCtorFunction()
891 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
/freebsd-13.1/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp307 const std::string &ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
309 if (!getCacheFilename(ModuleID, CacheName)) in notifyObjectCompiled()
323 const std::string &ModuleID = M->getModuleIdentifier(); in getObject() local
325 if (!getCacheFilename(ModuleID, CacheName)) in getObject()
/freebsd-13.1/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp80 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, in computeLTOCacheKey() argument
144 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey()
1222 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local
1224 if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread()
1225 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread()
1233 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread()
H A DThinLTOCodeGenerator.cpp396 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument
405 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry()
409 if (all_of(Index.getModuleHash(ModuleID), in ModuleCacheEntry()
423 computeLTOCacheKey(Key, Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h67 const ModuleSummaryIndex &Index, StringRef ModuleID,
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp76 Materializer(), ModuleID(std::string(MID)), in Module()
H A DCore.cpp247 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName() argument
248 return wrap(new Module(ModuleID, *GlobalContext)); in LLVMModuleCreateWithName()
251 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext() argument
253 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h670 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
678 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9304 unsigned ModuleID = Lex.getUIntVal(); in parseModuleReference() local
9305 auto I = ModuleIdMap.find(ModuleID); in parseModuleReference()