Searched refs:Abbv (Results 1 – 4 of 4) sorted by relevance
348 BitCodeAbbrev *Abbv = new BitCodeAbbrev(); in WriteTypeTable() local349 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()350 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()351 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()352 unsigned PtrAbbrev = Stream.EmitAbbrev(Abbv); in WriteTypeTable()355 Abbv = new BitCodeAbbrev(); in WriteTypeTable()356 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()357 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()358 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()359 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()[all …]
112 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in skipRecord() local114 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()170 const BitCodeAbbrev *Abbv = getAbbrev(AbbrevID); in readRecord() local173 assert(Abbv->getNumOperandInfos() != 0 && "no record code in abbreviation?"); in readRecord()174 const BitCodeAbbrevOp &CodeOp = Abbv->getOperandInfo(0); in readRecord()185 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in readRecord()186 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in readRecord()205 const BitCodeAbbrevOp &EltEnc = Abbv->getOperandInfo(++i); in readRecord()[all …]
307 const BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo].get(); in EmitRecordWithAbbrevImpl() local311 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()471 void EncodeAbbrev(BitCodeAbbrev *Abbv) { in EncodeAbbrev() argument473 EmitVBR(Abbv->getNumOperandInfos(), 5); in EncodeAbbrev()474 for (unsigned i = 0, e = static_cast<unsigned>(Abbv->getNumOperandInfos()); in EncodeAbbrev()476 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in EncodeAbbrev()491 unsigned EmitAbbrev(BitCodeAbbrev *Abbv) { in EmitAbbrev() argument[all …]
518 const BitCodeAbbrev *Abbv = nullptr; in ParseBlock() local520 Abbv = Stream.getAbbrev(Entry.ID); in ParseBlock()529 if (Abbv) { in ParseBlock()530 for (unsigned i = 1, e = Abbv->getNumOperandInfos(); i != e; ++i) { in ParseBlock()531 const BitCodeAbbrevOp &Op = Abbv->getOperandInfo(i); in ParseBlock()