Home
last modified time | relevance | path

Searched refs:Abbrevs (Results 1 – 25 of 39) sorted by relevance

12

/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp36 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/
DSerializedDiagnosticPrinter.cpp35 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/
DNaClBitstreamReader.h80 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/
DBitcodeWriter.cpp245 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 …]
DBitcodeWriter.h165 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/
DDwarfFile.cpp24 : 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()
DDwarfFile.h55 DIEAbbrevSet Abbrevs; variable
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp23 : 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()
DDwarfFile.h56 DIEAbbrevSet Abbrevs; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamWriter.h61 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/
DBitstreamWriter.h62 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/
DBitstreamWriter.h72 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/
DBitstreamReader.cpp36 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/
DDWARFUnit.cpp101 Abbrevs = Abbrev->getAbbreviationDeclarationSet(AbbrOffset); in extractImpl()
102 return Abbrevs != nullptr; in extractImpl()
134 Abbrevs = nullptr; in clear()
/external/llvm-project/llvm/lib/Bitstream/Reader/
DBitstreamReader.cpp30 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/
DBitstreamReader.cpp30 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/
DAsmPrinter.h454 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/
DDWARFUnit.h123 const DWARFAbbreviationDeclarationSet *Abbrevs; variable
195 return Abbrevs; in getAbbreviations()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h101 emitAbbrevs(const std::vector<std::unique_ptr<DIEAbbrev>> &Abbrevs,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h592 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/
DDWARFStreamer.h73 void emitAbbrevs(const std::vector<std::unique_ptr<DIEAbbrev>> &Abbrevs,
/external/llvm-project/llvm/include/llvm/CodeGen/
DAsmPrinter.h670 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/
DDWARFUnit.cpp367 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/
DDWARFUnit.cpp339 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/
DDWARFDebugInfoTest.cpp1769 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()

12