| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleManager.cpp | 361 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit() local 362 VisitOrder.push_back(CurrentModule); in visit() 366 for (ModuleFile *M : llvm::reverse(CurrentModule->Imports)) { in visit() 398 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local 400 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit() 404 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit() 405 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit() 406 if (!Visitor(*CurrentModule)) in visit() 412 ModuleFile *NextModule = CurrentModule; in visit()
|
| H A D | GeneratePCH.cpp | 48 M = PP.getHeaderSearchInfo().lookupModule(PP.getLangOpts().CurrentModule, in getEmittingModule()
|
| H A D | ASTReader.cpp | 6045 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 6082 if (!CurrentModule && Kind != SUBMODULE_METADATA && in ReadSubmoduleBlock() 6117 CurrentModule = std::invoke(CreateModule, &ModMap, Name, ParentModule, in ReadSubmoduleBlock() 6127 if (OptionalFileEntryRef CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock() 6134 << CurrentModule->getTopLevelModuleName() << CurFile->getName() in ReadSubmoduleBlock() 6138 ModMap.getContainingModuleMapFile(CurrentModule); in ReadSubmoduleBlock() 6149 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock() 6150 CurrentModule->PresumedModuleMapFile = F.ModuleMapPath; in ReadSubmoduleBlock() 6153 CurrentModule->Kind = Kind; in ReadSubmoduleBlock() 6160 CurrentModule->DefinitionLoc = DefinitionLoc; in ReadSubmoduleBlock() [all …]
|
| H A D | ASTWriter.cpp | 236 const Module *CurrentModule = Q.front(); in GetAffectingModuleMaps() local 239 for (const Module *ImportedModule : CurrentModule->Imports) in GetAffectingModuleMaps() 241 for (const Module *UndeclaredModule : CurrentModule->UndeclaredUses) in GetAffectingModuleMaps() 244 for (auto *M : CurrentModule->submodules()) in GetAffectingModuleMaps() 1631 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock() 2947 !Top->fullModuleNameIs(StringRef(getLangOpts().CurrentModule)))) in getLocalOrImportedSubmoduleID()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 86 Module *CurrentModule, in isImportingModuleUnitFromSameModule() argument 101 if (!CurrentModule) in isImportingModuleUnitFromSameModule() 110 if (!CurrentModule->isModulePartitionImplementation()) in isImportingModuleUnitFromSameModule() 113 if (Ctx.isInSameModule(Imported, CurrentModule)) { in isImportingModuleUnitFromSameModule() 131 Module *Imported, Module *CurrentModule, in makeTransitiveImportsVisible() argument 156 if (isImportingModuleUnitFromSameModule(Ctx, Importing, CurrentModule, in makeTransitiveImportsVisible() 195 StringRef HUName = getLangOpts().CurrentModule; in HandleStartOfHeaderUnit() 199 const_cast<LangOptions &>(getLangOpts()).CurrentModule = HUName.str(); in HandleStartOfHeaderUnit() 381 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 382 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() [all …]
|
| H A D | Sema.cpp | 1352 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit() local 1353 CurrentModule && CurrentModule->isInterfaceOrPartition()) { in ActOnEndOfTranslationUnit() 1367 CurrentModule->NamedModuleHasInit = in ActOnEndOfTranslationUnit() 1368 DoesModNeedInit(CurrentModule) || in ActOnEndOfTranslationUnit() 1369 llvm::any_of(CurrentModule->submodules(), DoesModNeedInit); in ActOnEndOfTranslationUnit() 1375 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 1379 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
| H A D | SemaCodeComplete.cpp | 2204 clang::Module *CurrentModule = SemaRef.getCurrentModule(); in AddOrdinaryNameResults() local 2208 if (!CurrentModule) { in AddOrdinaryNameResults() 2218 if (!CurrentModule || in AddOrdinaryNameResults() 2219 CurrentModule->Kind == Module::ExplicitGlobalModuleFragment || in AddOrdinaryNameResults() 2220 CurrentModule->Kind == Module::ImplicitGlobalModuleFragment) { in AddOrdinaryNameResults() 2233 if (!CurrentModule || in AddOrdinaryNameResults() 2234 CurrentModule->Kind == Module::ModuleInterfaceUnit || in AddOrdinaryNameResults() 2235 CurrentModule->Kind == Module::ModulePartitionInterface) { in AddOrdinaryNameResults() 2245 if (CurrentModule && in AddOrdinaryNameResults() 2246 (CurrentModule->Kind == Module::ModuleInterfaceUnit || in AddOrdinaryNameResults() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 294 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule() 642 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 654 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, SourceLocation(), in prepareToBuildModule() 658 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 704 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 816 AST->getLangOpts().CurrentModule, SourceLocation(), in BeginSourceFile() 1012 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile() 1030 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile() 1045 auto *CurrentModule = prepareToBuildModule(CI, Input.getFile()); in BeginSourceFile() local 1046 if (!CurrentModule) in BeginSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 254 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 907 if (LO.CPlusPlusModules && !LO.CurrentModule.empty()) { in ExecuteAction() 913 if (MF.ModuleName != LO.CurrentModule) in ExecuteAction() 915 << LO.CurrentModule << "\n"; in ExecuteAction() 940 if (M->Name == LO.CurrentModule) { in ExecuteAction() 942 Out << " " << ModuleKindName(M->Kind) << " '" << LO.CurrentModule in ExecuteAction()
|
| H A D | CompilerInstance.cpp | 1181 Invocation->getLangOpts().CurrentModule = std::string(ModuleName); in cloneForModuleCompileImpl() 2044 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule() 2061 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule() 2181 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Module.cpp | 157 StringRef CurrentModule = LangOpts.CurrentModule; in isForBuilding() local 163 CurrentModule == LangOpts.ModuleName && in isForBuilding() 164 !CurrentModule.ends_with("_Private") && in isForBuilding() 168 return TopLevelName == CurrentModule; in isForBuilding()
|
| H A D | LangOptions.cpp | 47 CurrentModule.clear(); in resetNonModularOptions()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerWriter.cpp | 161 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | ModuleMap.cpp | 875 if (LangOpts.CurrentModule == Name) in createModule() 937 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForInterfaceUnit() 955 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForImplementationUnit() 979 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createHeaderUnit() 1104 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule() 1739 Map.LangOpts.CurrentModule == ModuleName && in handleModuleDecl()
|
| H A D | PPMacroExpansion.cpp | 383 if (!getLangOpts().CurrentModule.empty()) in RegisterBuiltinMacros() 1939 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro() 1943 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1944 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
|
| H A D | PPLexerChange.cpp | 784 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
| H A D | Preprocessor.cpp | 529 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
| H A D | PPDirectives.cpp | 902 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 904 : HeaderInfo.lookupModule(getLangOpts().CurrentModule, Loc); in getModuleForLocation()
|
| H A D | Pragma.cpp | 1751 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.h | 117 int32_t CurrentModule = -1;
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.cpp | 1083 if (CurrentModule != Modi) { in createScopes() 1087 CurrentModule = Modi; in createScopes() 1114 if (LVScope *Scope = getScopeForModule(CurrentModule)) { in processModule()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/ |
| H A D | SymbolGraphSerializer.cpp | 943 auto *CurrentModule = ModuleForCurrentSymbol; in traverseObjCCategoryRecord() local 951 ModuleForCurrentSymbol = CurrentModule; in traverseObjCCategoryRecord()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 465 if (Module *CurrentModule = PP.getCurrentModuleImplementation()) in applyDiscoveredDependencies() local 469 .getModuleMapFileForUniquing(CurrentModule)) in applyDiscoveredDependencies()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 356 : CurrentReader(Reader), CurrentModule(M), in GUIDToFuncNameMapper() 361 for (const auto &F : CurrentModule) { in GUIDToFuncNameMapper() 416 Module &CurrentModule; member in __anon71830f180111::GUIDToFuncNameMapper
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 577 std::string CurrentModule; variable
|