Lines Matching refs:ModuleFile
129 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M,
434 ModuleFile *TopImport = *ModuleMgr.rbegin();
645 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) {
914 ModuleFile *
977 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M,
1013 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M,
1061 bool ASTReader::ParseLineTable(ModuleFile &F,
1105 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) {
1202 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second;
1333 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second;
1343 SourceLocation ASTReader::getImportLocation(ModuleFile *F) {
1377 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record,
1390 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) {
1501 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const {
1624 ModuleFile *M,
1700 bool operator()(ModuleFile &M) {
1770 ModuleFile &M = *PMInfo.M;
1879 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) {
1905 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) {
2004 SmallVector<ModuleFile *, 4> ImportStack(1, &F);
2040 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) {
2151 ASTReader::ReadControlBlock(ModuleFile &F,
2153 const ModuleFile *ImportedBy,
2431 ASTReader::ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities) {
2856 ModuleFile *OM = ModuleMgr.lookup(Name);
3214 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F,
3215 const ModuleFile *ImportedBy,
3430 static void updateModuleTimestamp(ModuleFile &MF) {
3495 llvm::SmallPtrSet<ModuleFile *, 4> LoadedSet;
3521 ModuleFile &F = *M->Mod;
3533 // Once read, set the ModuleFile bit base offset and update the size in
3581 ModuleFile &F = *M->Mod;
3651 ModuleFile &PrimaryModule = ModuleMgr.getPrimaryModule();
3721 ModuleFile *ImportedBy,
3726 ModuleFile *M;
3776 ModuleFile &F = *M;
3877 ASTReader::ASTReadResult ASTReader::ReadExtensionBlock(ModuleFile &F) {
4410 ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) {
4824 std::pair<ModuleFile *, unsigned>
4830 ModuleFile *M = I->second;
4836 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const {
4846 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) {
4855 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);
4856 ModuleFile &M = *PPInfo.first;
4949 ModuleFile &M = *SLocMapI->second;
4962 ModuleFile &M;
4964 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) { }
5002 ModuleFile &M = *SLocMapI->second;
5061 std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);
5062 ModuleFile &M = *PPInfo.first;
5087 bool operator()(ModuleFile &M) {
5119 ModuleFile &F = *(*I);
5165 ModuleFile *M = I->second;
5640 void ASTReader::readExceptionSpec(ModuleFile &ModuleFile,
5649 Exceptions.push_back(readType(ModuleFile, Record, Idx));
5652 ESI.NoexceptExpr = ReadExpr(ModuleFile);
5654 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx);
5655 ESI.SourceTemplate = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx);
5657 ESI.SourceDecl = ReadDeclAs<FunctionDecl>(ModuleFile, Record, Idx);
5663 ModuleFile &F;
5678 TypeLocReader(ASTReader &Reader, ModuleFile &F,
5908 TypeSourceInfo *ASTReader::GetTypeSourceInfo(ModuleFile &F,
6123 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) {
6128 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const {
6144 ASTReader::GetTemplateArgumentLocInfo(ModuleFile &F,
6180 ASTReader::ReadTemplateArgumentLoc(ModuleFile &F,
6193 ASTReader::ReadASTTemplateArgumentListInfo(ModuleFile &F,
6267 uint64_t ASTReader::ReadCXXCtorInitializersRef(ModuleFile &M,
6299 uint64_t ASTReader::readCXXBaseSpecifiers(ModuleFile &M,
6335 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const {
6347 ModuleFile &M) const {
6356 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) {
6475 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M,
6482 ModuleFile *Owner = I->second;
6484 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos
6492 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F,
6523 auto Visit = [&] (ModuleFile *M, LexicalContents LexicalDecls) {
6565 ModuleFile &Mod;
6568 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {}
6848 template<typename Key, typename ModuleFile, unsigned InitialCapacity>
6851 const ContinuousRangeMap<Key, ModuleFile *,
6856 typedef ContinuousRangeMap<Key, ModuleFile *, InitialCapacity> MapType;
6866 llvm::errs() << "*** PCH/ModuleFile Remappings:\n";
7072 bool operator()(ModuleFile &M) {
7330 ModuleFile *F = getOwningModuleFile(LT->D);
7419 ModuleFile *M = I->second;
7440 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) {
7444 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) {
7470 ModuleFile *M = I->second;
7482 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) {
7494 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) {
7524 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) {
7537 unsigned ASTReader::getModuleFileID(ModuleFile *F) {
7562 ModuleFile &MF = ModuleMgr.getPrimaryModule();
7569 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) {
7586 ModuleFile &M = *I->second;
7608 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const {
7621 ASTReader::ReadDeclarationName(ModuleFile &F,
7660 void ASTReader::ReadDeclarationNameLoc(ModuleFile &F,
7692 void ASTReader::ReadDeclarationNameInfo(ModuleFile &F,
7702 void ASTReader::ReadQualifierInfo(ModuleFile &F, QualifierInfo &Info,
7715 ASTReader::ReadTemplateName(ModuleFile &F, const RecordData &Record,
7773 TemplateArgument ASTReader::ReadTemplateArgument(ModuleFile &F,
7827 ASTReader::ReadTemplateParameterList(ModuleFile &F,
7848 ModuleFile &F, const RecordData &Record,
7857 void ASTReader::ReadUnresolvedSet(ModuleFile &F, LazyASTUnresolvedSet &Set,
7869 ASTReader::ReadCXXBaseSpecifier(ModuleFile &F,
7885 ASTReader::ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record,
7970 ASTReader::ReadNestedNameSpecifier(ModuleFile &F,
8025 ASTReader::ReadNestedNameSpecifierLoc(ModuleFile &F, const RecordData &Record,
8088 ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record,
8125 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record,
8144 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F,
8186 serialization::ModuleFile *> >::iterator
8192 serialization::ModuleFile &F = *I->second;
8240 if (ModuleFile *M = getOwningModuleFile(D))