Home
last modified time | relevance | path

Searched refs:Abbv (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp332 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteTypeTable() local
333 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
334 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
335 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
336 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()
339 Abbv = new BitCodeAbbrev(); in WriteTypeTable()
340 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()
341 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
342 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
343 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp107 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord() local
109 for (unsigned i = 0, e = Abbv->getNumOperandInfos(); i != e; ++i) { in skipRecord()
110 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in skipRecord()
126 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in skipRecord()
165 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord() local
168 assert(Abbv->getNumOperandInfos() != 0 && "no record code in abbreviation?"); in readRecord()
169 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0); in readRecord()
180 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in readRecord()
181 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in readRecord()
199 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in readRecord()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h301 const BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo].get(); in EmitRecordWithAbbrevImpl() local
306 for (unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EmitRecordWithAbbrevImpl()
308 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EmitRecordWithAbbrevImpl()
316 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in EmitRecordWithAbbrevImpl()
453 void EncodeAbbrev(BitCodeAbbrev *Abbv) { in EncodeAbbrev() argument
455 EmitVBR(Abbv->getNumOperandInfos(), 5); in EncodeAbbrev()
456 for (unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EncodeAbbrev()
458 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EncodeAbbrev()
473 unsigned EmitAbbrev(BitCodeAbbrev *Abbv) { in EmitAbbrev() argument
475 EncodeAbbrev(Abbv); in EmitAbbrev()
[all …]