/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 759 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in writeTypeTable() local 760 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in writeTypeTable() 761 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() 762 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable() 763 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in writeTypeTable() 766 Abbv = new BitCodeAbbrev(); in writeTypeTable() 767 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable() 768 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable() 769 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable() 770 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 787 auto Abbv = std::make_shared<BitCodeAbbrev>(); in writeTypeTable() local 788 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in writeTypeTable() 789 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() 790 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in writeTypeTable() 791 unsigned PtrAbbrev = Stream.EmitAbbrev(std::move(Abbv)); in writeTypeTable() 794 Abbv = std::make_shared<BitCodeAbbrev>(); in writeTypeTable() 795 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in writeTypeTable() 796 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in writeTypeTable() 797 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in writeTypeTable() 798 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in writeTypeTable() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 198 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteTypeTable() local 199 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable() 200 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeTable() 202 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable() 203 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable() 206 Abbv = new BitCodeAbbrev(); in WriteTypeTable() 207 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable() 208 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable() 209 Abbv->Add(BitCodeAbbrevOp(0)); // FIXME: DEAD value, remove in LLVM 3.0 in WriteTypeTable() 210 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable() [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 112 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord() local 114 for (unsigned i = 0, e = Abbv->getNumOperandInfos(); i != e; ++i) { in skipRecord() 115 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in skipRecord() 131 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in skipRecord() 187 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord() local 190 assert(Abbv->getNumOperandInfos() != 0 && "no record code in abbreviation?"); in readRecord() 191 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0); in readRecord() 202 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in readRecord() 203 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in readRecord() 222 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in readRecord() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 106 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord() local 107 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0); in skipRecord() 118 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i < e; ++i) { in skipRecord() 119 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in skipRecord() 135 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in skipRecord() 190 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord() local 193 assert(Abbv->getNumOperandInfos() != 0 && "no record code in abbreviation?"); in readRecord() 194 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0); in readRecord() 205 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in readRecord() 206 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in readRecord() [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 124 const NaClBitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord() local 126 for (unsigned i = 0, e = Abbv->getNumOperandInfos(); i != e; ++i) { in skipRecord() 127 const NaClBitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in skipRecord() 139 const NaClBitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in skipRecord() 214 const NaClBitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord() local 217 if (readRecordAbbrevField(Abbv->getOperandInfo(0), Value)) { in readRecord() 221 const NaClBitCodeAbbrevOp &Op = Abbv->getOperandInfo(1); in readRecord() 230 unsigned NumOperands = Abbv->getNumOperandInfos(); in readRecord() 232 if (readRecordAbbrevField(Abbv->getOperandInfo(i), Value)) { in readRecord() 234 readArrayAbbrev(Abbv->getOperandInfo(i), Value, Vals); in readRecord() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 303 const BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo].get(); in EmitRecordWithAbbrevImpl() local 307 unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EmitRecordWithAbbrevImpl() 310 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i++); in EmitRecordWithAbbrevImpl() 324 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl() 332 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in EmitRecordWithAbbrevImpl() 472 void EncodeAbbrev(const BitCodeAbbrev &Abbv) { in EncodeAbbrev() argument 474 EmitVBR(Abbv.getNumOperandInfos(), 5); in EncodeAbbrev() 475 for (unsigned i = 0, e = static_cast<unsigned>(Abbv.getNumOperandInfos()); in EncodeAbbrev() 477 const BitCodeAbbrevOp &Op = Abbv.getOperandInfo(i); in EncodeAbbrev() 492 unsigned EmitAbbrev(std::shared_ptr<BitCodeAbbrev> Abbv) { in EmitAbbrev() argument [all …]
|
/external/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 307 const BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo].get(); in EmitRecordWithAbbrevImpl() local 311 unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EmitRecordWithAbbrevImpl() 314 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i++); in EmitRecordWithAbbrevImpl() 328 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl() 336 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in EmitRecordWithAbbrevImpl() 476 void EncodeAbbrev(BitCodeAbbrev *Abbv) { in EncodeAbbrev() argument 478 EmitVBR(Abbv->getNumOperandInfos(), 5); in EncodeAbbrev() 479 for (unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EncodeAbbrev() 481 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EncodeAbbrev() 496 unsigned EmitAbbrev(BitCodeAbbrev *Abbv) { in EmitAbbrev() argument [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 304 BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo]; in EmitRecordWithAbbrevImpl() local 309 for (unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EmitRecordWithAbbrevImpl() 311 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl() 319 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in EmitRecordWithAbbrevImpl() 456 void EncodeAbbrev(BitCodeAbbrev *Abbv) { in EncodeAbbrev() argument 458 EmitVBR(Abbv->getNumOperandInfos(), 5); in EncodeAbbrev() 459 for (unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EncodeAbbrev() 461 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EncodeAbbrev() 476 unsigned EmitAbbrev(BitCodeAbbrev *Abbv) { in EmitAbbrev() argument 478 EncodeAbbrev(Abbv); in EmitAbbrev() [all …]
|
D | BitstreamReader.h | 492 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); variable 494 for (unsigned i = 0, e = Abbv->getNumOperandInfos(); i != e; ++i) { 495 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); 504 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); 557 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in ReadAbbrevRecord() local 562 Abbv->Add(BitCodeAbbrevOp(ReadVBR64(8))); in ReadAbbrevRecord() 568 Abbv->Add(BitCodeAbbrevOp(E, ReadVBR64(5))); in ReadAbbrevRecord() 570 Abbv->Add(BitCodeAbbrevOp(E)); in ReadAbbrevRecord() 572 CurAbbrevs.push_back(Abbv); in ReadAbbrevRecord() 605 BitCodeAbbrev *Abbv = CurAbbrevs.back(); in ReadBlockInfoBlock() local [all …]
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 84 NaClBitCodeAbbrev *Abbv = new NaClBitCodeAbbrev(); in appendCreate() local 85 Abbrevs.push_back(Abbv); in appendCreate() 86 return Abbv; in appendCreate() 458 NaClBitCodeAbbrev *Abbv = LocalAbbrevs.last(); in moveLocalAbbrevToAbbrevList() local 459 List->append(Abbv); in moveLocalAbbrevToAbbrevList()
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 598 const BitCodeAbbrev *Abbv = nullptr; in ParseBlock() local 600 Abbv = Stream.getAbbrev(Entry.ID); in ParseBlock() 640 if (Abbv) { in ParseBlock() 641 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in ParseBlock() 642 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in ParseBlock()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 628 const BitCodeAbbrev *Abbv = nullptr; in ParseBlock() local 630 Abbv = Stream.getAbbrev(Entry.ID); in ParseBlock() 693 if (Abbv) { in ParseBlock() 694 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in ParseBlock() 695 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in ParseBlock()
|