Lines Matching refs:ModuleFile
214 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
548 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule()
807 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
1079 ModuleFile *
1143 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1193 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1259 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1304 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1460 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1593 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1603 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1658 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1671 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1796 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
1930 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
1940 for (ModuleFile &I : llvm::reverse(ModuleMgr)) { in ReadDefinedMacros()
2021 bool operator()(ModuleFile &M) { in operator ()()
2092 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
2215 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
2272 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2393 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2430 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2548 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2550 const ModuleFile *ImportedBy, in ReadControlBlock()
2910 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadASTBlock()
3799 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
3834 ModuleFile *OM = (Kind == MK_PrebuiltModule || Kind == MK_ExplicitModule || in ReadModuleOffsetMap()
3887 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3888 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
4125 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
4237 ModuleFile &F = *M.Mod; in ReadAST()
4264 ModuleFile &F = *M.Mod; in ReadAST()
4308 ModuleFile &F = *M.Mod; in ReadAST()
4388 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
4468 ModuleFile *ImportedBy, in ReadASTCore()
4473 ModuleFile *M; in ReadASTCore()
4527 ModuleFile &F = *M; in ReadASTCore()
4620 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4672 ModuleFile *F, llvm::StringRef StreamData, unsigned ClientLoadCapabilities, in readUnhashedControlBlockImpl()
4773 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
5415 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadSubmoduleBlock()
5877 std::pair<ModuleFile *, unsigned>
5883 ModuleFile *M = I->second; in getModulePreprocessedEntity()
5889 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
5899 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
5910 ModuleFile *M = I->second; in ReadSkippedRange()
5922 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
5923 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
6032 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
6044 ModuleFile &M;
6046 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6084 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
6145 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
6146 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
6170 bool operator()(ModuleFile &M) { in operator ()()
6203 for (ModuleFile &F : ModuleMgr) { in ReadPragmaDiagnosticMappings()
6346 ModuleFile *M = I->second; in TypeCursorForIndex()
7055 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7060 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7261 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7276 ModuleFile &M) const { in isDeclIDFromModule()
7285 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7417 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7424 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
7426 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
7434 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7471 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
7513 ModuleFile &Mod;
7516 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
7764 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
7767 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
7772 using MapType = ContinuousRangeMap<Key, ModuleFile *, InitialCapacity>; in dumpModuleIDMap()
7796 for (ModuleFile &M : ModuleMgr) in dump()
7803 for (ModuleFile &I : ModuleMgr) { in getMemoryBufferSizes()
8024 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
8102 bool operator()(ModuleFile &M) { in operator ()()
8378 ModuleFile *FMod = LPT.first; in ReadLateParsedTemplates()
8388 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
8476 ModuleFile *M = I->second; in DecodeIdentifierInfo()
8498 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8502 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8531 ModuleFile *M = I->second; in getMacro()
8544 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8559 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8592 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
8605 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
8631 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
8647 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
8664 ModuleFile &M = *I->second; in DecodeSelector()
8686 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
8937 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
9116 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9143 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9186 serialization::ModuleFile *>>::iterator in ReadComments()
9192 serialization::ModuleFile &F = *I->second; in ReadComments()
9254 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9270 serialization::ModuleFile &MF, in visitTopLevelModuleMaps()
9288 if (ModuleFile *M = getOwningModuleFile(D)) in getOwningModuleNameForDiagnostic()