| /freebsd-14.2/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 | 53 PP.getLangOpts().CurrentModule, SourceLocation(), in HandleTranslationUnit()
|
| H A D | ASTReader.cpp | 5715 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 5788 CurrentModule = in ReadSubmoduleBlock() 5820 CurrentModule->Kind = Kind; in ReadSubmoduleBlock() 5824 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock() 5841 CurrentModule->Conflicts.clear(); in ReadSubmoduleBlock() 5850 CurrentModule->IsUnimportable = in ReadSubmoduleBlock() 5852 CurrentModule->IsAvailable = !CurrentModule->IsUnimportable; in ReadSubmoduleBlock() 5934 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() 5946 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() 5958 Unresolved.Mod = CurrentModule; in ReadSubmoduleBlock() [all …]
|
| H A D | ASTWriter.cpp | 229 for (const Module *CurrentModule : ModulesToProcess) { in GetAffectingModuleMaps() local 230 CollectIncludingMapsFromAncestors(CurrentModule); in GetAffectingModuleMaps() 231 for (const Module *ImportedModule : CurrentModule->Imports) in GetAffectingModuleMaps() 233 for (const Module *UndeclaredModule : CurrentModule->UndeclaredUses) in GetAffectingModuleMaps() 1454 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock() 2733 !Top->fullModuleNameIs(StringRef(getLangOpts().CurrentModule)))) in getLocalOrImportedSubmoduleID()
|
| /freebsd-14.2/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() 507 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 548 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 662 AST->getLangOpts().CurrentModule, SourceLocation(), in BeginSourceFile() 855 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile() 873 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile() 888 auto *CurrentModule = prepareToBuildModule(CI, Input.getFile()); in BeginSourceFile() local 889 if (!CurrentModule) in BeginSourceFile() 892 CurrentModule->PresumedModuleMapFile = PresumedModuleMapFile; in BeginSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 243 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 842 if (LO.CPlusPlusModules && !LO.CurrentModule.empty()) { in ExecuteAction() 849 if (MF.ModuleName != LO.CurrentModule) in ExecuteAction() 851 << LO.CurrentModule << "\n"; in ExecuteAction() 876 if (M->Name == LO.CurrentModule) { in ExecuteAction() 878 Out << " " << ModuleKindName(M->Kind) << " '" << LO.CurrentModule in ExecuteAction()
|
| H A D | CompilerInstance.cpp | 1195 Invocation->getLangOpts().CurrentModule = std::string(ModuleName); 1990 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule() 2002 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule() 2114 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
|
| H A D | ASTUnit.cpp | 884 Module *M = HeaderInfo.lookupModule(AST->getLangOpts().CurrentModule); in LoadFromASTFile()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 104 StringRef HUName = getLangOpts().CurrentModule; in HandleStartOfHeaderUnit() 108 const_cast<LangOptions &>(getLangOpts()).CurrentModule = HUName.str(); in HandleStartOfHeaderUnit() 292 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 293 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() 298 << getLangOpts().CurrentModule; in ActOnModuleDecl() 301 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl() 342 const_cast<LangOptions &>(getLangOpts()).CurrentModule = ""; in ActOnModuleDecl() 346 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl() 569 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport() 661 getLangOpts().CurrentModule, DirectiveLoc, false, false); in BuildModuleInclude()
|
| H A D | Sema.cpp | 1232 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 1236 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit() 1255 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit() local 1256 CurrentModule && CurrentModule->isInterfaceOrPartition()) { in ActOnEndOfTranslationUnit() 1270 CurrentModule->NamedModuleHasInit = in ActOnEndOfTranslationUnit() 1271 DoesModNeedInit(CurrentModule) || in ActOnEndOfTranslationUnit() 1272 llvm::any_of(CurrentModule->submodules(), in ActOnEndOfTranslationUnit()
|
| H A D | SemaLookup.cpp | 1610 llvm::StringRef(getLangOpts().CurrentModule).split(':').first) { in isUsableModule() 5768 Module *CurrentModule = getCurrentModule(); in diagnoseMissingImport() local 5774 CurrentModule && CurrentModule->getPrimaryModuleInterfaceName() == in diagnoseMissingImport()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerOperations.cpp | 160 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVCodeViewReader.h | 117 int32_t CurrentModule = -1;
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 399 if (!getLangOpts().CurrentModule.empty()) in RegisterBuiltinMacros() 1848 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro() 1852 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1853 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
|
| H A D | ModuleMap.cpp | 864 if (LangOpts.CurrentModule == Name) in findOrCreateModule() 927 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForInterfaceUnit() 945 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createModuleForImplementationUnit() 969 assert(LangOpts.CurrentModule == Name && "module name mismatch"); in createHeaderUnit() 1092 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule() 2069 Map.LangOpts.CurrentModule == ModuleName && in parseModuleDecl()
|
| H A D | PPLexerChange.cpp | 791 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
| H A D | PPDirectives.cpp | 875 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 877 : HeaderInfo.lookupModule(getLangOpts().CurrentModule, Loc); in getModuleForLocation()
|
| H A D | Preprocessor.cpp | 527 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
| H A D | Pragma.cpp | 1743 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.cpp | 296 if (Module *CurrentModule = PP.getCurrentModuleImplementation()) in applyDiscoveredDependencies() local 300 .getModuleMapFileForUniquing(CurrentModule)) in applyDiscoveredDependencies()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangOptions.h | 473 std::string CurrentModule; variable
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 335 : CurrentReader(Reader), CurrentModule(M), in GUIDToFuncNameMapper() 340 for (const auto &F : CurrentModule) { in GUIDToFuncNameMapper() 395 Module &CurrentModule; member in __anon254a5ace0111::GUIDToFuncNameMapper
|