Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h50 struct ModuleID {
65 bool operator==(const ModuleID &Other) const {
70 bool operator<(const ModuleID& Other) const {
112 ModuleID ID;
140 std::vector<ModuleID> ClangModuleDeps;
202 std::optional<ModuleID> handleTopLevelModule(const Module *M);
255 /// Secondary mapping for \c ModularDeps allowing lookup by ModuleID without
257 llvm::DenseMap<ModuleID, ModuleDeps *> ModuleDepsByID;
296 collectModuleMapFiles(ArrayRef<ModuleID> ClangModuleDeps) const;
300 ArrayRef<ModuleID> ClangModuleDep
49 struct ModuleID { global() struct
64 ContextHashModuleID global() argument
[all...]
H A DDependencyScanningTool.h28 llvm::function_ref<std::string(const ModuleID &, ModuleOutputKind)>;
41 ModuleID ID;
56 std::vector<ModuleID> ClangModuleDeps;
136 const llvm::DenseSet<ModuleID> &AlreadySeen,
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;
[all …]
H A DDependencyScanningWorker.h59 virtual void handleDirectModuleDependency(ModuleID MD) = 0;
70 virtual std::string lookupModuleOutput(const ModuleID &ID,
/freebsd-src/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.cpp106 typedef llvm::DenseSet<ModuleID> ExportedModuleSet;
126 typedef llvm::DenseSet<ModuleID> ImportedModuleSet;
248 if (exports.count(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module))) in ClangModulesDeclVendorImpl()
251 exports.insert(reinterpret_cast<ClangModulesDeclVendor::ModuleID>(module)); in ClangModulesDeclVendorImpl()
267 for (ModuleID module : exports_set) in ReportModuleExportsHelper()
471 typedef std::map<ModuleID, ssize_t> ModulePriorityMap; in FindDecls()
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 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-src/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.cpp296 ArrayRef<ModuleID> ClangModuleDeps) const { in applyDiscoveredDependencies()
298 for (const ModuleID &MID : ClangModuleDeps) { in applyDiscoveredDependencies()
310 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in applyDiscoveredDependencies()
314 for (const ModuleID &MID : ClangModuleDeps) { in applyDiscoveredDependencies()
322 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in getModuleContextHash()
323 for (const ModuleID &MID : ClangModuleDeps) { in getModuleContextHash()
335 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in getModuleContextHash()
336 for (const ModuleID &MID : ClangModuleDeps) { in getModuleContextHash()
373 SmallVector<ModuleID> DirectDeps; in LexedFileChanged()
560 std::optional<ModuleID> in handleTopLevelModule()
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h45 virtual Module *getModule(unsigned ModuleID) = 0;
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DModule.h194 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; }
276 /// For other compiles it is the same as the ModuleID, which would
284 StringRef getName() const { return ModuleID; }
309 /// ModuleID and the provided pass salt. The returned RNG should not
330 void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } in setModuleInlineAsm()
/freebsd-src/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp94 StringRef ModuleID, const FunctionImporter::ImportMapTy &ImportList, in computeLTOCacheKey()
162 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey()
1477 auto ModuleID = BM.getModuleIdentifier(); in runThinLTOBackendThread()
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 start()
1496 Expected<AddStreamFn> CacheAddStreamOrErr = Cache(Task, Key, ModuleID); in start()
91 computeLTOCacheKey(SmallString<40> & Key,const Config & Conf,const ModuleSummaryIndex & Index,StringRef ModuleID,const FunctionImporter::ImportMapTy & ImportList,const FunctionImporter::ExportSetTy & ExportList,const std::map<GlobalValue::GUID,GlobalValue::LinkageTypes> & ResolvedODR,const GVSummaryMapTy & DefinedGlobals,const std::set<GlobalValue::GUID> & CfiFunctionDefs,const std::set<GlobalValue::GUID> & CfiFunctionDecls) computeLTOCacheKey() argument
1460 auto ModuleID = BM.getModuleIdentifier(); runThinLTOBackendThread() local
H A DThinLTOCodeGenerator.cpp363 StringRef CachePath, const ModuleSummaryIndex &Index, StringRef ModuleID, in ModuleCacheEntry()
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()
362 ModuleCacheEntry(StringRef CachePath,const ModuleSummaryIndex & Index,StringRef ModuleID,const FunctionImporter::ImportMapTy & ImportList,const FunctionImporter::ExportSetTy & ExportList,const std::map<GlobalValue::GUID,GlobalValue::LinkageTypes> & ResolvedODR,const GVSummaryMapTy & DefinedGVSummaries,unsigned OptLevel,bool Freestanding,const TargetMachineBuilder & TMBuilder) ModuleCacheEntry() argument
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp905 SmallString<64> ModuleID; in makeModuleCtorFunction()
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()
915 // void __cudaRegisterLinkedBinary%ModuleID%(void (*)(void *), void *, in makeModuleCtorFunction()
918 RegisterLinkedBinaryName += ModuleID; in makeModuleCtorFunction()
892 SmallString<64> ModuleID; makeModuleCtorFunction() local
/freebsd-src/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-src/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h68 const ModuleSummaryIndex &Index, StringRef ModuleID,
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp1209 IdentifierInfo *ModuleID = PP.getIdentifierInfo(ModuleName);
1210 Path.push_back(std::make_pair(ModuleID, FileStart));
1173 IdentifierInfo *ModuleID = PP.getIdentifierInfo(ModuleName); ExecuteAction() local
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DModule.cpp76 ModuleID(std::string(MID)), SourceFileName(std::string(MID)), DL(""), in Module()
H A DCore.cpp269 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID) { in LLVMSetModuleIdentifier()
270 return wrap(new Module(ModuleID, getGlobalContext())); in LLVMSetModuleIdentifier()
273 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID, in LLVMGetSourceFileName()
275 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMGetSourceFileName()
249 LLVMModuleCreateWithName(const char * ModuleID) LLVMModuleCreateWithName() argument
253 LLVMModuleCreateWithNameInContext(const char * ModuleID,LLVMContextRef C) LLVMModuleCreateWithNameInContext() argument
/freebsd-src/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h755 LLVMModuleRef LLVMModuleCreateWithName(const char *ModuleID);
763 LLVMModuleRef LLVMModuleCreateWithNameInContext(const char *ModuleID,
/freebsd-src/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp10398 unsigned ModuleID = Lex.getUIntVal();
10399 auto I = ModuleIdMap.find(ModuleID);
9927 unsigned ModuleID = Lex.getUIntVal(); parseModuleReference() local