Searched refs:CurAbbrevs (Results 1 – 5 of 5) sorted by relevance
140 std::vector<BitCodeAbbrev*> CurAbbrevs; variable191 CurAbbrevs = RHS.CurAbbrevs;192 for (unsigned i = 0, e = static_cast<unsigned>(CurAbbrevs.size());194 CurAbbrevs[i]->addRef();209 for (unsigned i = 0, e = static_cast<unsigned>(CurAbbrevs.size()); in freeState()211 CurAbbrevs[i]->dropRef(); in freeState()212 CurAbbrevs.clear(); in freeState()393 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs);400 CurAbbrevs.push_back(Info->Abbrevs[i]);401 CurAbbrevs.back()->addRef();[all …]
42 std::vector<BitCodeAbbrev*> CurAbbrevs; variable68 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()213 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()220 CurAbbrevs.push_back(Info->Abbrevs[i]); in EnterSubblock()230 for (unsigned i = 0, e = static_cast<unsigned>(CurAbbrevs.size()); in ExitBlock()232 CurAbbrevs[i]->dropRef(); in ExitBlock()250 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in ExitBlock()303 assert(AbbrevNo < CurAbbrevs.size() && "Invalid abbrev #!"); in EmitRecordWithAbbrevImpl()304 BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo]; in EmitRecordWithAbbrevImpl()479 CurAbbrevs.push_back(Abbv); in EmitAbbrev()[all …]
46 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> CurAbbrevs; variable90 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()223 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()228 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubblock()251 CurAbbrevs = std::move(B.PrevAbbrevs); in ExitBlock()306 assert(AbbrevNo < CurAbbrevs.size() && "Invalid abbrev #!"); in EmitRecordWithAbbrevImpl()307 const BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo].get(); in EmitRecordWithAbbrevImpl()499 CurAbbrevs.push_back(Abbv); in EmitAbbrev()500 return static_cast<unsigned>(CurAbbrevs.size())-1 + in EmitAbbrev()
419 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> CurAbbrevs; variable565 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()577 if (AbbrevNo >= CurAbbrevs.size()) in getAbbrev()579 return CurAbbrevs[AbbrevNo].get(); in getAbbrev()
20 CurAbbrevs.clear(); in freeState()31 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()36 CurAbbrevs.insert(CurAbbrevs.end(), Info->Abbrevs.begin(), in EnterSubBlock()318 CurAbbrevs.push_back(Abbv); in ReadAbbrevRecord()353 CurBlockInfo->Abbrevs.push_back(std::move(CurAbbrevs.back())); in ReadBlockInfoBlock()354 CurAbbrevs.pop_back(); in ReadBlockInfoBlock()