Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h49 struct ModuleID { struct
64 bool operator==(const ModuleID &Other) const { argument
69 bool operator<(const ModuleID& Other) const {
111 ModuleID ID;
139 std::vector<ModuleID> ClangModuleDeps;
194 std::optional<ModuleID> handleTopLevelModule(const Module *M);
246 llvm::DenseMap<ModuleID, ModuleDeps *> ModuleDepsByID;
315 using ModuleID = clang::tooling::dependencies::ModuleID;
316 static inline ModuleID getEmptyKey() { return ModuleID{"", ""}; }
317 static inline ModuleID getTombstoneKey() {
[all …]
H A DDependencyScanningTool.h28 llvm::function_ref<std::string(const ModuleID &, ModuleOutputKind)>;
41 ModuleID ID;
56 std::vector<ModuleID> ClangModuleDeps;
144 StringRef CWD, const llvm::DenseSet<ModuleID> &AlreadySeen,
153 FullDependencyConsumer(const llvm::DenseSet<ModuleID> &AlreadySeen) in FullDependencyConsumer()
174 void handleDirectModuleDependency(ModuleID ID) override { in handleDirectModuleDependency()
188 llvm::MapVector<ModuleID, ModuleDeps> ClangModuleDeps;
189 std::vector<ModuleID> DirectModuleDeps;
193 const llvm::DenseSet<ModuleID> &AlreadySeen;
205 LookupModuleOutput = [](const ModuleID &, in CallbackActionController()
[all …]
H A DDependencyScanningWorker.h59 virtual void handleDirectModuleDependency(ModuleID MD) = 0;
70 virtual std::string lookupModuleOutput(const ModuleID &ID,
/freebsd-14.2/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.cpp115 typedef llvm::DenseSet<ModuleID> ExportedModuleSet;
135 typedef llvm::DenseSet<ModuleID> ImportedModuleSet;
259 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ReportModuleExportsHelper()
262 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ReportModuleExportsHelper()
278 for (ModuleID module : exports_set) in ReportModuleExports()
482 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in ForEachMacro()
487 for (ModuleID module : modules) in ForEachMacro()
522 module_priorities.find(reinterpret_cast<ModuleID>(module)); in ForEachMacro()
534 reinterpret_cast<ModuleID>(top_level_module)); in ForEachMacro()
H A DClangPersistentVariables.h77 void AddHandLoadedClangModule(ClangModulesDeclVendor::ModuleID module) { in AddHandLoadedClangModule()
H A DClangExpressionSourceCode.cpp376 for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) { in GetText()
H A DClangExpressionParser.cpp140 for (ClangModulesDeclVendor::ModuleID module : exported_modules) in moduleImport()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningTool.cpp42 void handleDirectModuleDependency(ModuleID ID) override {} in handleDirectModuleDependency()
121 std::string lookupModuleOutput(const ModuleID &, in getP1689ModuleDependencyFile() argument
144 const llvm::DenseSet<ModuleID> &AlreadySeen, in getTranslationUnitDependencies()
157 StringRef CWD, const llvm::DenseSet<ModuleID> &AlreadySeen, in getModuleDependencies()
H A DModuleDepCollector.cpp229 ArrayRef<ModuleID> ClangModuleDeps) const { in collectModuleMapFiles()
231 for (const ModuleID &MID : ClangModuleDeps) { in collectModuleMapFiles()
243 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles()
247 for (const ModuleID &MID : ClangModuleDeps) { in addModuleMapFiles()
255 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
256 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles()
268 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
269 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles()
304 SmallVector<ModuleID> DirectDeps; in applyDiscoveredDependencies()
491 std::optional<ModuleID>
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h42 virtual Module *getModule(unsigned ModuleID) = 0;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h194 std::string ModuleID; ///< Human readable identifier for the module variable
239 explicit Module(StringRef ModuleID, LLVMContext& C);
249 const std::string &getModuleIdentifier() const { return ModuleID; } in getModuleIdentifier()
266 StringRef getName() const { return ModuleID; } in getName()
312 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleIdentifier()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp91 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, in computeLTOCacheKey() argument
156 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey()
1460 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local
1463 if (auto E = emitFiles(ImportList, ModuleID, ModuleID.str())) in runThinLTOBackendThread()
1467 if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread()
1468 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread()
1476 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread()
1479 Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key, ModuleID); in runThinLTOBackendThread()
H A DThinLTOCodeGenerator.cpp362 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument
371 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry()
375 if (all_of(Index.getModuleHash(ModuleID), in ModuleCacheEntry()
389 computeLTOCacheKey(Key, Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp892 SmallString<64> ModuleID; in makeModuleCtorFunction() local
893 llvm::raw_svector_ostream OS(ModuleID); in makeModuleCtorFunction()
896 std::string(ModuleID), "", ModuleIDSectionName, 32, /*AddNull=*/true); in makeModuleCtorFunction()
900 Twine("__fatbinwrap") + ModuleID, FatbinWrapper); in makeModuleCtorFunction()
905 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
/freebsd-14.2/contrib/llvm-project/llvm/tools/lli/
H A Dlli.cpp313 const std::string &ModuleID = M->getModuleIdentifier(); in notifyObjectCompiled() local
315 if (!getCacheFilename(ModuleID, CacheName)) in notifyObjectCompiled()
329 const std::string &ModuleID = M->getModuleIdentifier(); in getObject() local
331 if (!getCacheFilename(ModuleID, CacheName)) in getObject()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h68 const ModuleSummaryIndex &Index, StringRef ModuleID,
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp1173 IdentifierInfo *ModuleID = PP.getIdentifierInfo(ModuleName); in ExecuteAction() local
1174 Path.push_back(std::make_pair(ModuleID, FileStart)); in ExecuteAction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp74 ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL(""), in Module()
H A DCore.cpp249 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName() argument
250 return wrap(new Module(ModuleID, getGlobalContext())); in LLVMModuleCreateWithName()
253 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext() argument
255 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h724 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
732 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9927 unsigned ModuleID = Lex.getUIntVal(); in parseModuleReference() local
9928 auto I = ModuleIdMap.find(ModuleID); in parseModuleReference()