Lines Matching refs:ImportingInstance
1163 compileModuleImpl(CompilerInstance &ImportingInstance, SourceLocation ImportLoc, in compileModuleImpl() argument
1174 if (ImportingInstance.getModuleCache().isPCMFinal(ModuleFileName)) {
1175 ImportingInstance.getDiagnostics().Report(
1183 std::make_shared<CompilerInvocation>(ImportingInstance.getInvocation());
1203 ImportingInstance.getInvocation().getLangOpts().ModuleName;
1227 assert(ImportingInstance.getInvocation().getModuleHash() ==
1234 CompilerInstance Instance(ImportingInstance.getPCHContainerOperations(),
1235 &ImportingInstance.getModuleCache());
1240 ImportingInstance.getDiagnosticClient()),
1247 Instance.setFileManager(&ImportingInstance.getFileManager());
1249 Instance.createFileManager(&ImportingInstance.getVirtualFileSystem());
1257 ImportingInstance.getSourceManager().getModuleBuildStack());
1259 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
1264 if (!ImportingInstance.hasFailedModulesSet())
1265 ImportingInstance.createFailedModulesSet();
1266 Instance.setFailedModulesSet(ImportingInstance.getFailedModulesSetPtr());
1271 Instance.setModuleDepCollector(ImportingInstance.getModuleDepCollector());
1274 ImportingInstance.getDiagnostics().Report(ImportLoc,
1291 ImportingInstance.getDiagnostics().Report(ImportLoc,
1297 ImportingInstance.getFileManager().AddStats(Instance.getFileManager());
1331 static bool compileModule(CompilerInstance &ImportingInstance, in compileModule() argument
1334 InputKind IK(getLanguageFromOptions(ImportingInstance.getLangOpts()), in compileModule()
1339 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModule()
1340 SourceManager &SourceMgr = ImportingInstance.getSourceManager(); in compileModule()
1362 *ModuleMapFile, ImportingInstance.getFileManager())) in compileModule()
1369 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1386 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1402 if (ImportingInstance.getFrontendOpts().GenerateGlobalModuleIndex) { in compileModule()
1403 ImportingInstance.setBuildGlobalModuleIndex(true); in compileModule()
1410 static bool readASTAfterCompileModule(CompilerInstance &ImportingInstance, in readASTAfterCompileModule() argument
1415 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in readASTAfterCompileModule()
1423 ImportingInstance.getASTReader()->ReadAST( in readASTAfterCompileModule()
1445 static bool compileModuleAndReadASTImpl(CompilerInstance &ImportingInstance, in compileModuleAndReadASTImpl() argument
1450 if (!compileModule(ImportingInstance, ModuleNameLoc, Module, in compileModuleAndReadASTImpl()
1452 ImportingInstance.getDiagnostics().Report(ModuleNameLoc, in compileModuleAndReadASTImpl()
1458 return readASTAfterCompileModule(ImportingInstance, ImportLoc, ModuleNameLoc, in compileModuleAndReadASTImpl()
1472 CompilerInstance &ImportingInstance, SourceLocation ImportLoc, in compileModuleAndReadASTBehindLock() argument
1474 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in compileModuleAndReadASTBehindLock()
1498 return compileModuleAndReadASTImpl(ImportingInstance, ImportLoc, in compileModuleAndReadASTBehindLock()
1525 if (readASTAfterCompileModule(ImportingInstance, ImportLoc, ModuleNameLoc, in compileModuleAndReadASTBehindLock()
1541 static bool compileModuleAndReadAST(CompilerInstance &ImportingInstance, in compileModuleAndReadAST() argument
1545 return ImportingInstance.getInvocation() in compileModuleAndReadAST()
1548 ? compileModuleAndReadASTBehindLock(ImportingInstance, ImportLoc, in compileModuleAndReadAST()
1551 : compileModuleAndReadASTImpl(ImportingInstance, ImportLoc, in compileModuleAndReadAST()