Lines Matching refs:WritingModule

1062   if (WritingModule &&  in writeUnhashedControlBlock()
1097 WritePragmaDiagnosticMappings(Diags, /* isModule = */ WritingModule); in writeUnhashedControlBlock()
1125 assert((!WritingModule || isysroot.empty()) && in WriteControlBlock()
1141 if (WritingModule) { in WriteControlBlock()
1148 Stream.EmitRecordWithBlob(AbbrevCode, Record, WritingModule->Name); in WriteControlBlock()
1151 if (WritingModule && WritingModule->Directory) { in WriteControlBlock()
1152 SmallString<128> BaseDir(WritingModule->Directory->getName()); in WriteControlBlock()
1161 WritingModule->Directory->getName() != StringRef(".")) { in WriteControlBlock()
1180 if (WritingModule && WritingModule->Kind == Module::ModuleMapModule) { in WriteControlBlock()
1184 AddPath(WritingModule->PresumedModuleMapFile.empty() in WriteControlBlock()
1185 ? Map.getModuleMapFileForUniquing(WritingModule)->getName() in WriteControlBlock()
1186 : StringRef(WritingModule->PresumedModuleMapFile), in WriteControlBlock()
1191 Map.getAdditionalModuleMapFiles(WritingModule)) { in WriteControlBlock()
1759 if (WritingModule) { in WriteHeaderSearch()
1760 llvm::SmallVector<Module *, 16> Worklist(1, WritingModule); in WriteHeaderSearch()
1781 << WritingModule->getFullModuleName() << U.Size.hasValue() in WriteHeaderSearch()
2483 if (Top != WritingModule && in getLocalOrImportedSubmoduleID()
2512 void ASTWriter::WriteSubmodules(Module *WritingModule) { in WriteSubmodules() argument
2606 getNumberOfModules(WritingModule), in WriteSubmodules()
2612 Q.push(WritingModule); in WriteSubmodules()
2753 getNumberOfModules(WritingModule)) && in WriteSubmodules()
4158 if (WritingModule) in WritePackPragmaOptions()
4178 if (WritingModule) in WriteFloatControlPragmaOptions()
4367 Module *WritingModule, StringRef isysroot, in WriteAST() argument
4384 this->WritingModule = WritingModule; in WriteAST()
4386 WriteASTCore(SemaRef, isysroot, OutputFile, WritingModule); in WriteAST()
4389 this->WritingModule = nullptr; in WriteAST()
4413 Module *WritingModule) { in WriteASTCore() argument
4416 bool isModule = WritingModule != nullptr; in WriteASTCore()
4643 if (!WritingModule || !getLangOpts().CPlusPlus) { in WriteASTCore()
4798 if (WritingModule) in WriteASTCore()
4799 WriteSubmodules(WritingModule); in WriteASTCore()
4876 if (!WritingModule) { in WriteASTCore()
4917 if(!WritingModule) { in WriteASTCore()