/external/clang/lib/Serialization/ |
D | ModuleManager.cpp | 333 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()
|
D | ASTReader.cpp | 4424 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 …]
|
D | ASTWriter.cpp | 1367 AddString(LangOpts.CurrentModule, Record); in WriteControlBlock()
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/MCJIT/complete/ |
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 …]
|
/external/v8/src/torque/ |
D | file-visitor.h | 43 : visitor_(visitor), saved_module_(visitor->CurrentModule()) { in ScopedModuleActivator() 58 Module* CurrentModule() const { return module_; } in CurrentModule() function
|
D | declaration-visitor.cc | 207 declarations()->DeclareGeneric(decl->callable->name, CurrentModule(), decl); in Visit() 354 declarations()->DeclareStruct(CurrentModule(), decl->name, fields); in Visit()
|
D | implementation-visitor.cc | 173 GetDSLAssemblerName(CurrentModule()) + "::", name, in Visit() 216 source_out(), GetDSLAssemblerName(CurrentModule()) + "::", macro); in Visit() 271 << GetDSLAssemblerName(CurrentModule()) << ") {\n"; in Visit()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 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()
|
D | CompilerInstance.cpp | 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()
|
D | CompilerInvocation.cpp | 1942 Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name_EQ); in ParseLangArgs()
|
/external/clang/lib/Basic/ |
D | LangOptions.cpp | 36 CurrentModule.clear(); in resetNonModularOptions()
|
/external/clang/include/clang/Basic/ |
D | LangOptions.h | 107 std::string CurrentModule; variable
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 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()
|
D | PPDirectives.cpp | 672 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 674 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation() 1849 getLangOpts().CurrentModule) { in HandleIncludeDirective()
|
D | PPLexerChange.cpp | 699 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { in LeaveSubmodule()
|
D | Preprocessor.cpp | 486 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
D | ModuleMap.cpp | 554 if (LangOpts.CurrentModule == Name) in findOrCreateModule() 685 if (LangOpts.CurrentModule == ModuleName) in inferFrameworkModule()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 747 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 751 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
D | SemaDecl.cpp | 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()
|