Home
last modified time | relevance | path

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

/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()
494 CurAbbrevs.push_back(Abbv); in EmitAbbrev()
495 return static_cast<unsigned>(CurAbbrevs.size())-1 + in EmitAbbrev()
DBitstreamReader.h188 std::vector<IntrusiveRefCntPtr<BitCodeAbbrev>> CurAbbrevs; variable
486 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()
498 if (AbbrevNo >= CurAbbrevs.size()) in getAbbrev()
500 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()
291 CurAbbrevs.push_back(Abbv); in ReadAbbrevRecord()
326 CurBlockInfo->Abbrevs.push_back(std::move(CurAbbrevs.back())); in ReadBlockInfoBlock()
327 CurAbbrevs.pop_back(); in ReadBlockInfoBlock()