| /freebsd-src/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleManager.cpp | 358 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit() local 359 VisitOrder.push_back(CurrentModule); in visit() 363 for (ModuleFile *M : llvm::reverse(CurrentModule->Imports)) { in visit() 395 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local 397 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit() 401 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit() 402 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit() 403 if (!Visitor(*CurrentModule)) in visit() 409 ModuleFile *NextModule = CurrentModule; in visit()
|
| H A D | GeneratePCH.cpp | 48 M = PP.getHeaderSearchInfo().lookupModule(PP.getLangOpts().CurrentModule, in HandleTranslationUnit()
|
| H A D | ASTReader.cpp | 5721 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() 5758 if (!CurrentModule && Kind != SUBMODULE_METADATA && in ReadSubmoduleBlock() 5794 CurrentModule = in ReadSubmoduleBlock() 5807 if (OptionalFileEntryRef CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock() 5815 << CurrentModule->getTopLevelModuleName() << CurFile->getName() in ReadSubmoduleBlock() 5822 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock() 5823 CurrentModule->PresumedModuleMapFile = F.ModuleMapPath; in ReadSubmoduleBlock() 5826 CurrentModule->Kind = Kind; in ReadSubmoduleBlock() 5827 CurrentModule->DefinitionLoc = DefinitionLoc; in ReadSubmoduleBlock() 5828 CurrentModule in ReadSubmoduleBlock() 5715 Module *CurrentModule = nullptr; ReadSubmoduleBlock() local [all...] |
| H A D | ASTWriter.cpp | 214 const Module *CurrentModule = Q.front(); in GetAffectingModuleMaps() 217 for (const Module *ImportedModule : CurrentModule->Imports) in GetAffectingModuleMaps() 219 for (const Module *UndeclaredModule : CurrentModule->UndeclaredUses) in GetAffectingModuleMaps() 222 for (auto *M : CurrentModule->submodules()) in GetAffectingModuleMaps() 1567 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock() 2871 !Top->fullModuleNameIs(StringRef(getLangOpts().CurrentModule)))) in WriteSubmodules() 229 for (const Module *CurrentModule : ModulesToProcess) { GetAffectingModuleMaps() local
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 160 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule() 491 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 503 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, SourceLocation(), in prepareToBuildModule() 507 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 554 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, 668 AST->getLangOpts().CurrentModule, SourceLocation(), in BeginSourceFile() 864 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile() 882 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile() 897 auto *CurrentModule = prepareToBuildModule(CI, Input.getFile()); in BeginSourceFile() 898 if (!CurrentModule) in BeginSourceFile() 888 auto *CurrentModule = prepareToBuildModule(CI, Input.getFile()); BeginSourceFile() local [all...] |
| H A D | FrontendActions.cpp | 254 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in BeginSourceFileAction() 878 if (LO.CPlusPlusModules && !LO.CurrentModule.empty()) { in ExecuteAction() 884 if (MF.ModuleName != LO.CurrentModule) in ExecuteAction() 886 << LO.CurrentModule << "\n"; in ExecuteAction() 911 if (M->Name == LO.CurrentModule) { in ExecuteAction() 913 Out << " " << ModuleKindName(M->Kind) << " '" << LO.CurrentModule in ExecuteAction()
|
| H A D | CompilerInstance.cpp | 1206 Invocation->getLangOpts().CurrentModule = std::string(ModuleName); 2030 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule() 2047 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule() 2165 if (ModuleName != getLangOpts().CurrentModule) { in createModuleFromSource()
|
| H A D | ASTUnit.cpp | 896 Module *M = HeaderInfo.lookupModule(AST->getLangOpts().CurrentModule); in LoadFromASTFile()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 79 /// CurrentModule. in ActOnGlobalModuleFragmentDecl() 82 /// CurrentModule. Since currently it is expensive to decide whether two module in ActOnGlobalModuleFragmentDecl() 86 Module *CurrentModule, in ActOnGlobalModuleFragmentDecl() 101 if (!CurrentModule) in HandleStartOfHeaderUnit() 110 if (!CurrentModule->isModulePartitionImplementation()) in HandleStartOfHeaderUnit() 113 if (Ctx.isInSameModule(Imported, CurrentModule)) { in HandleStartOfHeaderUnit() 131 Module *Imported, Module *CurrentModule, in HandleStartOfHeaderUnit() 154 if (isImportingModuleUnitFromSameModule(Ctx, Importing, CurrentModule, in DiagReservedModuleName() 190 StringRef HUName = getLangOpts().CurrentModule; in ActOnModuleDecl() 194 const_cast<LangOptions &>(getLangOpts()).CurrentModule in ActOnModuleDecl() [all...] |
| H A D | Sema.cpp | 1271 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit() 1272 CurrentModule && CurrentModule->isInterfaceOrPartition()) { in ActOnEndOfTranslationUnit() 1286 CurrentModule->NamedModuleHasInit = in ActOnEndOfTranslationUnit() 1287 DoesModNeedInit(CurrentModule) || in ActOnEndOfTranslationUnit() 1288 llvm::any_of(CurrentModule->submodules(), in ActOnEndOfTranslationUnit() 1295 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() 1299 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit() 1232 if (Module *CurrentModule = PP.getCurrentModule()) { ActOnEndOfTranslationUnit() local 1255 if (Module *CurrentModule = getCurrentModule(); ActOnEndOfTranslationUnit() local
|
| H A D | SemaLookup.cpp | 5768 Module *CurrentModule = getCurrentModule(); diagnoseMissingImport() local
|
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Module.cpp | 162 StringRef CurrentModule = LangOpts.CurrentModule; in isForBuilding() local 168 CurrentModule == LangOpts.ModuleName && in isForBuilding() 169 !CurrentModule.ends_with("_Private") && in isForBuilding() 173 return TopLevelName == CurrentModule; in isForBuilding()
|
| H A D | LangOptions.cpp | 45 CurrentModule.clear(); in resetNonModularOptions()
|
| /freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 160 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator()
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.h | 117 int32_t CurrentModule = -1;
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.cpp | 1089 if (CurrentModule != Modi) { in createScopes() 1093 CurrentModule = Modi; in createScopes() 1120 if (LVScope *Scope = getScopeForModule(CurrentModule)) { in processModule()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 400 if (!getLangOpts().CurrentModule.empty()) in RegisterBuiltinMacros() 1986 (II->getName() == getLangOpts().CurrentModule); in processPathToFileName() 1990 OS << getLangOpts().CurrentModule; in processPathToFileName() 1991 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule);
|
| H A D | ModuleMap.cpp | 863 if (LangOpts.CurrentModule == Name) in findOrCreateModule() 926 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForInterfaceUnit() 944 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForImplementationUnit() 968 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createHeaderUnit() 1091 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule() 2075 Map.LangOpts.CurrentModule == ModuleName && in parseModuleDecl()
|
| H A D | PPLexerChange.cpp | 790 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
| H A D | PPDirectives.cpp | 876 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 878 : HeaderInfo.lookupModule(getLangOpts().CurrentModule, Loc); in getModuleForLocation()
|
| H A D | Preprocessor.cpp | 531 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModuleImplementation()
|
| H A D | Pragma.cpp | 1744 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 365 if (Module *CurrentModule = PP.getCurrentModuleImplementation()) in associateWithContextHash() 369 .getModuleMapFileForUniquing(CurrentModule)) in associateWithContextHash() 296 if (Module *CurrentModule = PP.getCurrentModuleImplementation()) applyDiscoveredDependencies() local
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 516 std::string CurrentModule; 473 std::string CurrentModule; global() variable
|
| /freebsd-src/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) { 416 Module &CurrentModule; in operator ()() 395 Module &CurrentModule; global() member in __anone4875bea0111::GUIDToFuncNameMapper
|