Lines Matching refs:ModuleFile

215 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M,  in ReadCounter()
549 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule()
808 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
1097 ModuleFile *
1157 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1207 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1273 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1318 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1474 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1606 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1616 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1671 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1684 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1809 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
1937 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
1947 for (ModuleFile &I : llvm::reverse(ModuleMgr)) { in ReadDefinedMacros()
2028 bool operator()(ModuleFile &M) { in operator ()()
2099 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
2222 const serialization::ModuleFile &M) const { in shouldDisableValidationForFile()
2245 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
2302 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2423 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2460 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2578 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2580 const ModuleFile *ImportedBy, in ReadControlBlock()
2951 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadASTBlock()
3819 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
3854 ModuleFile *OM = (Kind == MK_PrebuiltModule || Kind == MK_ExplicitModule || in ReadModuleOffsetMap()
3907 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3908 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
4147 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
4262 ModuleFile &F = *M.Mod; in ReadAST()
4289 ModuleFile &F = *M.Mod; in ReadAST()
4332 ModuleFile &F = *M.Mod; in ReadAST()
4412 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
4492 ModuleFile *ImportedBy, in ReadASTCore()
4497 ModuleFile *M; in ReadASTCore()
4551 ModuleFile &F = *M; in ReadASTCore()
4644 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4697 ModuleFile *F, llvm::StringRef StreamData, unsigned ClientLoadCapabilities, in readUnhashedControlBlockImpl()
4798 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
5440 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadSubmoduleBlock()
5904 std::pair<ModuleFile *, unsigned>
5910 ModuleFile *M = I->second; in getModulePreprocessedEntity()
5916 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
5926 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
5937 ModuleFile *M = I->second; in ReadSkippedRange()
5949 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
5950 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
6059 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
6071 ModuleFile &M;
6073 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6111 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
6172 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
6173 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
6197 bool operator()(ModuleFile &M) { in operator ()()
6230 for (ModuleFile &F : ModuleMgr) { in ReadPragmaDiagnosticMappings()
6373 ModuleFile *M = I->second; in TypeCursorForIndex()
7087 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7092 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7293 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7308 ModuleFile &M) const { in isDeclIDFromModule()
7317 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7449 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7456 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
7458 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
7466 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7503 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
7545 ModuleFile &Mod;
7548 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
7797 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
7800 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
7805 using MapType = ContinuousRangeMap<Key, ModuleFile *, InitialCapacity>; in dumpModuleIDMap()
7829 for (ModuleFile &M : ModuleMgr) in dump()
7836 for (ModuleFile &I : ModuleMgr) { in getMemoryBufferSizes()
8060 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
8138 bool operator()(ModuleFile &M) { in operator ()()
8411 ModuleFile *FMod = LPT.first; in ReadLateParsedTemplates()
8421 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
8509 ModuleFile *M = I->second; in DecodeIdentifierInfo()
8527 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8531 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8560 ModuleFile *M = I->second; in getMacro()
8573 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8588 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8621 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
8634 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
8660 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
8676 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
8693 ModuleFile &M = *I->second; in DecodeSelector()
8715 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
8959 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
8979 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9006 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9049 serialization::ModuleFile *>>::iterator in ReadComments()
9055 serialization::ModuleFile &F = *I->second; in ReadComments()
9117 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9133 serialization::ModuleFile &MF, in visitTopLevelModuleMaps()
9151 if (ModuleFile *M = getOwningModuleFile(D)) in getOwningModuleNameForDiagnostic()