Lines Matching refs:Module

27 Module::Module(StringRef Name, SourceLocation DefinitionLoc, Module *Parent,  in Module()  function in Module
51 Module::~Module() { in ~Module()
80 bool Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target, in isAvailable()
86 for (const Module *Current = this; Current; Current = Current->Parent) { in isAvailable()
103 bool Module::isSubModuleOf(const Module *Other) const { in isSubModuleOf()
104 const Module *This = this; in isSubModuleOf()
115 const Module *Module::getTopLevelModule() const { in getTopLevelModule()
116 const Module *Result = this; in getTopLevelModule()
123 std::string Module::getFullModuleName() const { in getFullModuleName()
127 for (const Module *M = this; M; M = M->Parent) in getFullModuleName()
143 bool Module::fullModuleNameIs(ArrayRef<StringRef> nameParts) const { in fullModuleNameIs()
144 for (const Module *M = this; M; M = M->Parent) { in fullModuleNameIs()
152 Module::DirectoryName Module::getUmbrellaDir() const { in getUmbrellaDir()
159 ArrayRef<const FileEntry *> Module::getTopHeaders(FileManager &FileMgr) { in getTopHeaders()
172 bool Module::directlyUses(const Module *Requested) const { in directlyUses()
185 void Module::addRequirement(StringRef Feature, bool RequiredState, in addRequirement()
197 void Module::markUnavailable(bool MissingRequirement) { in markUnavailable()
198 auto needUpdate = [MissingRequirement](Module *M) { in markUnavailable()
205 SmallVector<Module *, 2> Stack; in markUnavailable()
208 Module *Current = Stack.back(); in markUnavailable()
225 Module *Module::findSubmodule(StringRef Name) const { in findSubmodule()
241 void Module::getExportedModules(SmallVectorImpl<Module *> &Exported) const { in getExportedModules()
243 for (std::vector<Module *>::const_iterator I = SubModules.begin(), in getExportedModules()
246 Module *Mod = *I; in getExportedModules()
254 SmallVector<Module *, 4> WildcardRestrictions; in getExportedModules()
256 Module *Mod = Exports[I].getPointer(); in getExportedModules()
270 if (Module *Restriction = Exports[I].getPointer()) in getExportedModules()
284 Module *Mod = Imports[I]; in getExportedModules()
289 Module *Restriction = WildcardRestrictions[R]; in getExportedModules()
304 void Module::buildVisibleModulesCache() const { in buildVisibleModulesCache()
311 SmallVector<Module *, 16> Stack(Imports.begin(), Imports.end()); in buildVisibleModulesCache()
313 Module *CurrModule = Stack.pop_back_val(); in buildVisibleModulesCache()
321 void Module::print(raw_ostream &OS, unsigned Indent) const { in print()
407 if (Module *Restriction = Exports[I].getPointer()) { in print()
489 void Module::dump() const { in dump()
493 void VisibleModuleSet::setVisible(Module *M, SourceLocation Loc, in setVisible()
501 Module *M; in setVisible()
521 SmallVector<Module *, 16> Exports; in setVisible()
523 for (Module *E : Exports) in setVisible()
528 llvm::SmallVector<Module*, 8> Path; in setVisible()