Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/AST/Interp/
DInterpBlock.h40 Block(const llvm::Optional<unsigned> &DeclID, Descriptor *Desc,
42 : DeclID(DeclID), IsStatic(IsStatic), IsExtern(IsExtern), Desc(Desc) {} in DeclID() function
45 : DeclID((unsigned)-1), IsStatic(IsStatic), IsExtern(IsExtern),
61 llvm::Optional<unsigned> getDeclID() const { return DeclID; } in getDeclID()
97 llvm::Optional<unsigned> DeclID; variable
/external/clang/lib/Serialization/
DASTReaderInternals.h50 typedef llvm::SmallVector<DeclID, 4> data_type;
53 llvm::DenseSet<DeclID> Found;
56 void insert(DeclID ID) { in insert()
106 for (DeclID ID : From) in MergeDataInto()
DASTReaderDecl.cpp41 const DeclID ThisDeclID;
83 serialization::DeclID ReadDeclID(const RecordData &R, unsigned &I) { in ReadDeclID()
91 void ReadDeclIDList(SmallVectorImpl<DeclID> &IDs) { in ReadDeclIDList()
219 DeclID thisDeclID, SourceLocation ThisDeclLoc, in ASTDeclReader()
317 DeclID VisitTemplateDecl(TemplateDecl *D);
346 DeclID TemplatePatternID = 0);
351 DeclID TemplatePatternID = 0);
358 DeclID DsID, bool IsKeyDecl);
1752 DeclID KeyFn = ReadDeclID(Record, Idx); in VisitCXXRecordDeclImpl()
1855 DeclID ASTDeclReader::VisitTemplateDecl(TemplateDecl *D) { in VisitTemplateDecl()
[all …]
DASTReader.cpp1026 DeclID ID) { in ReadVisibleDeclContextStorage()
1286 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry()
2636 serialization::DeclID ID = ReadDeclID(F, Record, Idx); in ReadASTBlock()
2808 F.FileSortedDecls = (const DeclID *)Blob.data(); in ReadASTBlock()
6327 serialization::DeclID
6432 Decl *ASTReader::GetExistingDecl(DeclID ID) { in GetExistingDecl()
6456 Decl *ASTReader::GetDecl(DeclID ID) { in GetDecl()
6477 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
6478 DeclID GlobalID) { in mapGlobalIDToModuleFileGlobalID()
6486 llvm::DenseMap<ModuleFile *, serialization::DeclID>::iterator Pos in mapGlobalIDToModuleFileGlobalID()
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTReaderInternals.h53 using data_type = SmallVector<DeclID, 4>;
57 llvm::DenseSet<DeclID> Found;
61 void insert(DeclID ID) { in insert()
112 for (DeclID ID : From) in MergeDataInto()
DASTReaderDecl.cpp84 const DeclID ThisDeclID;
126 serialization::DeclID readDeclID() { in readDeclID()
134 void readDeclIDList(SmallVectorImpl<DeclID> &IDs) { in readDeclIDList()
251 DeclID thisDeclID, SourceLocation ThisDeclLoc) in ASTDeclReader()
257 SmallVectorImpl<serialization::DeclID>& IDs) { in AddLazySpecializations()
272 auto *Result = new (C) serialization::DeclID[1 + IDs.size()]; in AddLazySpecializations()
310 void UpdateDecl(Decl *D, SmallVectorImpl<serialization::DeclID> &);
381 DeclID VisitTemplateDecl(TemplateDecl *D);
415 DeclID TemplatePatternID = 0);
420 DeclID TemplatePatternID = 0);
[all …]
DASTReader.cpp1196 DeclID ID) { in ReadVisibleDeclContextStorage()
1529 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; in ReadSLocEntry()
3147 serialization::DeclID ID = ReadDeclID(F, Record, Idx); in ReadASTBlock()
3356 F.FileSortedDecls = (const DeclID *)Blob.data(); in ReadASTBlock()
3608 auto DeclID = static_cast<::DeclID>(Record[I++]); in ReadASTBlock() local
3609 auto *Decl = GetDecl(DeclID); in ReadASTBlock()
7260 serialization::DeclID
7371 Decl *ASTReader::GetExistingDecl(DeclID ID) { in GetExistingDecl()
7396 Decl *ASTReader::GetDecl(DeclID ID) { in GetDecl()
7417 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
[all …]
/external/clang/include/clang/Serialization/
DModule.h388 serialization::DeclID BaseDeclID;
400 llvm::DenseMap<ModuleFile *, serialization::DeclID> GlobalToLocalDeclIDs;
403 const serialization::DeclID *FileSortedDecls;
DASTReader.h445 typedef ContinuousRangeMap<serialization::DeclID, ModuleFile *, 4>
454 typedef llvm::DenseMap<serialization::DeclID, FileOffsetsTy>
527 llvm::DenseMap<serialization::DeclID, DeclContextVisibleUpdates>
553 uint64_t Offset, serialization::DeclID ID);
998 typedef llvm::DenseMap<Decl *, SmallVector<serialization::DeclID, 2> >
1179 Decl *ReadDeclRecord(serialization::DeclID ID);
1187 RecordLocation DeclCursorForID(serialization::DeclID ID,
1189 void loadDeclUpdateRecords(serialization::DeclID ID, Decl *D);
1624 serialization::DeclID getGlobalDeclID(ModuleFile &F,
1643 Decl *GetDecl(serialization::DeclID ID);
[all …]
DASTBitCodes.h63 typedef uint32_t DeclID; typedef
67 typedef DeclID LocalDeclID;
68 typedef DeclID GlobalDeclID;
1516 DeclID FirstID; // The ID of the first declaration
1542 DeclID DefinitionID; // The ID of the definition
DASTWriter.h176 serialization::DeclID FirstDeclID;
179 serialization::DeclID NextDeclID;
187 llvm::DenseMap<const Decl *, serialization::DeclID> DeclIDs;
194 typedef SmallVector<std::pair<unsigned, serialization::DeclID>, 64>
208 void associateDeclWithFile(const Decl *D, serialization::DeclID);
584 serialization::DeclID GetDeclRef(const Decl *D);
588 serialization::DeclID getDeclID(const Decl *D);
DASTDeserializationListener.h47 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { } in DeclRead()
/external/llvm-project/clang/include/clang/Serialization/
DModuleFile.h439 serialization::DeclID BaseDeclID = 0;
451 llvm::DenseMap<ModuleFile *, serialization::DeclID> GlobalToLocalDeclIDs;
454 const serialization::DeclID *FileSortedDecls = nullptr;
DASTWriter.h200 serialization::DeclID FirstDeclID = serialization::NUM_PREDEF_DECL_IDS;
203 serialization::DeclID NextDeclID = FirstDeclID;
211 llvm::DenseMap<const Decl *, serialization::DeclID> DeclIDs;
223 SmallVector<std::pair<unsigned, serialization::DeclID>, 64>;
238 void associateDeclWithFile(const Decl *D, serialization::DeclID);
638 serialization::DeclID GetDeclRef(const Decl *D);
642 serialization::DeclID getDeclID(const Decl *D);
DASTReader.h481 ContinuousRangeMap<serialization::DeclID, ModuleFile *, 4>;
490 llvm::DenseMap<serialization::DeclID, FileOffsetsTy>;
586 llvm::DenseMap<serialization::DeclID, DeclContextVisibleUpdates>
613 uint64_t Offset, serialization::DeclID ID);
1143 llvm::DenseMap<Decl *, SmallVector<serialization::DeclID, 2>>;
1355 Decl *ReadDeclRecord(serialization::DeclID ID);
1363 RecordLocation DeclCursorForID(serialization::DeclID ID,
1804 serialization::DeclID getGlobalDeclID(ModuleFile &F,
1823 Decl *GetDecl(serialization::DeclID ID);
1828 Decl *GetExistingDecl(serialization::DeclID ID);
[all …]
DASTBitCodes.h68 using DeclID = uint32_t; variable
72 using LocalDeclID = DeclID;
73 using GlobalDeclID = DeclID;
1995 DeclID FirstID;
2024 DeclID DefinitionID;
DASTDeserializationListener.h47 virtual void DeclRead(serialization::DeclID ID, const Decl *D) { } in DeclRead()
DASTRecordReader.h105 serialization::DeclID ID) { in readVisibleDeclContextStorage()
186 serialization::DeclID readDeclID() { in readDeclID()
/external/llvm-project/clang/include/clang/Frontend/
DMultiplexConsumer.h38 void DeclRead(serialization::DeclID ID, const Decl *D) override;
DASTUnit.h242 std::vector<serialization::DeclID> TopLevelDeclsInPreamble;
/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.cpp38 void DeclRead(serialization::DeclID ID, const Decl *D) override;
78 serialization::DeclID ID, const Decl *D) { in DeclRead()
/external/clang/include/clang/Frontend/
DASTUnit.h294 std::vector<serialization::DeclID> TopLevelDeclsInPreamble;
594 void addTopLevelDeclFromPreamble(serialization::DeclID D) { in addTopLevelDeclFromPreamble()
/external/llvm-project/clang/lib/Frontend/
DFrontendAction.cpp69 void DeclRead(serialization::DeclID ID, const Decl *D) override { in DeclRead()
91 void DeclRead(serialization::DeclID ID, const Decl *D) override { in DeclRead()
117 void DeclRead(serialization::DeclID ID, const Decl *D) override { in DeclRead()
DMultiplexConsumer.cpp53 serialization::DeclID ID, const Decl *D) { in DeclRead()

12