/external/clang/lib/Serialization/ |
D | ModuleManager.cpp | 321 ModuleFile *CurrentModule = Queue[QueueStart++]; in visit() local 322 VisitOrder.push_back(CurrentModule); in visit() 327 M = CurrentModule->Imports.begin(), in visit() 328 MEnd = CurrentModule->Imports.end(); in visit() 362 ModuleFile *CurrentModule = VisitOrder[I]; in visit() local 364 if (State->VisitNumber[CurrentModule->Index] == VisitNumber) in visit() 368 assert(State->VisitNumber[CurrentModule->Index] == VisitNumber - 1); in visit() 369 State->VisitNumber[CurrentModule->Index] = VisitNumber; in visit() 370 if (!Visitor(*CurrentModule, UserData)) in visit() 376 ModuleFile *NextModule = CurrentModule; in visit()
|
D | ASTReader.cpp | 4472 Module *CurrentModule = nullptr; in ReadSubmoduleBlock() local 4502 if (!CurrentModule && Kind != SUBMODULE_METADATA && in ReadSubmoduleBlock() 4535 CurrentModule = ModMap.findOrCreateModule(Name, ParentModule, IsFramework, in ReadSubmoduleBlock() 4549 if (const FileEntry *CurFile = CurrentModule->getASTFile()) { in ReadSubmoduleBlock() 4553 << CurrentModule->getTopLevelModuleName() in ReadSubmoduleBlock() 4561 CurrentModule->setASTFile(F.File); in ReadSubmoduleBlock() 4564 CurrentModule->IsFromModuleFile = true; in ReadSubmoduleBlock() 4565 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock() 4566 CurrentModule->IsExternC = IsExternC; in ReadSubmoduleBlock() 4567 CurrentModule->InferSubmodules = InferSubmodules; in ReadSubmoduleBlock() [all …]
|
D | ASTWriter.cpp | 1269 Record.push_back(LangOpts.CurrentModule.size()); in WriteControlBlock() 1270 Record.append(LangOpts.CurrentModule.begin(), LangOpts.CurrentModule.end()); 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/clang/lib/Basic/ |
D | LangOptions.cpp | 35 CurrentModule.clear(); in resetNonModularOptions()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 272 if (CI.getLangOpts().CurrentModule.empty()) { in BeginSourceFileAction() 287 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in BeginSourceFileAction() 291 Module = HS.lookupModule(CI.getLangOpts().CurrentModule, in BeginSourceFileAction() 295 << CI.getLangOpts().CurrentModule << Filename; in BeginSourceFileAction() 367 HS.getModuleFileName(CI.getLangOpts().CurrentModule, in ComputeASTConsumerArguments()
|
D | CompilerInstance.cpp | 891 Invocation->getLangOpts()->CurrentModule = Module->getTopLevelModuleName(); in compileModuleImpl() 1385 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule && in loadModule() 1400 } else if (ModuleName == getLangOpts().CurrentModule || in loadModule() 1596 if (ModuleName != getLangOpts().CurrentModule) { in loadModule() 1645 bool IsInModuleIncludes = !getLangOpts().CurrentModule.empty() && in loadModule()
|
D | CompilerInvocation.cpp | 1568 Opts.CurrentModule = Args.getLastArgValue(OPT_fmodule_name); in ParseLangArgs() 1577 if (!Opts.CurrentModule.empty() && !Opts.ImplementationOfModule.empty() && in ParseLangArgs() 1578 Opts.CurrentModule != Opts.ImplementationOfModule) { in ParseLangArgs() 1580 << Opts.CurrentModule << Opts.ImplementationOfModule; in ParseLangArgs()
|
D | ASTUnit.cpp | 2797 return isMainFileAST() && !ASTFileLangOpts.CurrentModule.empty(); in isModuleFile()
|
/external/clang/include/clang/Basic/ |
D | LangOptions.h | 89 std::string CurrentModule; variable
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 132 if (!LangOpts.CurrentModule.empty()) in RegisterBuiltinMacros() 1237 = Tok.getIdentifierInfo()->getName() == PP.getLangOpts().CurrentModule; in EvaluateBuildingModule() 1534 OS << getLangOpts().CurrentModule; in ExpandBuiltinMacro() 1535 IdentifierInfo *ModuleII = getIdentifierInfo(getLangOpts().CurrentModule); in ExpandBuiltinMacro()
|
D | Preprocessor.cpp | 466 if (getLangOpts().CurrentModule.empty()) in getCurrentModule() 469 return getHeaderSearchInfo().lookupModule(getLangOpts().CurrentModule); in getCurrentModule()
|
D | ModuleMap.cpp | 567 if (LangOpts.CurrentModule == Name) { in findOrCreateModule() 573 if (!LangOpts.CurrentModule.empty() && !CompilingModule && in findOrCreateModule() 574 Name == LangOpts.CurrentModule) { in findOrCreateModule() 699 if (LangOpts.CurrentModule == ModuleName) { in inferFrameworkModule()
|
D | PPDirectives.cpp | 1674 = Path[0].first->getName() == getLangOpts().CurrentModule; in HandleIncludeDirective() 1774 if (getLangOpts().Modules && !getLangOpts().CurrentModule.empty()) { in HandleIncludeDirective()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 707 if (Module *CurrentModule = PP.getCurrentModule()) { in ActOnEndOfTranslationUnit() local 711 Stack.push_back(CurrentModule); in ActOnEndOfTranslationUnit()
|
D | SemaDeclObjC.cpp | 2240 if (getLangOpts().Modules && !getLangOpts().CurrentModule.empty()) in addMethodToGlobalList()
|
D | SemaDecl.cpp | 14018 if (Mod->getTopLevelModuleName() == getLangOpts().CurrentModule) in ActOnModuleImport() 14020 << Mod->getFullModuleName() << getLangOpts().CurrentModule; in ActOnModuleImport()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3367 if (getLangOpts().CurrentModule.empty() || in EmitTopLevelDecl() 3368 Owner->getTopLevelModule()->Name == getLangOpts().CurrentModule) in EmitTopLevelDecl()
|