Lines Matching refs:Module

38 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,  in Module()  function in Module
67 Module::~Module() { in ~Module()
136 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
139 Module *&ShadowingModule) const { in isAvailable()
143 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
164 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
165 const Module *This = this; in isSubModuleOf()
176 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
177 const Module *Result = this; in getTopLevelModule()
214 std::string Module::getFullModuleName(bool AllowStringLiterals) const { in getFullModuleName()
218 for (const Module *M = this; M; M = M->Parent) in getFullModuleName()
230 bool Module::fullModuleNameIs(ArrayRef<StringRef> nameParts) const { in fullModuleNameIs()
231 for (const Module *M = this; M; M = M->Parent) { in fullModuleNameIs()
239 Module::DirectoryName Module::getUmbrellaDir() const { in getUmbrellaDir()
246 ArrayRef<const FileEntry *> Module::getTopHeaders(FileManager &FileMgr) { in getTopHeaders()
259 bool Module::directlyUses(const Module *Requested) const { in directlyUses()
277 void Module::addRequirement(StringRef Feature, bool RequiredState, in addRequirement()
289 void Module::markUnavailable(bool MissingRequirement) { in markUnavailable()
290 auto needUpdate = [MissingRequirement](Module *M) { in markUnavailable()
297 SmallVector<Module *, 2> Stack; in markUnavailable()
300 Module *Current = Stack.back(); in markUnavailable()
317 Module *Module::findSubmodule(StringRef Name) const { in findSubmodule()
325 void Module::getExportedModules(SmallVectorImpl<Module *> &Exported) const { in getExportedModules()
327 for (std::vector<Module *>::const_iterator I = SubModules.begin(), in getExportedModules()
330 Module *Mod = *I; in getExportedModules()
338 SmallVector<Module *, 4> WildcardRestrictions; in getExportedModules()
340 Module *Mod = Exports[I].getPointer(); in getExportedModules()
354 if (Module *Restriction = Exports[I].getPointer()) in getExportedModules()
368 Module *Mod = Imports[I]; in getExportedModules()
373 Module *Restriction = WildcardRestrictions[R]; in getExportedModules()
388 void Module::buildVisibleModulesCache() const { in buildVisibleModulesCache()
395 SmallVector<Module *, 16> Stack(Imports.begin(), Imports.end()); in buildVisibleModulesCache()
397 Module *CurrModule = Stack.pop_back_val(); in buildVisibleModulesCache()
405 void Module::print(raw_ostream &OS, unsigned Indent) const { in print()
516 if (Module *Restriction = Exports[I].getPointer()) { in print()
594 LLVM_DUMP_METHOD void Module::dump() const { in dump()
598 void VisibleModuleSet::setVisible(Module *M, SourceLocation Loc, in setVisible()
607 Module *M; in setVisible()
623 SmallVector<Module *, 16> Exports; in setVisible()
625 for (Module *E : Exports) { in setVisible()
633 llvm::SmallVector<Module*, 8> Path; in setVisible()