Lines Matching refs:ModuleFile

215 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M,  in ReadCounter()
549 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule()
810 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
1099 ModuleFile *
1159 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1209 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1275 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1320 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1476 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1608 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1618 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1673 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1686 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1811 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
1939 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
1949 for (ModuleFile &I : llvm::reverse(ModuleMgr)) { in ReadDefinedMacros()
2030 bool operator()(ModuleFile &M) { in operator ()()
2101 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
2224 const serialization::ModuleFile &M) const { in shouldDisableValidationForFile()
2247 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
2304 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2425 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2462 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2580 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2582 const ModuleFile *ImportedBy, in ReadControlBlock()
2958 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadASTBlock()
3826 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
3864 ModuleFile *OM = (Kind == MK_PrebuiltModule || Kind == MK_ExplicitModule || in ReadModuleOffsetMap()
3923 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3924 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
4163 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
4278 ModuleFile &F = *M.Mod; in ReadAST()
4305 ModuleFile &F = *M.Mod; in ReadAST()
4348 ModuleFile &F = *M.Mod; in ReadAST()
4428 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
4508 ModuleFile *ImportedBy, in ReadASTCore()
4513 ModuleFile *M; in ReadASTCore()
4567 ModuleFile &F = *M; in ReadASTCore()
4660 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4713 ModuleFile *F, llvm::StringRef StreamData, unsigned ClientLoadCapabilities, in readUnhashedControlBlockImpl()
4814 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
5456 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadSubmoduleBlock()
5920 std::pair<ModuleFile *, unsigned>
5926 ModuleFile *M = I->second; in getModulePreprocessedEntity()
5932 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
5948 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
5959 ModuleFile *M = I->second; in ReadSkippedRange()
5971 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
5972 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
6081 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
6093 ModuleFile &M;
6095 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6133 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
6194 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
6195 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
6219 bool operator()(ModuleFile &M) { in operator ()()
6252 for (ModuleFile &F : ModuleMgr) { in ReadPragmaDiagnosticMappings()
6395 ModuleFile *M = I->second; in TypeCursorForIndex()
7109 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7114 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7320 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7335 ModuleFile &M) const { in isDeclIDFromModule()
7344 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7476 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7483 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
7485 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
7493 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7530 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
7572 ModuleFile &Mod;
7575 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
7824 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
7827 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
7832 using MapType = ContinuousRangeMap<Key, ModuleFile *, InitialCapacity>; in dumpModuleIDMap()
7856 for (ModuleFile &M : ModuleMgr) in dump()
7863 for (ModuleFile &I : ModuleMgr) { in getMemoryBufferSizes()
8087 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
8165 bool operator()(ModuleFile &M) { in operator ()()
8438 ModuleFile *FMod = LPT.first; in ReadLateParsedTemplates()
8448 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
8538 ModuleFile *M = I->second; in DecodeIdentifierInfo()
8556 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8560 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8589 ModuleFile *M = I->second; in getMacro()
8602 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8617 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8650 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
8663 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
8689 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
8705 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
8722 ModuleFile &M = *I->second; in DecodeSelector()
8744 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
8988 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
9008 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9035 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9078 serialization::ModuleFile *>>::iterator in ReadComments()
9084 serialization::ModuleFile &F = *I->second; in ReadComments()
9146 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9162 serialization::ModuleFile &MF, in visitTopLevelModuleMaps()
9180 if (ModuleFile *M = getOwningModuleFile(D)) in getOwningModuleNameForDiagnostic()