Home
last modified time | relevance | path

Searched refs:CurrentModule (Results 1 – 25 of 26) sorted by relevance

12

/aosp_15_r20/external/clang/lib/Serialization/
H A DModuleManager.cpp333 ModuleFile *CurrentModule = Queue.pop_back_val(); in visit() local
334 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() local
375 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()
H A DASTReader.cpp4424 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local
4454 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 …]
/aosp_15_r20/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp797 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 …]
/aosp_15_r20/external/clang/lib/Frontend/
H A DFrontendActions.cpp296 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()
H A DCompilerInstance.cpp953 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()
H A DCompilerInvocation.cpp1942 Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name_EQ); in ParseLangArgs()
/aosp_15_r20/external/clang/lib/Basic/
H A DLangOptions.cpp36 CurrentModule.clear(); in resetNonModularOptions()
/aosp_15_r20/external/clang/include/clang/Basic/
H A DLangOptions.h107 std::string CurrentModule; variable
/aosp_15_r20/external/clang/lib/Lex/
H A DPPMacroExpansion.cpp334 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()
H A DPPDirectives.cpp672 return getLangOpts().CurrentModule.empty() in getModuleForLocation()
674 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation()
1849 getLangOpts().CurrentModule) { in HandleIncludeDirective()
H A DPPLexerChange.cpp699 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
H A DPreprocessor.cpp486 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
H A DModuleMap.cpp554 if (LangOpts.CurrentModule == Name) in findOrCreateModule()
685 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp236 : CurrentReader(Reader), CurrentModule(M), in GUIDToFuncNameMapper()
241 for (const auto &F : CurrentModule) { in GUIDToFuncNameMapper()
296 Module &CurrentModule; member in __anondd3683520111::GUIDToFuncNameMapper
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/DebugInfo/LogicalView/Readers/
DLVCodeViewReader.h117 int32_t CurrentModule = -1;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/DebugInfo/LogicalView/Readers/
DLVCodeViewReader.h117 int32_t CurrentModule = -1;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/DebugInfo/LogicalView/Readers/
DLVCodeViewReader.h117 int32_t CurrentModule = -1;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/DebugInfo/LogicalView/Readers/
DLVCodeViewReader.h117 int32_t CurrentModule = -1;
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp325 : CurrentReader(Reader), CurrentModule(M), in GUIDToFuncNameMapper()
330 for (const auto &F : CurrentModule) { in GUIDToFuncNameMapper()
385 Module &CurrentModule; member in __anonf36354580111::GUIDToFuncNameMapper
/aosp_15_r20/external/clang/lib/Sema/
H A DSema.cpp747 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local
751 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
H A DSemaDecl.cpp15077 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Basic/
DLangOptions.h451 std::string CurrentModule; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Basic/
DLangOptions.h516 std::string CurrentModule; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Basic/
DLangOptions.h473 std::string CurrentModule; variable
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Basic/
DLangOptions.h473 std::string CurrentModule; variable

12