Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp36 llvm::DenseMap<unsigned, unsigned> Abbrevs; member in __anon5ded11a90111::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/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h33 std::vector<BitCodeAbbrev*> Abbrevs; member
72 for (unsigned i = 0, e = static_cast<unsigned>(Info.Abbrevs.size()); in ~BitstreamReader()
74 Info.Abbrevs[i]->dropRef(); in ~BitstreamReader()
200 std::vector<BitCodeAbbrev*> &Abbrevs = BlockScope[S].PrevAbbrevs; variable
201 for (unsigned i = 0, e = static_cast<unsigned>(Abbrevs.size());
203 Abbrevs[i]->addRef();
217 std::vector<BitCodeAbbrev*> &Abbrevs = BlockScope[S].PrevAbbrevs; in freeState() local
218 for (unsigned i = 0, e = static_cast<unsigned>(Abbrevs.size()); in freeState()
220 Abbrevs[i]->dropRef(); in freeState()
398 for (unsigned i = 0, e = static_cast<unsigned>(Info->Abbrevs.size());
[all …]
DBitstreamWriter.h58 std::vector<BitCodeAbbrev*> Abbrevs; member
74 for (unsigned i = 0, e = static_cast<unsigned>(Info.Abbrevs.size()); in ~BitstreamWriter()
76 Info.Abbrevs[i]->dropRef(); in ~BitstreamWriter()
218 for (unsigned i = 0, e = static_cast<unsigned>(Info->Abbrevs.size()); in EnterSubblock()
220 CurAbbrevs.push_back(Info->Abbrevs[i]); in EnterSubblock()
221 Info->Abbrevs[i]->addRef(); in EnterSubblock()
524 Info.Abbrevs.push_back(Abbv); in EmitBlockInfoAbbrev()
526 return Info.Abbrevs.size()-1+bitc::FIRST_APPLICATION_ABBREV; in EmitBlockInfoAbbrev()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h85 Abbrevs.push_back(Abbv); in appendCreate()
91 Abbrevs.push_back(Abbrv); in append()
95 for (NaClBitCodeAbbrev *Abbrv : NewAbbrevs.Abbrevs) in appendList()
99 NaClBitCodeAbbrev *last() { return Abbrevs.back(); } in last()
102 Abbrevs.back()->dropRef(); in popLast()
103 Abbrevs.pop_back(); in popLast()
107 while(!Abbrevs.empty()) in clear()
111 const AbbrevListVector &getVector() const { return Abbrevs; } in getVector()
114 AbbrevListVector Abbrevs;
125 : BlockID(BlockID), Abbrevs() {} in BlockInfo()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFCompileUnit.cpp43 Abbrevs = abbr->getAbbreviationDeclarationSet(abbrOffset); in extract()
65 Abbrevs = abbrevs; in extract()
82 Abbrevs = 0; in clear()
92 << " abbr_offset = " << format("0x%04x", Abbrevs->getOffset()) in dump()
DDWARFCompileUnit.h28 const DWARFAbbreviationDeclarationSet *Abbrevs; variable
64 return Abbrevs; in getAbbreviations()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp25 : Asm(AP), Abbrevs(AbbrevAllocator), StrPool(DA, *Asm, Pref) {} in DwarfFile()
74 return Die.computeOffsetsAndAbbrevs(Asm, Abbrevs, Offset); in computeSizeAndOffset()
77 void DwarfFile::emitAbbrevs(MCSection *Section) { Abbrevs.Emit(Asm, Section); } in emitAbbrevs()
DDwarfFile.h40 DIEAbbrevSet Abbrevs; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamWriter.h62 std::vector<std::shared_ptr<BitCodeAbbrev>> Abbrevs; member
224 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubblock()
225 Info->Abbrevs.end()); in EnterSubblock()
541 Info.Abbrevs.push_back(std::move(Abbv)); in EmitBlockInfoAbbrev()
543 return Info.Abbrevs.size()-1+bitc::FIRST_APPLICATION_ABBREV; in EmitBlockInfoAbbrev()
DBitstreamReader.h44 std::vector<std::shared_ptr<BitCodeAbbrev>> Abbrevs; member
/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()
DBitstreamReader.h38 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> Abbrevs; member
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp32 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubBlock()
33 Info->Abbrevs.end()); in EnterSubBlock()
354 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-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp195 Abbrevs = nullptr; in clear()
635 if (!Abbrevs) in getAbbreviations()
636 Abbrevs = Abbrev->getAbbreviationDeclarationSet(Header.getAbbrOffset()); in getAbbreviations()
637 return Abbrevs; in getAbbreviations()
DDWARFAcceleratorTable.cpp517 if (!Abbrevs.insert(std::move(*AbbrevOr)).second) { in extract()
610 const auto AbbrevIt = Abbrevs.find_as(AbbrevCode); in getEntry()
611 if (AbbrevIt == Abbrevs.end()) in getEntry()
714 for (const auto &Abbr : Abbrevs) in dumpAbbreviations()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h555 template <typename T> void emitDwarfAbbrevs(const T &Abbrevs) const { in emitDwarfAbbrevs() argument
557 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfStreamer.h72 void emitAbbrevs(const std::vector<std::unique_ptr<DIEAbbrev>> &Abbrevs,
DDwarfStreamer.cpp177 const std::vector<std::unique_ptr<DIEAbbrev>> &Abbrevs, in emitAbbrevs() argument
181 Asm->emitDwarfAbbrevs(Abbrevs); in emitAbbrevs()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp1671 const auto *Abbrevs = U->getAbbreviations(); in TEST() local
1672 EXPECT_TRUE((bool)Abbrevs); in TEST()
1677 typedef decltype(Abbrevs->begin()) AbbrevIt; in TEST()
1678 AbbrevIt Val1Abbrev = Abbrevs->end(); in TEST()
1679 AbbrevIt Val2Abbrev = Abbrevs->end(); in TEST()
1680 for(auto it = Abbrevs->begin(); it != Abbrevs->end(); ++it) { in TEST()
1708 EXPECT_EQ(Val1Abbrev, Abbrevs->end()); in TEST()
1713 EXPECT_EQ(Val2Abbrev, Abbrevs->end()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h387 DenseSet<Abbrev, AbbrevMapInfo> Abbrevs; variable
452 return Abbrevs; in getAbbrevs()
DDWARFUnit.h280 mutable const DWARFAbbreviationDeclarationSet *Abbrevs; variable

12