• Home
  • Raw
  • Download

Lines Matching refs:ModuleFile

181   virtual void ReadCounter(const serialization::ModuleFile &M,  in ReadCounter()
250 void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
282 void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
357 typedef serialization::ModuleFile ModuleFile; typedef
414 ContinuousRangeMap<uint64_t, ModuleFile*, 4> GlobalBitOffsetsMap;
417 ContinuousRangeMap<unsigned, ModuleFile*, 64> GlobalSLocEntryMap;
419 typedef ContinuousRangeMap<unsigned, ModuleFile*, 64> GlobalSLocOffsetMapType;
431 typedef ContinuousRangeMap<serialization::TypeID, ModuleFile *, 4>
445 typedef ContinuousRangeMap<serialization::DeclID, ModuleFile *, 4>
452 typedef std::pair<ModuleFile *, uint64_t> FileOffset;
489 ModuleFile *Mod;
493 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) in FileDeclsInfo()
505 llvm::DenseMap<const DeclContext*, std::pair<ModuleFile*, LexicalContents>>
509 std::vector<std::pair<ModuleFile*, LexicalContents>> TULexicalDecls;
520 ModuleFile *Mod;
547 bool ReadLexicalDeclContextStorage(ModuleFile &M,
551 bool ReadVisibleDeclContextStorage(ModuleFile &M,
563 typedef ContinuousRangeMap<serialization::IdentID, ModuleFile *, 4>
587 typedef ContinuousRangeMap<serialization::MacroID, ModuleFile *, 4>
601 typedef ContinuousRangeMap<serialization::SubmoduleID, ModuleFile *, 4>
621 ModuleFile *File;
650 typedef ContinuousRangeMap<serialization::SelectorID, ModuleFile *, 4>
667 ModuleFile *M;
670 PendingMacroInfo(ModuleFile *M, uint64_t MacroDirectivesOffset) in PendingMacroInfo()
681 typedef ContinuousRangeMap<unsigned, ModuleFile *, 4>
1056 Stmt *ReadStmtFromStream(ModuleFile &F);
1067 InputFileInfo readInputFileInfo(ModuleFile &F, unsigned ID);
1071 serialization::InputFile getInputFile(ModuleFile &F, unsigned ID,
1075 void ResolveImportedPath(ModuleFile &M, std::string &Filename);
1114 ModuleFile *Mod;
1115 ModuleFile *ImportedBy;
1118 ImportedModule(ModuleFile *Mod, in ImportedModule()
1119 ModuleFile *ImportedBy, in ImportedModule()
1125 SourceLocation ImportLoc, ModuleFile *ImportedBy,
1130 ASTReadResult ReadControlBlock(ModuleFile &F,
1132 const ModuleFile *ImportedBy,
1138 ASTReadResult ReadASTBlock(ModuleFile &F, unsigned ClientLoadCapabilities);
1139 ASTReadResult ReadExtensionBlock(ModuleFile &F);
1140 bool ParseLineTable(ModuleFile &F, const RecordData &Record);
1141 bool ReadSourceManagerBlock(ModuleFile &F);
1143 SourceLocation getImportLocation(ModuleFile *F);
1144 ASTReadResult ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F,
1145 const ModuleFile *ImportedBy,
1147 ASTReadResult ReadSubmoduleBlock(ModuleFile &F,
1166 RecordLocation(ModuleFile *M, uint64_t O) in RecordLocation()
1168 ModuleFile *F;
1173 void readExceptionSpec(ModuleFile &ModuleFile,
1195 uint64_t getGlobalBitOffset(ModuleFile &M, uint32_t LocalOffset);
1214 std::pair<ModuleFile *, unsigned>
1220 getModulePreprocessedEntities(ModuleFile &Mod) const;
1228 ModuleFile *Mod;
1234 ModuleDeclIterator(ASTReader *Reader, ModuleFile *Mod, in ModuleDeclIterator()
1250 getModuleFileLevelDecls(ModuleFile &Mod);
1587 GetTemplateArgumentLocInfo(ModuleFile &F, TemplateArgument::ArgKind Kind,
1592 ReadTemplateArgumentLoc(ModuleFile &F,
1596 ReadASTTemplateArgumentListInfo(ModuleFile &F,
1600 TypeSourceInfo *GetTypeSourceInfo(ModuleFile &F,
1608 QualType getLocalType(ModuleFile &F, unsigned LocalID);
1611 serialization::TypeID getGlobalTypeID(ModuleFile &F, unsigned LocalID) const;
1615 QualType readType(ModuleFile &F, const RecordData &Record, unsigned &Idx) { in readType()
1624 serialization::DeclID getGlobalDeclID(ModuleFile &F,
1628 bool isDeclIDFromModule(serialization::GlobalDeclID ID, ModuleFile &M) const;
1632 ModuleFile *getOwningModuleFile(const Decl *D);
1651 Decl *GetLocalDecl(ModuleFile &F, uint32_t LocalID) { in GetLocalDecl()
1659 T *GetLocalDeclAs(ModuleFile &F, uint32_t LocalID) { in GetLocalDeclAs()
1669 mapGlobalIDToModuleFileGlobalID(ModuleFile &M,
1676 serialization::DeclID ReadDeclID(ModuleFile &F, const RecordData &Record,
1681 Decl *ReadDecl(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDecl()
1691 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadDeclAs()
1856 IdentifierInfo *GetIdentifierInfo(ModuleFile &M, const RecordData &Record, in GetIdentifierInfo()
1868 IdentifierInfo *getLocalIdentifier(ModuleFile &M, unsigned LocalID);
1870 serialization::IdentifierID getGlobalIdentifierID(ModuleFile &M,
1880 serialization::MacroID getGlobalMacroID(ModuleFile &M, unsigned LocalID);
1892 getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID);
1905 ModuleFile *getLocalModuleFile(ModuleFile &M, unsigned ID);
1908 unsigned getModuleFileID(ModuleFile *M);
1915 Selector getLocalSelector(ModuleFile &M, unsigned LocalID);
1922 Selector ReadSelector(ModuleFile &M, const RecordData &Record, unsigned &Idx) { in ReadSelector()
1928 serialization::SelectorID getGlobalSelectorID(ModuleFile &F,
1932 DeclarationName ReadDeclarationName(ModuleFile &F,
1934 void ReadDeclarationNameLoc(ModuleFile &F,
1937 void ReadDeclarationNameInfo(ModuleFile &F, DeclarationNameInfo &NameInfo,
1940 void ReadQualifierInfo(ModuleFile &F, QualifierInfo &Info,
1943 NestedNameSpecifier *ReadNestedNameSpecifier(ModuleFile &F,
1947 NestedNameSpecifierLoc ReadNestedNameSpecifierLoc(ModuleFile &F,
1952 TemplateName ReadTemplateName(ModuleFile &F, const RecordData &Record,
1956 TemplateArgument ReadTemplateArgument(ModuleFile &F, const RecordData &Record,
1961 TemplateParameterList *ReadTemplateParameterList(ModuleFile &F,
1967 ModuleFile &F, const RecordData &Record,
1971 void ReadUnresolvedSet(ModuleFile &F, LazyASTUnresolvedSet &Set,
1975 CXXBaseSpecifier ReadCXXBaseSpecifier(ModuleFile &F,
1980 ReadCXXCtorInitializers(ModuleFile &F, const RecordData &Record,
1993 SourceLocation ReadSourceLocation(ModuleFile &ModuleFile, uint32_t Raw) const { in ReadSourceLocation() argument
1995 return TranslateSourceLocation(ModuleFile, Loc); in ReadSourceLocation()
2000 SourceLocation TranslateSourceLocation(ModuleFile &ModuleFile, in TranslateSourceLocation() argument
2002 assert(ModuleFile.SLocRemap.find(Loc.getOffset()) != in TranslateSourceLocation()
2003 ModuleFile.SLocRemap.end() && in TranslateSourceLocation()
2005 int Remap = ModuleFile.SLocRemap.find(Loc.getOffset())->second; in TranslateSourceLocation()
2010 SourceLocation ReadSourceLocation(ModuleFile &ModuleFile, in ReadSourceLocation() argument
2013 return ReadSourceLocation(ModuleFile, Record[Idx++]); in ReadSourceLocation()
2017 SourceRange ReadSourceRange(ModuleFile &F,
2034 std::string ReadPath(ModuleFile &F, const RecordData &Record, unsigned &Idx);
2039 CXXTemporary *ReadCXXTemporary(ModuleFile &F, const RecordData &Record,
2043 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
2047 Stmt *ReadStmt(ModuleFile &F);
2050 Expr *ReadExpr(ModuleFile &F);
2066 Token ReadToken(ModuleFile &M, const RecordDataImpl &Record, unsigned &Idx);
2069 MacroInfo *ReadMacroRecord(ModuleFile &F, uint64_t Offset);
2074 getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const;
2082 void addPendingMacro(IdentifierInfo *II, ModuleFile *M,
2129 serialization::ModuleFile *>, 8> CommentsCursors;