Home
last modified time | relevance | path

Searched refs:DeclID (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/Serialization/
DASTBitCodes.h62 typedef uint32_t DeclID; typedef
65 typedef std::pair<uint32_t, DeclID> KindDeclIDPair;
69 typedef DeclID LocalDeclID;
70 typedef DeclID GlobalDeclID;
1421 DeclID FirstID; // The ID of the first declaration
1447 DeclID DefinitionID; // The ID of the definition
DASTWriter.h162 serialization::DeclID FirstDeclID;
165 serialization::DeclID NextDeclID;
173 llvm::DenseMap<const Decl *, serialization::DeclID> DeclIDs;
180 typedef SmallVector<std::pair<unsigned, serialization::DeclID>, 64>
194 void associateDeclWithFile(const Decl *D, serialization::DeclID);
370 serialization::DeclID ID;
375 ReplacedDeclInfo(serialization::DeclID ID, uint64_t Offset, in ReplacedDeclInfo()
662 serialization::DeclID GetDeclRef(const Decl *D);
666 serialization::DeclID getDeclID(const Decl *D);
DModule.h386 serialization::DeclID BaseDeclID;
398 llvm::DenseMap<ModuleFile *, serialization::DeclID> GlobalToLocalDeclIDs;
422 const serialization::DeclID *FileSortedDecls;
DASTReader.h422 typedef ContinuousRangeMap<serialization::DeclID, ModuleFile *, 4>
431 typedef llvm::DenseMap<serialization::DeclID, FileOffsetsTy>
465 typedef llvm::DenseMap<serialization::DeclID, ReplacedDeclInfo>
499 typedef llvm::DenseMap<serialization::DeclID, DeclContextVisibleUpdates>
1036 typedef llvm::DenseMap<Decl *, SmallVector<serialization::DeclID, 2> >
1177 Decl *ReadDeclRecord(serialization::DeclID ID);
1197 RecordLocation DeclCursorForID(serialization::DeclID ID,
1199 void loadDeclUpdateRecords(serialization::DeclID ID, Decl *D);
1623 serialization::DeclID getGlobalDeclID(ModuleFile &F,
1642 Decl *GetDecl(serialization::DeclID ID);
[all …]
DASTDeserializationListener.h47 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { } in DeclRead()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp40 const DeclID ThisDeclID;
66 serialization::DeclID ReadDeclID(const RecordData &R, unsigned &I) { in ReadDeclID()
70 void ReadDeclIDList(SmallVectorImpl<DeclID> &IDs) { in ReadDeclIDList()
217 ASTDeclReader(ASTReader &Reader, ModuleFile &F, DeclID thisDeclID, in ASTDeclReader()
312 DeclID VisitTemplateDecl(TemplateDecl *D);
339 DeclID TemplatePatternID = 0);
344 DeclID TemplatePatternID = 0);
351 DeclID DsID);
1609 DeclID KeyFn = ReadDeclID(Record, Idx); in VisitCXXRecordDeclImpl()
1705 DeclID ASTDeclReader::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
[all …]
DASTWriterDecl.cpp176 ArrayRef<DeclID> LazySpecializations; in AddTemplateSpecializations()
178 LazySpecializations = ArrayRef<DeclID>(LS + 1, LS + 1 + LS[0]); in AddTemplateSpecializations()
193 for (DeclID ID : LazySpecializations) in AddTemplateSpecializations()
2020 serialization::DeclID ID; in WriteDecl()
2025 serialization::DeclID &IDR = DeclIDs[D]; in WriteDecl()
DASTReader.cpp1252 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry()
2778 serialization::DeclID ID = ReadDeclID(F, Record, Idx); in ReadASTBlock()
2954 F.FileSortedDecls = (const DeclID *)Blob.data(); in ReadASTBlock()
6262 serialization::DeclID
6350 Decl *ASTReader::GetExistingDecl(DeclID ID) { in GetExistingDecl()
6374 Decl *ASTReader::GetDecl(DeclID ID) { in GetDecl()
6395 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
6396 DeclID GlobalID) { in mapGlobalIDToModuleFileGlobalID()
6404 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
6412 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
[all …]
DASTWriter.cpp2832 SmallVector<DeclID, 256> FileGroupedDeclIDs; in WriteFileDeclIDsMap()
5101 DeclID ASTWriter::GetDeclRef(const Decl *D) { in GetDeclRef()
5114 DeclID &ID = DeclIDs[D]; in GetDeclRef()
5130 DeclID ASTWriter::getDeclID(const Decl *D) { in getDeclID()
5143 void ASTWriter::associateDeclWithFile(const Decl *D, DeclID ID) { in associateDeclWithFile()
5173 std::pair<unsigned, serialization::DeclID> LocDecl(Offset, ID); in associateDeclWithFile()
DASTReaderStmt.cpp57 serialization::DeclID ReadDeclID(const RecordData &R, unsigned &I) { in ReadDeclID()
/external/clang/lib/Frontend/
DFrontendAction.cpp65 void DeclRead(serialization::DeclID ID, const Decl *D) override { in DeclRead()
87 void DeclRead(serialization::DeclID ID, const Decl *D) override { in DeclRead()
111 void DeclRead(serialization::DeclID ID, const Decl *D) override { in DeclRead()
DMultiplexConsumer.cpp37 void DeclRead(serialization::DeclID ID, const Decl *D) override;
69 serialization::DeclID ID, const Decl *D) { in DeclRead()
DASTUnit.cpp1626 for (serialization::DeclID TopLevelDecl : TopLevelDeclsInPreamble) { in RealizeTopLevelDeclsFromPreamble()
/external/clang/include/clang/Frontend/
DASTUnit.h292 std::vector<serialization::DeclID> TopLevelDeclsInPreamble;
590 void addTopLevelDeclFromPreamble(serialization::DeclID D) { in addTopLevelDeclFromPreamble()