Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h92 struct ModuleID { struct
107 bool operator==(const ModuleID &Other) const { argument
112 bool operator<(const ModuleID& Other) const {
154 ModuleID ID;
186 std::vector<ModuleID> ClangModuleDeps;
259 std::optional<ModuleID> handleTopLevelModule(const Module *M);
273 void addOneModuleDep(const Module *M, const ModuleID ID, ModuleDeps &MD);
321 llvm::DenseMap<ModuleID, ModuleDeps *> ModuleDepsByID;
361 collectModuleMapFiles(ArrayRef<ModuleID> ClangModuleDeps) const;
365 ArrayRef<ModuleID> ClangModuleDeps) const;
[all …]
H A DDependencyScanningTool.h43 ModuleID ID;
58 std::vector<ModuleID> ClangModuleDeps;
150 const llvm::DenseSet<ModuleID> &AlreadySeen,
159 StringRef CWD, const llvm::DenseSet<ModuleID> &AlreadySeen,
170 FullDependencyConsumer(const llvm::DenseSet<ModuleID> &AlreadySeen) in FullDependencyConsumer()
191 void handleDirectModuleDependency(ModuleID ID) override { in handleDirectModuleDependency()
216 llvm::MapVector<ModuleID, ModuleDeps> ClangModuleDeps;
219 std::vector<ModuleID> DirectModuleDeps;
224 const llvm::DenseSet<ModuleID> &AlreadySeen;
H A DDependencyScanningWorker.h60 virtual void handleDirectModuleDependency(ModuleID MD) = 0;
/freebsd/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.cpp109 typedef llvm::DenseSet<ModuleID> ExportedModuleSet;
130 typedef llvm::DenseSet<ModuleID> ImportedModuleSet;
253 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ReportModuleExportsHelper()
256 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ReportModuleExportsHelper()
272 for (ModuleID module : exports_set) in ReportModuleExports()
481 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in ForEachMacro()
486 for (ModuleID module : modules) in ForEachMacro()
521 module_priorities.find(reinterpret_cast<ModuleID>(module)); in ForEachMacro()
533 reinterpret_cast<ModuleID>(top_level_module)); in ForEachMacro()
H A DClangPersistentVariables.h77 void AddHandLoadedClangModule(ClangModulesDeclVendor::ModuleID module) { in AddHandLoadedClangModule()
H A DClangExpressionSourceCode.cpp375 for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) { in GetText()
H A DClangExpressionParser.cpp149 for (ClangModulesDeclVendor::ModuleID module : exported_modules) in moduleImport()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp103 const Config &Conf, const ModuleSummaryIndex &Index, StringRef ModuleID, in computeLTOCacheKey() argument
172 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey()
1512 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local
1515 if (auto E = emitFiles(ImportList, ModuleID, ModuleID.str())) in runThinLTOBackendThread()
1519 if (!Cache.isValid() || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread()
1520 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread()
1528 Conf, CombinedIndex, ModuleID, ImportList, ExportList, ResolvedODR, in runThinLTOBackendThread()
1530 Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key, ModuleID); in runThinLTOBackendThread()
1626 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local
1631 if (auto E = emitFiles(ImportList, ModuleID, ModuleID.str())) in runThinLTOBackendThread()
[all …]
H A DThinLTOCodeGenerator.cpp355 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument
364 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry()
368 if (all_of(Index.getModuleHash(ModuleID), in ModuleCacheEntry()
382 computeLTOCacheKey(Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp42 void handleDirectModuleDependency(ModuleID ID) override {} in handleDirectModuleDependency()
145 const llvm::DenseSet<ModuleID> &AlreadySeen, in getTranslationUnitDependencies()
161 StringRef CWD, const llvm::DenseSet<ModuleID> &AlreadySeen, in getModuleDependencies()
H A DModuleDepCollector.cpp391 ArrayRef<ModuleID> ClangModuleDeps) const { in collectModuleMapFiles()
393 for (const ModuleID &MID : ClangModuleDeps) { in collectModuleMapFiles()
406 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles()
410 for (const ModuleID &MID : ClangModuleDeps) { in addModuleMapFiles()
418 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
419 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles()
433 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
434 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles()
473 SmallVector<ModuleID> DirectDeps; in applyDiscoveredDependencies()
744 std::optional<ModuleID>
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h191 std::string ModuleID; ///< Human readable identifier for the module variable
239 explicit Module(StringRef ModuleID, LLVMContext& C);
252 const std::string &getModuleIdentifier() const { return ModuleID; } in getModuleIdentifier()
269 StringRef getName() const { return ModuleID; } in getName()
314 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleIdentifier()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h45 virtual Module *getModule(unsigned ModuleID) = 0;
/freebsd/contrib/llvm-project/clang/tools/clang-scan-deps/
H A DClangScanDeps.cpp361 static auto toJSONSorted(llvm::json::OStream &JOS, std::vector<ModuleID> V) { in toJSONSorted()
364 for (const ModuleID &MID : V) in toJSONSorted()
577 ModuleID ID;
616 std::vector<ModuleID> ClangModuleDeps;
751 static std::string constructPCMPath(ModuleID MID, StringRef OutputDir) { in constructPCMPath()
1015 llvm::DenseSet<ModuleID> AlreadySeenModules; in clang_scan_deps_main()
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp315 const std::string &ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
317 if (!getCacheFilename(ModuleID, CacheName)) in notifyObjectCompiled()
331 const std::string &ModuleID = M->getModuleIdentifier(); in getObject() local
333 if (!getCacheFilename(ModuleID, CacheName)) in getObject()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp74 ModuleID(std::string(MID)), SourceFileName(std::string(MID)) { in Module()
83 ModuleID = std::move(Other.ModuleID); in operator =()
H A DCore.cpp276 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName() argument
277 return wrap(new Module(ModuleID, getGlobalContext())); in LLVMModuleCreateWithName()
280 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext() argument
282 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp970 SmallString<64> ModuleID; in makeModuleCtorFunction() local
971 llvm::raw_svector_ostream OS(ModuleID); in makeModuleCtorFunction()
974 std::string(ModuleID), "", ModuleIDSectionName, 32, /*AddNull=*/true); in makeModuleCtorFunction()
978 Twine("__fatbinwrap") + ModuleID, FatbinWrapper); in makeModuleCtorFunction()
983 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h72 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList,
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp1237 IdentifierInfo *ModuleID = PP.getIdentifierInfo(ModuleName); in ExecuteAction() local
1238 Path.emplace_back(FileStart, ModuleID); in ExecuteAction()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h776 LLVM_C_ABI LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
784 LLVM_C_ABI LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp10726 unsigned ModuleID = Lex.getUIntVal(); in parseModuleReference() local
10727 auto I = ModuleIdMap.find(ModuleID); in parseModuleReference()