Home
last modified time | relevance | path

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

/external/clang/lib/Serialization/
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()
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 …]
DASTWriter.cpp1367 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/
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 …]
/external/v8/src/torque/
Dfile-visitor.h43 : visitor_(visitor), saved_module_(visitor->CurrentModule()) { in ScopedModuleActivator()
58 Module* CurrentModule() const { return module_; } in CurrentModule() function
Ddeclaration-visitor.cc207 declarations()->DeclareGeneric(decl->callable->name, CurrentModule(), decl); in Visit()
354 declarations()->DeclareStruct(CurrentModule(), decl->name, fields); in Visit()
Dimplementation-visitor.cc173 GetDSLAssemblerName(CurrentModule()) + "::", name, in Visit()
216 source_out(), GetDSLAssemblerName(CurrentModule()) + "::", macro); in Visit()
271 << GetDSLAssemblerName(CurrentModule()) << ") {\n"; in Visit()
/external/clang/lib/Frontend/
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()
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()
DCompilerInvocation.cpp1942 Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name_EQ); in ParseLangArgs()
/external/clang/lib/Basic/
DLangOptions.cpp36 CurrentModule.clear(); in resetNonModularOptions()
/external/clang/include/clang/Basic/
DLangOptions.h107 std::string CurrentModule; variable
/external/clang/lib/Lex/
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()
DPPDirectives.cpp672 return getLangOpts().CurrentModule.empty() in getModuleForLocation()
674 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation()
1849 getLangOpts().CurrentModule) { in HandleIncludeDirective()
DPPLexerChange.cpp699 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
DPreprocessor.cpp486 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
DModuleMap.cpp554 if (LangOpts.CurrentModule == Name) in findOrCreateModule()
685 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule()
/external/clang/lib/Sema/
DSema.cpp747 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local
751 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
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()