| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ModuleManager.cpp | 364 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit() local 365 VisitOrder.push_back(CurrentModule); in visit() 369 for (auto M = CurrentModule->Imports.rbegin(), in visit() 370 MEnd = CurrentModule->Imports.rend(); in visit() 404 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local 406 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit() 410 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit() 411 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit() 412 if (!Visitor(*CurrentModule)) in visit() 418 ModuleFile *NextModule = CurrentModule; in visit()
|
| H A D | GeneratePCH.cpp | 52 PP.getLangOpts().CurrentModule, /*AllowSearch*/ false); in HandleTranslationUnit()
|
| H A D | ASTReader.cpp | 4957 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 5022 CurrentModule = in ReadSubmoduleBlock() 5051 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock() 5055 CurrentModule->Kind = Kind; in ReadSubmoduleBlock() 5058 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock() 5072 CurrentModule->ConfigMacros.clear(); in ReadSubmoduleBlock() 5074 CurrentModule->Conflicts.clear(); in ReadSubmoduleBlock() 5085 CurrentModule->IsAvailable = !CurrentModule->IsMissingRequirement; in ReadSubmoduleBlock() 5161 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() 5173 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() [all …]
|
| H A D | ASTWriter.cpp | 1594 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock() 2775 !Top->fullModuleNameIs(StringRef(getLangOpts().CurrentModule)))) in getLocalOrImportedSubmoduleID()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 145 CI.getLangOpts().CurrentModule, /*AllowSearch*/false); in getCurrentModule() 449 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 461 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 465 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 506 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 605 AST->getLangOpts().CurrentModule, /*AllowSearch*/ false); in BeginSourceFile() 766 auto *CurrentModule = prepareToBuildModule(CI, Input.getFile()); in BeginSourceFile() local 767 if (!CurrentModule) in BeginSourceFile() 770 CurrentModule->PresumedModuleMapFile = PresumedModuleMapFile; in BeginSourceFile() 777 auto Buffer = getInputBufferForModule(CI, CurrentModule); in BeginSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 208 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 298 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers); in BeginSourceFileAction()
|
| H A D | CompilerInstance.cpp | 1062 Invocation->getLangOpts()->CurrentModule = ModuleName; 1620 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule() 1634 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule() 1931 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
|
| H A D | CompilerInvocation.cpp | 2689 Opts.CurrentModule = Opts.ModuleName; in ParseLangArgs()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 424 if (M != CurrentModule) 451 static Module *CurrentModule; 475 CurrentModule = &M; 483 CurrentModule = nullptr;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 36 CurrentModule.clear(); in resetNonModularOptions()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PPDirectives.cpp | 123 static bool isForModuleBuilding(Module *M, StringRef CurrentModule, in isForModuleBuilding() argument 129 if (M->getTopLevelModule()->IsFramework && CurrentModule == ModuleName && in isForModuleBuilding() 130 !CurrentModule.endswith("_Private") && TopLevelName.endswith("_Private")) in isForModuleBuilding() 133 return TopLevelName == CurrentModule; in isForModuleBuilding() 597 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 599 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation() 1879 getLangOpts().CurrentModule, in HandleIncludeDirective() 2023 isForModuleBuilding(M, getLangOpts().CurrentModule, in HandleIncludeDirective() 2065 isForModuleBuilding(M, getLangOpts().CurrentModule, in HandleIncludeDirective()
|
| H A D | PPMacroExpansion.cpp | 385 if (!LangOpts.CurrentModule.empty()) in RegisterBuiltinMacros() 1739 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro() 1743 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1744 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
|
| H A D | ModuleMap.cpp | 802 if (LangOpts.CurrentModule == Name) in findOrCreateModule() 821 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForInterfaceUnit() 848 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createHeaderModule() 994 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule() 1908 Map.LangOpts.CurrentModule == ModuleName && in parseModuleDecl()
|
| H A D | PPLexerChange.cpp | 727 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
| H A D | Preprocessor.cpp | 517 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
| H A D | Pragma.cpp | 1526 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 155 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator()
|
| H A D | CodeGenModule.cpp | 1744 if (M->getTopLevelModuleName() == getLangOpts().CurrentModule && in EmitModuleLinkOptions()
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | SampleProf.cpp | 33 Module *FunctionSamples::CurrentModule; member in llvm::sampleprof::FunctionSamples
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 227 std::string CurrentModule; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | Sema.cpp | 1000 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 1004 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
| H A D | SemaDecl.cpp | 17005 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 17006 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() 17009 << getLangOpts().CurrentModule; in ActOnModuleDecl() 17012 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl() 17105 if (Mod->getTopLevelModuleName() == getLangOpts().CurrentModule && in ActOnModuleImport() 17110 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()
|
| H A D | SemaLookup.cpp | 1398 return M->getTopLevelModuleName() == LangOpts.CurrentModule || in isInCurrentModule()
|