/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.h | 50 struct ModuleID { struct 65 bool operator==(const ModuleID &Other) const { argument 70 bool operator<(const ModuleID& Other) const { 112 ModuleID ID; 140 std::vector<ModuleID> ClangModuleDeps; 202 std::optional<ModuleID> handleTopLevelModule(const Module *M); 257 llvm::DenseMap<ModuleID, ModuleDeps *> ModuleDepsByID; 296 collectModuleMapFiles(ArrayRef<ModuleID> ClangModuleDeps) const; 300 ArrayRef<ModuleID> ClangModuleDeps) const; 303 ArrayRef<ModuleID> ClangModuleDeps) const; [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangModulesDeclVendor.h | 36 typedef uintptr_t ModuleID; typedef 37 typedef std::vector<ModuleID> ModuleVector;
|
H A D | ClangModulesDeclVendor.cpp | 106 typedef llvm::DenseSet<ModuleID> ExportedModuleSet; 126 typedef llvm::DenseSet<ModuleID> ImportedModuleSet; 248 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ReportModuleExportsHelper() 251 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ReportModuleExportsHelper() 267 for (ModuleID module : exports_set) in ReportModuleExports() 471 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in ForEachMacro() 476 for (ModuleID module : modules) in ForEachMacro() 511 module_priorities.find(reinterpret_cast<ModuleID>(module)); in ForEachMacro() 523 reinterpret_cast<ModuleID>(top_level_module)); in ForEachMacro()
|
H A D | ClangPersistentVariables.h | 77 void AddHandLoadedClangModule(ClangModulesDeclVendor::ModuleID module) { in AddHandLoadedClangModule()
|
H A D | ClangExpressionSourceCode.cpp | 376 for (ClangModulesDeclVendor::ModuleID module : hand_imported_modules) { in GetText()
|
H A D | ClangExpressionParser.cpp | 140 for (ClangModulesDeclVendor::ModuleID module : exported_modules) in moduleImport()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 296 ArrayRef<ModuleID> ClangModuleDeps) const { in collectModuleMapFiles() 298 for (const ModuleID &MID : ClangModuleDeps) { in collectModuleMapFiles() 310 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles() 314 for (const ModuleID &MID : ClangModuleDeps) { in addModuleMapFiles() 322 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles() 323 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles() 335 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles() 336 for (const ModuleID &MID : ClangModuleDeps) { in addModuleFiles() 373 SmallVector<ModuleID> DirectDeps; in applyDiscoveredDependencies() 560 std::optional<ModuleID>
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Module.h | 194 std::string ModuleID; ///< Human readable identifier for the module variable 257 explicit Module(StringRef ModuleID, LLVMContext& C); 267 const std::string &getModuleIdentifier() const { return ModuleID; } in getModuleIdentifier() 284 StringRef getName() const { return ModuleID; } in getName() 330 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleIdentifier()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | ExternalPreprocessorSource.h | 45 virtual Module *getModule(unsigned ModuleID) = 0;
|
/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 94 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, in computeLTOCacheKey() argument 162 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey() 1477 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread() local 1480 if (auto E = emitFiles(ImportList, ModuleID, ModuleID.str())) in runThinLTOBackendThread() 1484 if (!Cache || !CombinedIndex.modulePaths().count(ModuleID) || in runThinLTOBackendThread() 1485 all_of(CombinedIndex.getModuleHash(ModuleID), in runThinLTOBackendThread() 1493 computeLTOCacheKey(Key, Conf, CombinedIndex, ModuleID, ImportList, in runThinLTOBackendThread() 1496 Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key, ModuleID); in runThinLTOBackendThread()
|
H A D | ThinLTOCodeGenerator.cpp | 363 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry() argument 372 if (!Index.modulePaths().count(ModuleID)) in ModuleCacheEntry() 376 if (all_of(Index.getModuleHash(ModuleID), in ModuleCacheEntry() 390 computeLTOCacheKey(Key, Conf, Index, ModuleID, ImportList, ExportList, in ModuleCacheEntry()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 905 SmallString<64> ModuleID; in makeModuleCtorFunction() local 906 llvm::raw_svector_ostream OS(ModuleID); in makeModuleCtorFunction() 909 std::string(ModuleID), "", ModuleIDSectionName, 32, /*AddNull=*/true); in makeModuleCtorFunction() 913 Twine("__fatbinwrap") + ModuleID, FatbinWrapper); in makeModuleCtorFunction() 918 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
|
/freebsd/contrib/llvm-project/llvm/tools/lli/ |
H A D | lli.cpp | 313 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/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 68 const ModuleSummaryIndex &Index, StringRef ModuleID,
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 1209 IdentifierInfo *ModuleID = PP.getIdentifierInfo(ModuleName); in ExecuteAction() local 1210 Path.push_back(std::make_pair(ModuleID, FileStart)); in ExecuteAction()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Module.cpp | 76 ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL(""), in Module()
|
H A D | Core.cpp | 269 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMModuleCreateWithName() argument 270 return wrap(new Module(ModuleID, getGlobalContext())); in LLVMModuleCreateWithName() 273 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMModuleCreateWithNameInContext() argument 275 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
|
/freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 755 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID); 763 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 10398 unsigned ModuleID = Lex.getUIntVal(); in parseModuleReference() local 10399 auto I = ModuleIdMap.find(ModuleID); in parseModuleReference()
|