Searched refs:CurrentModule (Results 1 – 16 of 16) sorted by relevance
333 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit() local334 VisitOrder.push_back(CurrentModule); in visit()338 for (auto M = CurrentModule->Imports.rbegin(), in visit()339 MEnd = CurrentModule->Imports.rend(); in visit()373 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local375 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit()379 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit()380 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit()381 if (!Visitor(*CurrentModule)) in visit()387 ModuleFile *NextModule = CurrentModule; in visit()
4424 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local4454 if (!CurrentModule && Kind != SUBMODULE_METADATA && in ReadSubmoduleBlock()4487 CurrentModule = ModMap.findOrCreateModule(Name, ParentModule, IsFramework, in ReadSubmoduleBlock()4501 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock()4505 << CurrentModule->getTopLevelModuleName() in ReadSubmoduleBlock()4513 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock()4516 CurrentModule->Signature = F.Signature; in ReadSubmoduleBlock()4517 CurrentModule->IsFromModuleFile = true; in ReadSubmoduleBlock()4518 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()4519 CurrentModule->IsExternC = IsExternC; in ReadSubmoduleBlock()[all …]
1367 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
797 MCJITHelper(LLVMContext& C) : Context(C), CurrentModule(NULL) { in MCJITHelper()828 Module *CurrentModule; member in MCJITHelper894 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 …]
296 if (CI.getLangOpts().CurrentModule.empty()) { in BeginSourceFileAction()311 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in BeginSourceFileAction()315 Module = HS.lookupModule(CI.getLangOpts().CurrentModule, in BeginSourceFileAction()319 << CI.getLangOpts().CurrentModule << Filename; in BeginSourceFileAction()389 HS.getModuleFileName(CI.getLangOpts().CurrentModule, in ComputeASTConsumerArguments()
953 Invocation->getLangOpts()->CurrentModule = Module->getTopLevelModuleName(); in compileModuleImpl()1423 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) in loadModule()1437 } else if (ModuleName == getLangOpts().CurrentModule) { in loadModule()1617 if (ModuleName != getLangOpts().CurrentModule) { in loadModule()
1942 Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name_EQ); in ParseLangArgs()
36 CurrentModule.clear(); in resetNonModularOptions()
107 std::string CurrentModule; variable
334 if (!LangOpts.CurrentModule.empty()) in RegisterBuiltinMacros()1800 (II->getName() == getLangOpts().CurrentModule); in ExpandBuiltinMacro()1804 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro()1805 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
672 return getLangOpts().CurrentModule.empty() in getModuleForLocation()674 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation()1849 getLangOpts().CurrentModule) { in HandleIncludeDirective()
699 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
486 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
554 if (LangOpts.CurrentModule == Name) in findOrCreateModule()685 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule()
747 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local751 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
15077 if (Mod->getTopLevelModuleName() == getLangOpts().CurrentModule) in ActOnModuleImport()15081 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()15120 getLangOpts().CurrentModule.empty() || in ActOnModuleInclude()15121 getLangOpts().CurrentModule != Mod->getTopLevelModuleName()); in ActOnModuleInclude()