Lines Matching refs:Module
27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent, in Module() function in Module
50 Module::~Module() { in ~Module()
78 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
84 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
101 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
102 const Module *This = this; in isSubModuleOf()
113 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
114 const Module *Result = this; in getTopLevelModule()
121 std::string Module::getFullModuleName() const { in getFullModuleName()
125 for (const Module *M = this; M; M = M->Parent) in getFullModuleName()
141 const DirectoryEntry *Module::getUmbrellaDir() const { in getUmbrellaDir()
148 ArrayRef<const FileEntry *> Module::getTopHeaders(FileManager &FileMgr) { in getTopHeaders()
161 bool Module::directlyUses(const Module *Requested) const { in directlyUses()
174 void Module::addRequirement(StringRef Feature, bool RequiredState, in addRequirement()
186 void Module::markUnavailable(bool MissingRequirement) { in markUnavailable()
190 SmallVector<Module *, 2> Stack; in markUnavailable()
193 Module *Current = Stack.back(); in markUnavailable()
210 Module *Module::findSubmodule(StringRef Name) const { in findSubmodule()
226 void Module::getExportedModules(SmallVectorImpl<Module *> &Exported) const { in getExportedModules()
228 for (std::vector<Module *>::const_iterator I = SubModules.begin(), in getExportedModules()
231 Module *Mod = *I; in getExportedModules()
239 SmallVector<Module *, 4> WildcardRestrictions; in getExportedModules()
241 Module *Mod = Exports[I].getPointer(); in getExportedModules()
255 if (Module *Restriction = Exports[I].getPointer()) in getExportedModules()
269 Module *Mod = Imports[I]; in getExportedModules()
274 Module *Restriction = WildcardRestrictions[R]; in getExportedModules()
289 void Module::buildVisibleModulesCache() const { in buildVisibleModulesCache()
296 SmallVector<Module *, 16> Stack(Imports.begin(), Imports.end()); in buildVisibleModulesCache()
298 Module *CurrModule = Stack.pop_back_val(); in buildVisibleModulesCache()
306 void Module::print(raw_ostream &OS, unsigned Indent) const { in print()
392 if (Module *Restriction = Exports[I].getPointer()) { in print()
474 void Module::dump() const { in dump()