Home
last modified time | relevance | path

Searched refs:AbbrevID (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp101 void BitstreamCursor::skipRecord(unsigned AbbrevID) { in skipRecord() argument
103 if (AbbrevID == bitc::UNABBREV_RECORD) { in skipRecord()
112 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord()
176 unsigned BitstreamCursor::readRecord(unsigned AbbrevID, in readRecord() argument
179 if (AbbrevID == bitc::UNABBREV_RECORD) { in readRecord()
187 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp98 unsigned AbbrevID; in TEST() local
107 AbbrevID = Stream.EmitAbbrev(std::move(Abbrev)); in TEST()
109 Stream.EmitRecordWithBlob(AbbrevID, makeArrayRef(Record), BlobIn); in TEST()
132 ASSERT_EQ(AbbrevID, Entry.ID); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamReader.h302 static BitstreamEntry getRecord(unsigned AbbrevID) { in getRecord()
303 BitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord()
473 const BitCodeAbbrev *getAbbrev(unsigned AbbrevID) { in getAbbrev() argument
474 unsigned AbbrevNo = AbbrevID - bitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
481 unsigned skipRecord(unsigned AbbrevID);
483 unsigned readRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp96 unsigned BitstreamCursor::skipRecord(unsigned AbbrevID) { in skipRecord() argument
98 if (AbbrevID == bitc::UNABBREV_RECORD) { in skipRecord()
106 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord()
179 unsigned BitstreamCursor::readRecord(unsigned AbbrevID, in readRecord() argument
182 if (AbbrevID == bitc::UNABBREV_RECORD) { in readRecord()
190 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord()
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h403 static BitstreamEntry getRecord(unsigned AbbrevID) { in getRecord()
404 BitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord()
575 const BitCodeAbbrev *getAbbrev(unsigned AbbrevID) { in getAbbrev() argument
576 unsigned AbbrevNo = AbbrevID - bitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
583 void skipRecord(unsigned AbbrevID);
585 unsigned readRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals,
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp112 void NaClBitstreamCursor::skipRecord(unsigned AbbrevID) { in skipRecord() argument
114 if (AbbrevID == naclbitc::UNABBREV_RECORD) { in skipRecord()
124 const NaClBitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord()
202 unsigned NaClBitstreamCursor::readRecord(unsigned AbbrevID, in readRecord() argument
204 if (AbbrevID == naclbitc::UNABBREV_RECORD) { in readRecord()
214 const NaClBitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord()
/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp373 unsigned AbbrevID = Stream.ReadCode(); in ParseBlock() local
374 switch (AbbrevID) { in ParseBlock()
408 if (AbbrevID != bitc::UNABBREV_RECORD) in ParseBlock()
413 unsigned Code = Stream.ReadRecord(AbbrevID, Record, BlobStart, BlobLen); in ParseBlock()
423 if (AbbrevID != bitc::UNABBREV_RECORD) in ParseBlock()
436 if (AbbrevID != bitc::UNABBREV_RECORD) in ParseBlock()
437 errs() << " abbrevid=" << AbbrevID; in ParseBlock()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h476 const BitCodeAbbrev *getAbbrev(unsigned AbbrevID) { in getAbbrev() argument
477 unsigned AbbrevNo = AbbrevID-bitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
482 unsigned ReadRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals,
484 if (AbbrevID == bitc::UNABBREV_RECORD) {
492 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID);
546 unsigned ReadRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals, in ReadRecord() argument
548 return ReadRecord(AbbrevID, Vals, &BlobStart, &BlobLen); in ReadRecord()
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp194 unsigned AbbrevID; in TEST() local
203 AbbrevID = Stream.EmitAbbrev(Abbrev); in TEST()
205 Stream.EmitRecordWithBlob(AbbrevID, makeArrayRef(Record), BlobIn); in TEST()
230 ASSERT_EQ(AbbrevID, Entry.ID); in TEST()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h322 static NaClBitstreamEntry getRecord(unsigned AbbrevID) { in getRecord()
323 NaClBitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord()
874 const NaClBitCodeAbbrev *getAbbrev(unsigned AbbrevID) const { in getAbbrev() argument
875 unsigned AbbrevNo = AbbrevID-naclbitc::FIRST_APPLICATION_ABBREV; in getAbbrev()
884 reportInvalidAbbrevNumber(AbbrevID); in getAbbrev()
889 void skipRecord(unsigned AbbrevID);
891 unsigned readRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1931 #define HANDLE_MDNODE_LEAF(CLASS) CLASS##AbbrevID,
1959 (*MDAbbrevs)[MetadataAbbrev::CLASS##AbbrevID]); \ in writeMetadataRecords()
/external/clang/lib/Serialization/
DASTWriter.cpp3879 unsigned AbbrevID = Stream.EmitAbbrev(Abbrev); in WriteObjCCategories() local
3882 Stream.EmitRecordWithBlob(AbbrevID, Record, in WriteObjCCategories()