Lines Matching refs:ModuleFile
219 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
561 ModuleFile *TopImport = &*ModuleMgr.rbegin(); in getTopImportImplicitModule()
862 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
1161 ModuleFile *
1226 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1276 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1363 void ASTReader::ParseLineTable(ModuleFile &F, const RecordData &Record) { in ParseLineTable()
1402 llvm::Error ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1463 ASTReader::readSLocOffset(ModuleFile *F, unsigned Index) { in readSLocOffset()
1503 ModuleFile *F = SLocMapI->second; in getSLocEntryID()
1594 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1730 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
1740 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1784 Token ASTReader::ReadToken(ModuleFile &M, const RecordDataImpl &Record, in ReadToken()
1836 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1967 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
2103 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
2113 for (ModuleFile &I : llvm::reverse(ModuleMgr)) { in ReadDefinedMacros()
2194 bool operator()(ModuleFile &M) { in operator ()()
2265 ModuleFile &M = *PMInfo.M; in resolvePendingMacro()
2388 const serialization::ModuleFile &M) const { in shouldDisableValidationForFile()
2410 InputFileInfo ASTReader::getInputFileInfo(ModuleFile &F, unsigned ID) { in getInputFileInfo()
2492 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2642 SmallVector<ModuleFile *, 4> ImportStack(1, &F); in getInputFile()
2682 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2801 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2803 const ModuleFile *ImportedBy, in ReadControlBlock()
3193 llvm::Error ASTReader::ReadASTBlock(ModuleFile &F, in ReadASTBlock()
4025 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
4064 ModuleFile *OM = (Kind == MK_PrebuiltModule || Kind == MK_ExplicitModule || in ReadModuleOffsetMap()
4123 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
4124 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock()
4366 static void updateModuleTimestamp(ModuleFile &MF) { in updateModuleTimestamp()
4430 ModuleFile **NewLoadedModuleFile) { in ReadAST()
4473 ModuleFile &F = *M.Mod; in ReadAST()
4505 ModuleFile &F = *M.Mod; in ReadAST()
4565 ModuleFile &F = *M.Mod; in ReadAST()
4627 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule(); in ReadAST()
4705 ModuleFile *ImportedBy, in ReadASTCore()
4710 ModuleFile *M; in ReadASTCore()
4764 ModuleFile &F = *M; in ReadASTCore()
4851 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4904 ModuleFile *F, llvm::StringRef StreamData, unsigned ClientLoadCapabilities, in readUnhashedControlBlockImpl()
5030 llvm::Error ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
5707 llvm::Error ASTReader::ReadSubmoduleBlock(ModuleFile &F, in ReadSubmoduleBlock()
6202 std::pair<ModuleFile *, unsigned>
6208 ModuleFile *M = I->second; in getModulePreprocessedEntity()
6214 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
6230 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
6241 ModuleFile *M = I->second; in ReadSkippedRange()
6253 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in ReadPreprocessedEntity()
6254 ModuleFile &M = *PPInfo.first; in ReadPreprocessedEntity()
6362 ModuleFile &M = *SLocMapI->second; in findNextPreprocessedEntity()
6374 ModuleFile &M;
6376 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6414 ModuleFile &M = *SLocMapI->second; in findPreprocessedEntity()
6475 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index); in isPreprocessedEntityInFileID()
6476 ModuleFile &M = *PPInfo.first; in isPreprocessedEntityInFileID()
6500 bool operator()(ModuleFile &M) { in operator ()()
6533 for (ModuleFile &F : ModuleMgr) { in ReadPragmaDiagnosticMappings()
6672 ModuleFile *M = I->second; in TypeCursorForIndex()
7415 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7420 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7633 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7648 ModuleFile &M) const { in isDeclIDFromModule()
7657 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7789 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7796 ModuleFile *Owner = I->second; in mapGlobalIDToModuleFileGlobalID()
7798 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
7806 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7843 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) { in FindExternalLexicalDecls()
7885 ModuleFile &Mod;
7888 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
8131 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
8134 const ContinuousRangeMap<Key, ModuleFile *, in dumpModuleIDMap() argument
8139 using MapType = ContinuousRangeMap<Key, ModuleFile *, InitialCapacity>; in dumpModuleIDMap()
8163 for (ModuleFile &M : ModuleMgr) in dump()
8170 for (ModuleFile &I : ModuleMgr) { in getMemoryBufferSizes()
8395 ModuleFile &F = Reader.ModuleMgr[Index]; in Next()
8473 bool operator()(ModuleFile &M) { in operator ()()
8747 ModuleFile *FMod = LPT.first; in ReadLateParsedTemplates()
8758 ModuleFile *F = getOwningModuleFile(LT->D); in ReadLateParsedTemplates()
8859 ModuleFile *M = I->second; in DecodeIdentifierInfo()
8877 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8881 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8910 ModuleFile *M = I->second; in getMacro()
8923 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8938 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8971 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &M, unsigned ID) { in getLocalModuleFile()
8984 unsigned ASTReader::getModuleFileID(ModuleFile *M) { in getModuleFileID()
9009 ModuleFile &MF = ModuleMgr.getPrimaryModule(); in getSourceDescriptor()
9026 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
9043 ModuleFile &M = *I->second; in DecodeSelector()
9065 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
9308 SourceRange ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
9328 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9355 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9398 serialization::ModuleFile *>>::iterator in ReadComments()
9404 serialization::ModuleFile &F = *I->second; in ReadComments()
9467 serialization::ModuleFile &MF, bool IncludeSystem, in visitInputFileInfos()
9482 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9498 serialization::ModuleFile &MF, in visitTopLevelModuleMaps()