/netbsd-src/external/apache2/llvm/dist/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 | 5449 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 5490 if (!CurrentModule && Kind != SUBMODULE_METADATA && in ReadSubmoduleBlock() 5525 CurrentModule = in ReadSubmoduleBlock() 5540 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock() 5546 CurrentModule->getTopLevelModuleName(), CurFile->getName(), in ReadSubmoduleBlock() 5553 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock() 5554 CurrentModule->PresumedModuleMapFile = F.ModuleMapPath; in ReadSubmoduleBlock() 5557 CurrentModule->Kind = Kind; in ReadSubmoduleBlock() 5558 CurrentModule->Signature = F.Signature; in ReadSubmoduleBlock() 5559 CurrentModule->IsFromModuleFile = true; in ReadSubmoduleBlock() [all …]
|
H A D | ASTWriter.cpp | 1252 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock() 2490 !Top->fullModuleNameIs(StringRef(getLangOpts().CurrentModule)))) in getLocalOrImportedSubmoduleID()
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 797 MCJITHelper(LLVMContext& C) : Context(C), CurrentModule(NULL) { in MCJITHelper() 828 Module *CurrentModule; member in MCJITHelper 894 if (*it == CurrentModule) in getFunction() 897 assert(CurrentModule != NULL); in getFunction() 901 Function *PF = CurrentModule->getFunction(FnName); in getFunction() 912 CurrentModule); in getFunction() 921 if (CurrentModule) in getModuleForNewFunction() 922 return CurrentModule; in getModuleForNewFunction() 928 CurrentModule = M; in getModuleForNewFunction() 936 if (M == CurrentModule) in compileModule() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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 | 214 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 303 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers); in BeginSourceFileAction()
|
H A D | CompilerInstance.cpp | 1077 Invocation->getLangOpts()->CurrentModule = std::string(ModuleName); 1844 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule() 1856 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule() 1977 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
|
H A D | CompilerInvocation.cpp | 459 LangOpts.CurrentModule = LangOpts.ModuleName; in FixupInvocation()
|
/netbsd-src/external/apache2/llvm/dist/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 | 1143 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 1147 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
H A D | SemaLookup.cpp | 1563 return M->getTopLevelModuleName() == LangOpts.CurrentModule || in isInCurrentModule()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | LangOptions.cpp | 35 CurrentModule.clear(); in resetNonModularOptions()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | ObjectFilePCHContainerOperations.cpp | 154 LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule; in PCHContainerGenerator()
|
H A D | CodeGenModule.cpp | 2310 if (M->getTopLevelModuleName() == getLangOpts().CurrentModule && in EmitModuleLinkOptions()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | PPDirectives.cpp | 109 static bool isForModuleBuilding(Module *M, StringRef CurrentModule, in isForModuleBuilding() argument 115 if (M->getTopLevelModule()->IsFramework && CurrentModule == ModuleName && in isForModuleBuilding() 116 !CurrentModule.endswith("_Private") && TopLevelName.endswith("_Private")) in isForModuleBuilding() 119 return TopLevelName == CurrentModule; in isForModuleBuilding() 673 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 675 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation() 1985 getLangOpts().CurrentModule, in HandleHeaderIncludeOrImport() 2285 isForModuleBuilding(M, getLangOpts().CurrentModule, in HandleHeaderIncludeOrImport()
|
H A D | PPMacroExpansion.cpp | 394 if (!getLangOpts().CurrentModule.empty()) in RegisterBuiltinMacros() 1788 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro() 1792 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1793 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 | 737 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
H A D | Preprocessor.cpp | 521 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
H A D | Pragma.cpp | 1655 StringRef Current = PP.getLangOpts().CurrentModule; in HandlePragma()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | LangOptions.h | 329 std::string CurrentModule; variable
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 241 : CurrentReader(Reader), CurrentModule(M), in GUIDToFuncNameMapper() 246 for (const auto &F : CurrentModule) { in GUIDToFuncNameMapper() 301 Module &CurrentModule; member in __anon1e220fe30111::GUIDToFuncNameMapper
|