Searched refs:PrimaryModule (Results 1 – 3 of 3) sorted by relevance
600 auto &PrimaryModule = MM.getPrimaryModule(); in BeginSourceFile() local603 if (&MF != &PrimaryModule) in BeginSourceFile()607 PrimaryModule, [&](const FileEntry *FE) { in BeginSourceFile()
3654 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST() local3655 if (PrimaryModule.OriginalSourceFileID.isValid()) { in ReadAST()3656 PrimaryModule.OriginalSourceFileID in ReadAST()3657 = FileID::get(PrimaryModule.SLocEntryBaseID in ReadAST()3658 + PrimaryModule.OriginalSourceFileID.getOpaqueValue() - 1); in ReadAST()3664 SourceMgr.setPreambleFileID(PrimaryModule.OriginalSourceFileID); in ReadAST()3666 SourceMgr.setMainFileID(PrimaryModule.OriginalSourceFileID); in ReadAST()
4388 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST() local4389 if (PrimaryModule.OriginalSourceFileID.isValid()) { in ReadAST()4394 SourceMgr.setPreambleFileID(PrimaryModule.OriginalSourceFileID); in ReadAST()4396 SourceMgr.setMainFileID(PrimaryModule.OriginalSourceFileID); in ReadAST()