/external/clang/lib/Frontend/ |
D | SerializedDiagnosticPrinter.cpp | 36 llvm::DenseMap<unsigned, unsigned> Abbrevs; member in __anon435ba4870111::AbbreviationMap 41 assert(Abbrevs.find(recordID) == Abbrevs.end() in set() 43 Abbrevs[recordID] = abbrevID; in set() 47 assert(Abbrevs.find(recordID) != Abbrevs.end() && in get() 49 return Abbrevs[recordID]; in get() 275 AbbreviationMap Abbrevs; member 401 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, in getEmitFile() 412 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), in EmitCharSourceRange() 447 AbbreviationMap &Abbrevs = State->Abbrevs; in EmitBlockInfoBlock() local 458 Abbrevs.set(RECORD_VERSION, Stream.EmitBlockInfoAbbrev(BLOCK_META, Abbrev)); in EmitBlockInfoBlock() [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | SerializedDiagnosticPrinter.cpp | 35 llvm::DenseMap<unsigned, unsigned> Abbrevs; member in __anonb3f9d8b50111::AbbreviationMap 40 assert(Abbrevs.find(recordID) == Abbrevs.end() in set() 42 Abbrevs[recordID] = abbrevID; in set() 46 assert(Abbrevs.find(recordID) != Abbrevs.end() && in get() 48 return Abbrevs[recordID]; in get() 265 AbbreviationMap Abbrevs; member 388 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, in getEmitFile() 399 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), in EmitCharSourceRange() 434 AbbreviationMap &Abbrevs = State->Abbrevs; in EmitBlockInfoBlock() local 445 Abbrevs.set(RECORD_VERSION, Stream.EmitBlockInfoAbbrev(BLOCK_META, Abbrev)); in EmitBlockInfoBlock() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 80 Abbrevs.push_back(Abbv); in appendCreate() 86 Abbrevs.push_back(Abbrv); in append() 90 for (NaClBitCodeAbbrev *Abbrv : NewAbbrevs.Abbrevs) in appendList() 94 NaClBitCodeAbbrev *last() { return Abbrevs.back(); } in last() 97 Abbrevs.back()->dropRef(); in popLast() 98 Abbrevs.pop_back(); in popLast() 102 while (!Abbrevs.empty()) in clear() 106 const AbbrevListVector &getVector() const { return Abbrevs; } in getVector() 110 AbbrevListVector Abbrevs; 121 explicit BlockInfo(unsigned BlockID) : BlockID(BlockID), Abbrevs() {} in BlockInfo() [all …]
|
/external/llvm-project/clang-tools-extra/clang-doc/ |
D | BitcodeWriter.cpp | 245 assert(Abbrevs.find(RID) == Abbrevs.end() && "Abbreviation already added."); in add() 246 Abbrevs[RID] = AbbrevID; in add() 251 assert(Abbrevs.find(RID) != Abbrevs.end() && "Unknown abbreviation."); in get() 252 return Abbrevs.lookup(RID); in get() 298 Abbrevs.add(ID, Stream.EmitBlockInfoAbbrev(Block, std::move(Abbrev))); in emitAbbrev() 312 Stream.EmitRecordWithAbbrev(Abbrevs.get(ID), Record); in emitRecord() 323 Stream.EmitRecordWithBlob(Abbrevs.get(ID), Record, Str); in emitRecord() 337 Stream.EmitRecordWithBlob(Abbrevs.get(ID), Record, Loc.Filename); in emitRecord() 346 Stream.EmitRecordWithAbbrev(Abbrevs.get(ID), Record); in emitRecord() 356 Stream.EmitRecordWithAbbrev(Abbrevs.get(ID), Record); in emitRecord() [all …]
|
D | BitcodeWriter.h | 165 llvm::DenseMap<unsigned, unsigned> Abbrevs; variable 168 AbbreviationMap() : Abbrevs(RecordIdCount) {} in AbbreviationMap() 216 AbbreviationMap Abbrevs; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfFile.cpp | 24 : Asm(AP), Abbrevs(AbbrevAllocator), StrPool(DA, *Asm, Pref) {} in DwarfFile() 93 return Die.computeOffsetsAndAbbrevs(Asm, Abbrevs, Offset); in computeSizeAndOffset() 96 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); } in emitAbbrevs()
|
D | DwarfFile.h | 55 DIEAbbrevSet Abbrevs; variable
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfFile.cpp | 23 : Asm(AP), Abbrevs(AbbrevAllocator), StrPool(DA, *Asm, Pref) {} in DwarfFile() 95 return Die.computeOffsetsAndAbbrevs(Asm, Abbrevs, Offset); in computeSizeAndOffset() 98 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); } in emitAbbrevs()
|
D | DwarfFile.h | 56 DIEAbbrevSet Abbrevs; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamWriter.h | 61 std::vector<std::shared_ptr<BitCodeAbbrev>> Abbrevs; member 223 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubblock() 224 Info->Abbrevs.end()); in EnterSubblock() 538 Info.Abbrevs.push_back(std::move(Abbv)); in EmitBlockInfoAbbrev() 540 return Info.Abbrevs.size()-1+bitc::FIRST_APPLICATION_ABBREV; in EmitBlockInfoAbbrev()
|
/external/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 62 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> Abbrevs; member 228 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubblock() 229 Info->Abbrevs.end()); in EnterSubblock() 544 Info.Abbrevs.push_back(Abbv); in EmitBlockInfoAbbrev() 546 return Info.Abbrevs.size()-1+bitc::FIRST_APPLICATION_ABBREV; in EmitBlockInfoAbbrev()
|
/external/llvm-project/llvm/include/llvm/Bitstream/ |
D | BitstreamWriter.h | 72 std::vector<std::shared_ptr<BitCodeAbbrev>> Abbrevs; member 306 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubblock() 307 Info->Abbrevs.end()); in EnterSubblock() 621 Info.Abbrevs.push_back(std::move(Abbv)); in EmitBlockInfoAbbrev() 623 return Info.Abbrevs.size()-1+bitc::FIRST_APPLICATION_ABBREV; in EmitBlockInfoAbbrev()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 36 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubBlock() 37 Info->Abbrevs.end()); in EnterSubBlock() 353 CurBlockInfo->Abbrevs.push_back(std::move(CurAbbrevs.back())); in ReadBlockInfoBlock()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnit.cpp | 101 Abbrevs = Abbrev->getAbbreviationDeclarationSet(AbbrOffset); in extractImpl() 102 return Abbrevs != nullptr; in extractImpl() 134 Abbrevs = nullptr; in clear()
|
/external/llvm-project/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 30 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubBlock() 31 Info->Abbrevs.end()); in EnterSubBlock() 441 CurBlockInfo->Abbrevs.push_back(std::move(CurAbbrevs.back())); in ReadBlockInfoBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 30 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubBlock() 31 Info->Abbrevs.end()); in EnterSubBlock() 438 CurBlockInfo->Abbrevs.push_back(std::move(CurAbbrevs.back())); in ReadBlockInfoBlock()
|
/external/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 454 template <typename T> void emitDwarfAbbrevs(const T &Abbrevs) const { in emitDwarfAbbrevs() argument 456 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs()
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFUnit.h | 123 const DWARFAbbreviationDeclarationSet *Abbrevs; variable 195 return Abbrevs; in getAbbreviations()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/ |
D | DWARFLinker.h | 101 emitAbbrevs(const std::vector<std::unique_ptr<DIEAbbrev>> &Abbrevs,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 592 template <typename T> void emitDwarfAbbrevs(const T &Abbrevs) const { in emitDwarfAbbrevs() argument 594 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs()
|
/external/llvm-project/llvm/include/llvm/DWARFLinker/ |
D | DWARFStreamer.h | 73 void emitAbbrevs(const std::vector<std::unique_ptr<DIEAbbrev>> &Abbrevs,
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 670 template <typename T> void emitDwarfAbbrevs(const T &Abbrevs) const { in emitDwarfAbbrevs() argument 672 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnit.cpp | 367 Abbrevs = nullptr; in clear() 851 if (!Abbrevs) in getAbbreviations() 852 Abbrevs = Abbrev->getAbbreviationDeclarationSet(Header.getAbbrOffset()); in getAbbreviations() 853 return Abbrevs; in getAbbreviations()
|
/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnit.cpp | 339 Abbrevs = nullptr; in clear() 796 if (!Abbrevs) in getAbbreviations() 797 Abbrevs = Abbrev->getAbbreviationDeclarationSet(Header.getAbbrOffset()); in getAbbreviations() 798 return Abbrevs; in getAbbreviations()
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugInfoTest.cpp | 1769 const auto *Abbrevs = U->getAbbreviations(); in TEST() local 1770 EXPECT_TRUE((bool)Abbrevs); in TEST() 1775 typedef decltype(Abbrevs->begin()) AbbrevIt; in TEST() 1776 AbbrevIt Val1Abbrev = Abbrevs->end(); in TEST() 1777 AbbrevIt Val2Abbrev = Abbrevs->end(); in TEST() 1778 for(auto it = Abbrevs->begin(); it != Abbrevs->end(); ++it) { in TEST() 1806 EXPECT_EQ(Val1Abbrev, Abbrevs->end()); in TEST() 1811 EXPECT_EQ(Val2Abbrev, Abbrevs->end()); in TEST()
|