Lines Matching refs:Module
27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module
50 Module::~Module() { in ~Module()
73 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
79 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
96 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
97 const Module *This = this; in isSubModuleOf()
108 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
109 const Module *Result = this; in getTopLevelModule()
116 std::string Module::getFullModuleName() const { in getFullModuleName()
120 for (const Module *M = this; M; M = M->Parent) in getFullModuleName()
136 const DirectoryEntry *Module::getUmbrellaDir() const { in getUmbrellaDir()
143 ArrayRef<const FileEntry *> Module::getTopHeaders(FileManager &FileMgr) { in getTopHeaders()
156 void Module::addRequirement(StringRef Feature, bool RequiredState, in addRequirement()
168 void Module::markUnavailable(bool MissingRequirement) { in markUnavailable()
172 SmallVector<Module *, 2> Stack; in markUnavailable()
175 Module *Current = Stack.back(); in markUnavailable()
192 Module *Module::findSubmodule(StringRef Name) const { in findSubmodule()
208 void Module::getExportedModules(SmallVectorImpl<Module *> &Exported) const { in getExportedModules()
210 for (std::vector<Module *>::const_iterator I = SubModules.begin(), in getExportedModules()
213 Module *Mod = *I; in getExportedModules()
221 SmallVector<Module *, 4> WildcardRestrictions; in getExportedModules()
223 Module *Mod = Exports[I].getPointer(); in getExportedModules()
237 if (Module *Restriction = Exports[I].getPointer()) in getExportedModules()
251 Module *Mod = Imports[I]; in getExportedModules()
256 Module *Restriction = WildcardRestrictions[R]; in getExportedModules()
271 void Module::buildVisibleModulesCache() const { in buildVisibleModulesCache()
278 SmallVector<Module *, 16> Stack(Imports.begin(), Imports.end()); in buildVisibleModulesCache()
280 Module *CurrModule = Stack.pop_back_val(); in buildVisibleModulesCache()
288 void Module::print(raw_ostream &OS, unsigned Indent) const { in print()
374 if (Module *Restriction = Exports[I].getPointer()) { in print()
456 void Module::dump() const { in dump()