/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 154 if (isImportingModuleUnitFromSameModule(Ctx, Importing, CurrentModule, in makeTransitiveImportsVisible() 190 StringRef HUName = getLangOpts().CurrentModule; in HandleStartOfHeaderUnit() 194 const_cast<LangOptions &>(getLangOpts()).CurrentModule = HUName.str(); in HandleStartOfHeaderUnit() 378 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 379 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() [all …]
|
H A D | Sema.cpp | 1271 if (Module *CurrentModule = getCurrentModule(); in ActOnEndOfTranslationUnit() local 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() local 1299 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
/freebsd/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, in prepareToBuildModule() 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() local 898 if (!CurrentModule) in BeginSourceFile() [all …]
|
H A D | FrontendActions.cpp | 254 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 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 loadModule()
|
H A D | ASTUnit.cpp | 896 Module *M = HeaderInfo.lookupModule(AST->getLangOpts().CurrentModule); in LoadFromASTFile()
|
H A D | CompilerInvocation.cpp | 588 LangOpts.CurrentModule = LangOpts.ModuleName; in FixupInvocation()
|
/freebsd/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/contrib/llvm-project/clang/lib/Serialization/ |
H A D | GeneratePCH.cpp | 48 M = PP.getHeaderSearchInfo().lookupModule(PP.getLangOpts().CurrentModule, in getEmittingModule()
|
H A D | ASTReader.cpp | 5721 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 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->Signature = F.Signature; in ReadSubmoduleBlock() [all …]
|
H A D | ASTWriter.cpp | 214 const Module *CurrentModule = Q.front(); in GetAffectingModuleMaps() local 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 getLocalOrImportedSubmoduleID()
|
/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 | 1089 if (CurrentModule != Modi) { in createScopes() 1093 CurrentModule = Modi; in createScopes() 1120 if (LVScope *Scope = getScopeForModule(CurrentModule)) { in processModule()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/ |
H A D | SymbolGraphSerializer.cpp | 931 auto *CurrentModule = ModuleForCurrentSymbol; in traverseObjCCategoryRecord() local 939 ModuleForCurrentSymbol = CurrentModule; in traverseObjCCategoryRecord()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
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 | PPMacroExpansion.cpp | 400 if (!getLangOpts().CurrentModule.empty()) in RegisterBuiltinMacros() 1986 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro() 1990 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1991 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
|
H A D | PPLexerChange.cpp | 790 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
H A D | Preprocessor.cpp | 531 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
H A D | PPDirectives.cpp | 876 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 878 : HeaderInfo.lookupModule(getLangOpts().CurrentModule, Loc); in getModuleForLocation()
|
H A D | Pragma.cpp | 1744 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 365 if (Module *CurrentModule = PP.getCurrentModuleImplementation()) in applyDiscoveredDependencies() local 369 .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 | 516 std::string CurrentModule; variable
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 3119 if (M->getTopLevelModuleName() == getLangOpts().CurrentModule && in EmitModuleLinkOptions()
|