| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleManager.cpp | 382 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit() local 383 VisitOrder.push_back(CurrentModule); in visit() 387 for (auto M = CurrentModule->Imports.rbegin(), in visit() 388 MEnd = CurrentModule->Imports.rend(); in visit() 422 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local 424 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit() 428 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit() 429 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit() 430 if (!Visitor(*CurrentModule)) in visit() 436 ModuleFile *NextModule = CurrentModule; in visit()
|
| H A D | GeneratePCH.cpp | 53 PP.getLangOpts().CurrentModule, /*AllowSearch*/ false); in HandleTranslationUnit()
|
| H A D | ASTReader.cpp | 5465 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 5541 CurrentModule = in ReadSubmoduleBlock() 5569 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock() 5573 CurrentModule->Kind = Kind; in ReadSubmoduleBlock() 5576 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock() 5592 CurrentModule->Conflicts.clear(); in ReadSubmoduleBlock() 5601 CurrentModule->IsUnimportable = in ReadSubmoduleBlock() 5603 CurrentModule->IsAvailable = !CurrentModule->IsUnimportable; in ReadSubmoduleBlock() 5681 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() 5693 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() [all …]
|
| H A D | ASTWriter.cpp | 1252 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock() 2490 !Top->fullModuleNameIs(StringRef(getLangOpts().CurrentModule)))) in getLocalOrImportedSubmoduleID()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 146 CI.getLangOpts().CurrentModule, /*AllowSearch*/false); in getCurrentModule() 462 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 474 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 478 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 519 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 620 AST->getLangOpts().CurrentModule, /*AllowSearch*/ false); in BeginSourceFile() 782 auto *CurrentModule = prepareToBuildModule(CI, Input.getFile()); in BeginSourceFile() local 783 if (!CurrentModule) in BeginSourceFile() 786 CurrentModule->PresumedModuleMapFile = PresumedModuleMapFile; in BeginSourceFile() 793 auto Buffer = getInputBufferForModule(CI, CurrentModule); in BeginSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 235 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 325 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers); in BeginSourceFileAction()
|
| H A D | CompilerInstance.cpp | 1094 Invocation->getLangOpts()->CurrentModule = std::string(ModuleName); 1861 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule() 1873 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule() 1994 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
|
| H A D | CompilerInvocation.cpp | 459 LangOpts.CurrentModule = LangOpts.ModuleName; in FixupInvocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 170 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 171 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() 174 << getLangOpts().CurrentModule; in ActOnModuleDecl() 177 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl() 356 if (Mod->getTopLevelModuleName() == getLangOpts().CurrentModule && in ActOnModuleImport() 361 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()
|
| H A D | Sema.cpp | 1201 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 1205 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
| H A D | SemaLookup.cpp | 1563 return M->getTopLevelModuleName() == LangOpts.CurrentModule || in isInCurrentModule()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 37 CurrentModule.clear(); in resetNonModularOptions()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 154 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator()
|
| H A D | CodeGenModule.cpp | 2340 if (M->getTopLevelModuleName() == getLangOpts().CurrentModule && in EmitModuleLinkOptions()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPDirectives.cpp | 117 static bool isForModuleBuilding(Module *M, StringRef CurrentModule, in isForModuleBuilding() argument 123 if (M->getTopLevelModule()->IsFramework && CurrentModule == ModuleName && in isForModuleBuilding() 124 !CurrentModule.endswith("_Private") && TopLevelName.endswith("_Private")) in isForModuleBuilding() 127 return TopLevelName == CurrentModule; in isForModuleBuilding() 736 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 738 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation() 2056 getLangOpts().CurrentModule, in HandleHeaderIncludeOrImport() 2356 isForModuleBuilding(M, getLangOpts().CurrentModule, in HandleHeaderIncludeOrImport()
|
| H A D | PPMacroExpansion.cpp | 394 if (!getLangOpts().CurrentModule.empty()) in RegisterBuiltinMacros() 1779 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro() 1783 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1784 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
|
| H A D | ModuleMap.cpp | 828 if (LangOpts.CurrentModule == Name) in findOrCreateModule() 857 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForInterfaceUnit() 884 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createHeaderModule() 1030 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule() 1959 Map.LangOpts.CurrentModule == ModuleName && in parseModuleDecl()
|
| H A D | PPLexerChange.cpp | 778 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
| H A D | Preprocessor.cpp | 521 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
| H A D | Pragma.cpp | 1718 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 343 std::string CurrentModule; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 247 : CurrentReader(Reader), CurrentModule(M), in GUIDToFuncNameMapper() 252 for (const auto &F : CurrentModule) { in GUIDToFuncNameMapper() 307 Module &CurrentModule; member in __anon4c1bc6cc0111::GUIDToFuncNameMapper
|