Lines Matching refs:ModuleFile
35 SmallVector<ModuleFile *, 2> Chain;
40 SmallVector<ModuleFile *, 2> PCHChain;
44 SmallVector<ModuleFile *, 2> Roots;
47 llvm::DenseMap<const FileEntry *, ModuleFile *> Modules;
61 SmallVector<ModuleFile *, 4> VisitOrder;
71 SmallVector<ModuleFile *, 4> ModulesInCommonWithGlobalIndex;
94 SmallVector<ModuleFile *, 4> Stack;
114 typedef SmallVectorImpl<ModuleFile*>::iterator ModuleIterator;
115 typedef SmallVectorImpl<ModuleFile*>::const_iterator ModuleConstIterator;
116 typedef SmallVectorImpl<ModuleFile*>::reverse_iterator ModuleReverseIterator;
145 ModuleFile &getPrimaryModule() { return *Chain[0]; } in getPrimaryModule()
149 ModuleFile &getPrimaryModule() const { return *Chain[0]; } in getPrimaryModule()
152 ModuleFile &operator[](unsigned Index) const { return *Chain[Index]; }
155 ModuleFile *lookup(StringRef Name);
158 ModuleFile *lookup(const FileEntry *File);
216 ModuleFile *ImportedBy, unsigned Generation,
220 ModuleFile *&Module,
225 llvm::SmallPtrSetImpl<ModuleFile *> &LoadedSuccessfully,
237 void moduleFileAccepted(ModuleFile *MF);
258 void visit(llvm::function_ref<bool(ModuleFile &M)> Visitor,
259 llvm::SmallPtrSetImpl<ModuleFile *> *ModuleFilesHit = nullptr);