Lines Matching refs:ModuleFile
217 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
551 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule()
836 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
1125 ModuleFile *
1185 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1235 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1322 void ASTReader::ParseLineTable(ModuleFile &F, const RecordData &Record) { in ParseLineTable()
1364 llvm::Error ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1512 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1643 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1653 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1697 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1710 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1841 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
1965 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
1975 for (ModuleFile &I : llvm::reverse(ModuleMgr)) { in ReadDefinedMacros()
2056 bool operator()(ModuleFile &M) { in operator ()()
2127 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
2250 const serialization::ModuleFile &M) const { in shouldDisableValidationForFile()
2273 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
2330 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2460 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2500 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2618 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2620 const ModuleFile *ImportedBy, in ReadControlBlock()
2996 void ASTReader::readIncludedFiles(ModuleFile &F, StringRef Blob, in readIncludedFiles()
3012 llvm::Error ASTReader::ReadASTBlock(ModuleFile &F, in ReadASTBlock()
3856 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
3894 ModuleFile *OM = (Kind == MK_PrebuiltModule || Kind == MK_ExplicitModule || in ReadModuleOffsetMap()
3953 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3954 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
4194 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
4301 ModuleFile &F = *M.Mod; in ReadAST()
4332 ModuleFile &F = *M.Mod; in ReadAST()
4375 ModuleFile &F = *M.Mod; in ReadAST()
4455 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
4535 ModuleFile *ImportedBy, in ReadASTCore()
4540 ModuleFile *M; in ReadASTCore()
4594 ModuleFile &F = *M; in ReadASTCore()
4687 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4740 ModuleFile *F, llvm::StringRef StreamData, unsigned ClientLoadCapabilities, in readUnhashedControlBlockImpl()
4854 llvm::Error ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
5496 llvm::Error ASTReader::ReadSubmoduleBlock(ModuleFile &F, in ReadSubmoduleBlock()
5958 std::pair<ModuleFile *, unsigned>
5964 ModuleFile *M = I->second; in getModulePreprocessedEntity()
5970 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
5986 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
5997 ModuleFile *M = I->second; in ReadSkippedRange()
6009 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
6010 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
6118 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
6130 ModuleFile &M;
6132 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6170 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
6231 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
6232 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
6256 bool operator()(ModuleFile &M) { in operator ()()
6289 for (ModuleFile &F : ModuleMgr) { in ReadPragmaDiagnosticMappings()
6432 ModuleFile *M = I->second; in TypeCursorForIndex()
7163 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7168 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7374 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7389 ModuleFile &M) const { in isDeclIDFromModule()
7398 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7530 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7537 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
7539 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
7547 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7584 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
7626 ModuleFile &Mod;
7629 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
7871 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
7874 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
7879 using MapType = ContinuousRangeMap<Key, ModuleFile *, InitialCapacity>; in dumpModuleIDMap()
7903 for (ModuleFile &M : ModuleMgr) in dump()
7910 for (ModuleFile &I : ModuleMgr) { in getMemoryBufferSizes()
8134 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
8212 bool operator()(ModuleFile &M) { in operator ()()
8486 ModuleFile *FMod = LPT.first; in ReadLateParsedTemplates()
8496 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
8586 ModuleFile *M = I->second; in DecodeIdentifierInfo()
8604 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8608 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8637 ModuleFile *M = I->second; in getMacro()
8650 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8665 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8698 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
8711 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
8737 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
8753 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
8770 ModuleFile &M = *I->second; in DecodeSelector()
8792 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
9035 SourceRange ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
9055 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9082 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9125 serialization::ModuleFile *>>::iterator in ReadComments()
9131 serialization::ModuleFile &F = *I->second; in ReadComments()
9193 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9209 serialization::ModuleFile &MF, in visitTopLevelModuleMaps()
9227 if (ModuleFile *M = getOwningModuleFile(D)) in getOwningModuleNameForDiagnostic()