Lines Matching refs:ModuleFile
130 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
440 ModuleFile *TopImport = *ModuleMgr.rbegin(); in ReadDiagnosticOptions()
651 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
924 ModuleFile *
987 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1023 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1071 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1115 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1238 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1353 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1363 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1397 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1410 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1521 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const { in getGlobalPreprocessedEntityID()
1644 ModuleFile *M, in addPendingMacro()
1723 bool operator()(ModuleFile &M) { in operator ()()
1793 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
1902 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
1928 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2018 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2054 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2165 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2167 const ModuleFile *ImportedBy, in ReadControlBlock()
2451 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadASTBlock()
2876 ModuleFile *OM = ModuleMgr.lookup(Name); in ReadASTBlock()
3218 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
3219 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
3434 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
3499 llvm::SmallPtrSet<ModuleFile *, 4> LoadedSet; in ReadAST()
3525 ModuleFile &F = *M->Mod; in ReadAST()
3580 ModuleFile &F = *M->Mod; in ReadAST()
3654 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
3724 ModuleFile *ImportedBy, in ReadASTCore()
3729 ModuleFile *M; in ReadASTCore()
3779 ModuleFile &F = *M; in ReadASTCore()
3880 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
4415 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { in ReadSubmoduleBlock()
4847 std::pair<ModuleFile *, unsigned>
4853 ModuleFile *M = I->second; in getModulePreprocessedEntity()
4859 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
4869 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
4878 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
4879 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
4972 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
4984 ModuleFile &M;
4986 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) { } in PPEntityComp()
5024 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
5083 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
5084 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
5109 bool operator()(ModuleFile &M) { in operator ()()
5141 ModuleFile &F = *(*I); in ReadPragmaDiagnosticMappings()
5187 ModuleFile *M = I->second; in TypeCursorForIndex()
5682 void ASTReader::readExceptionSpec(ModuleFile &ModuleFile, in readExceptionSpec() argument
5691 Exceptions.push_back(readType(ModuleFile, Record, Idx)); in readExceptionSpec()
5694 ESI.NoexceptExpr = ReadExpr(ModuleFile); in readExceptionSpec()
5696 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
5697 ESI.SourceTemplate = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
5699 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx); in readExceptionSpec()
5705 ModuleFile &F;
5720 TypeLocReader(ASTReader &Reader, ModuleFile &F, in TypeLocReader()
5953 TypeSourceInfo *ASTReader::GetTypeSourceInfo(ModuleFile &F, in GetTypeSourceInfo()
6140 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
6145 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
6161 ASTReader::GetTemplateArgumentLocInfo(ModuleFile &F, in GetTemplateArgumentLocInfo()
6197 ASTReader::ReadTemplateArgumentLoc(ModuleFile &F, in ReadTemplateArgumentLoc()
6210 ASTReader::ReadASTTemplateArgumentListInfo(ModuleFile &F, in ReadASTTemplateArgumentListInfo()
6328 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
6340 ModuleFile &M) const { in isDeclIDFromModule()
6349 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
6477 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
6484 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
6486 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
6494 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
6525 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
6567 ModuleFile &Mod;
6570 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
6850 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
6853 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
6858 typedef ContinuousRangeMap<Key, ModuleFile *, InitialCapacity> MapType; in dumpModuleIDMap()
7043 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
7119 bool operator()(ModuleFile &M) { in operator ()()
7383 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
7472 ModuleFile *M = I->second; in DecodeIdentifierInfo()
7494 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
7498 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
7524 ModuleFile *M = I->second; in getMacro()
7536 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
7548 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
7578 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
7591 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
7616 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
7625 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
7642 ModuleFile &M = *I->second; in DecodeSelector()
7664 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
7677 ASTReader::ReadDeclarationName(ModuleFile &F, in ReadDeclarationName()
7716 void ASTReader::ReadDeclarationNameLoc(ModuleFile &F, in ReadDeclarationNameLoc()
7748 void ASTReader::ReadDeclarationNameInfo(ModuleFile &F, in ReadDeclarationNameInfo()
7758 void ASTReader::ReadQualifierInfo(ModuleFile &F, QualifierInfo &Info, in ReadQualifierInfo()
7771 ASTReader::ReadTemplateName(ModuleFile &F, const RecordData &Record, in ReadTemplateName()
7829 TemplateArgument ASTReader::ReadTemplateArgument(ModuleFile &F, in ReadTemplateArgument()
7883 ASTReader::ReadTemplateParameterList(ModuleFile &F, in ReadTemplateParameterList()
7904 ModuleFile &F, const RecordData &Record, in ReadTemplateArgumentList()
7913 void ASTReader::ReadUnresolvedSet(ModuleFile &F, LazyASTUnresolvedSet &Set, in ReadUnresolvedSet()
7925 ASTReader::ReadCXXBaseSpecifier(ModuleFile &F, in ReadCXXBaseSpecifier()
7941 ASTReader::ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record, in ReadCXXCtorInitializers()
8026 ASTReader::ReadNestedNameSpecifier(ModuleFile &F, in ReadNestedNameSpecifier()
8081 ASTReader::ReadNestedNameSpecifierLoc(ModuleFile &F, const RecordData &Record, in ReadNestedNameSpecifierLoc()
8144 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
8181 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
8200 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
8242 serialization::ModuleFile *> >::iterator in ReadComments()
8248 serialization::ModuleFile &F = *I->second; in ReadComments()
8296 if (ModuleFile *M = getOwningModuleFile(D)) in getOwningModuleNameForDiagnostic()