Lines Matching refs:ModuleFile
44 ModuleFile *ModuleManager::lookupByFileName(StringRef Name) const { in lookupByFileName()
53 ModuleFile *ModuleManager::lookupByModuleName(StringRef Name) const { in lookupByModuleName()
61 ModuleFile *ModuleManager::lookup(const FileEntry *File) const { in lookup()
89 static void updateModuleImports(ModuleFile &MF, ModuleFile *ImportedBy, in updateModuleImports()
104 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule()
109 ModuleFile *&Module, in addModule()
149 auto implicitModuleNamesMatch = [](ModuleKind Kind, const ModuleFile *MF, in addModule()
157 if (ModuleFile *ModuleEntry = Modules.lookup(Entry)) { in addModule()
170 auto NewModule = std::make_unique<ModuleFile>(Type, Generation); in addModule()
261 llvm::SmallPtrSet<ModuleFile *, 4> victimSet( in removeModules()
265 auto IsVictim = [&](ModuleFile *MF) { in removeModules()
336 for (ModuleFile &M : *this) in setGlobalIndex()
341 void ModuleManager::moduleFileAccepted(ModuleFile *MF) { in moduleFileAccepted()
357 void ModuleManager::visit(llvm::function_ref<bool(ModuleFile &M)> Visitor, in visit()
358 llvm::SmallPtrSetImpl<ModuleFile *> *ModuleFilesHit) { in visit()
368 SmallVector<ModuleFile *, 4> Queue; in visit()
372 for (ModuleFile &M : llvm::reverse(*this)) { in visit()
382 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit()
415 ModuleFile *M = ModulesInCommonWithGlobalIndex[I]; in visit()
422 ModuleFile *CurrentModule = VisitOrder[I]; in visit()
436 ModuleFile *NextModule = CurrentModule; in visit()
440 for (llvm::SetVector<ModuleFile *>::iterator in visit()
492 using NodeRef = ModuleFile *;
493 using ChildIteratorType = llvm::SetVector<ModuleFile *>::const_iterator;
520 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) { in getNodeLabel()