Home
last modified time | relevance | path

Searched refs:CurAbbrevs (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h140 std::vector<BitCodeAbbrev*> CurAbbrevs; variable
191 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 …]
DBitstreamWriter.h42 std::vector<BitCodeAbbrev*> CurAbbrevs; variable
68 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 …]
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h46 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> CurAbbrevs; variable
90 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()
DBitstreamReader.h419 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> CurAbbrevs; variable
565 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()
577 if (AbbrevNo >= CurAbbrevs.size()) in getAbbrev()
579 return CurAbbrevs[AbbrevNo].get(); in getAbbrev()
/external/llvm/lib/Bitcode/Reader/
DBitstreamReader.cpp20 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()