Lines Matching refs:ModuleFile
218 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
552 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule()
837 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
1126 ModuleFile *
1186 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1236 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1323 void ASTReader::ParseLineTable(ModuleFile &F, const RecordData &Record) { in ParseLineTable()
1362 llvm::Error ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1481 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1612 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1622 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1666 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1706 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1837 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
1961 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
1971 for (ModuleFile &I : llvm::reverse(ModuleMgr)) { in ReadDefinedMacros()
2052 bool operator()(ModuleFile &M) { in operator ()()
2123 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
2246 const serialization::ModuleFile &M) const { in shouldDisableValidationForFile()
2268 InputFileInfo ASTReader::getInputFileInfo(ModuleFile &F, unsigned ID) { in getInputFileInfo()
2336 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2456 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2496 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2614 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2616 const ModuleFile *ImportedBy, in ReadControlBlock()
2987 void ASTReader::readIncludedFiles(ModuleFile &F, StringRef Blob, in readIncludedFiles()
3003 llvm::Error ASTReader::ReadASTBlock(ModuleFile &F, in ReadASTBlock()
3852 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
3890 ModuleFile *OM = (Kind == MK_PrebuiltModule || Kind == MK_ExplicitModule || in ReadModuleOffsetMap()
3949 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3950 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
4191 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
4296 ModuleFile &F = *M.Mod; in ReadAST()
4328 ModuleFile &F = *M.Mod; in ReadAST()
4369 ModuleFile &F = *M.Mod; in ReadAST()
4454 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
4534 ModuleFile *ImportedBy, in ReadASTCore()
4539 ModuleFile *M; in ReadASTCore()
4593 ModuleFile &F = *M; in ReadASTCore()
4686 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4739 ModuleFile *F, llvm::StringRef StreamData, unsigned ClientLoadCapabilities, in readUnhashedControlBlockImpl()
4860 llvm::Error ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
5512 llvm::Error ASTReader::ReadSubmoduleBlock(ModuleFile &F, in ReadSubmoduleBlock()
6000 std::pair<ModuleFile *, unsigned>
6006 ModuleFile *M = I->second; in getModulePreprocessedEntity()
6012 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
6028 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
6039 ModuleFile *M = I->second; in ReadSkippedRange()
6051 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
6052 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
6160 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
6172 ModuleFile &M;
6174 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6212 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
6273 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
6274 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
6298 bool operator()(ModuleFile &M) { in operator ()()
6331 for (ModuleFile &F : ModuleMgr) { in ReadPragmaDiagnosticMappings()
6471 ModuleFile *M = I->second; in TypeCursorForIndex()
7203 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7208 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7413 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7428 ModuleFile &M) const { in isDeclIDFromModule()
7437 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7569 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7576 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
7578 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
7586 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7623 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
7665 ModuleFile &Mod;
7668 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
7910 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
7913 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
7918 using MapType = ContinuousRangeMap<Key, ModuleFile *, InitialCapacity>; in dumpModuleIDMap()
7942 for (ModuleFile &M : ModuleMgr) in dump()
7949 for (ModuleFile &I : ModuleMgr) { in getMemoryBufferSizes()
8173 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
8251 bool operator()(ModuleFile &M) { in operator ()()
8525 ModuleFile *FMod = LPT.first; in ReadLateParsedTemplates()
8535 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
8625 ModuleFile *M = I->second; in DecodeIdentifierInfo()
8643 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8647 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8676 ModuleFile *M = I->second; in getMacro()
8689 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8704 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8737 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
8750 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
8775 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
8792 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
8809 ModuleFile &M = *I->second; in DecodeSelector()
8831 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
9074 SourceRange ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
9094 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9121 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9164 serialization::ModuleFile *>>::iterator in ReadComments()
9170 serialization::ModuleFile &F = *I->second; in ReadComments()
9232 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9248 serialization::ModuleFile &MF, in visitTopLevelModuleMaps()