Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h64 std::vector<std::shared_ptr<BitCodeAbbrev>> CurAbbrevs; variable
168 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
382 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
387 append_range(CurAbbrevs, Info->Abbrevs); in EnterSubblock()
408 CurAbbrevs = std::move(B.PrevAbbrevs); in ExitBlock()
464 assert(AbbrevNo < CurAbbrevs.size() && "Invalid abbrev #!"); in EmitRecordWithAbbrevImpl()
465 const BitCodeAbbrev *Abbv = CurAbbrevs[AbbrevNo].get(); in EmitRecordWithAbbrevImpl()
653 CurAbbrevs.push_back(std::move(Abbv)); in EmitAbbrev()
654 return static_cast<unsigned>(CurAbbrevs.size())-1 + in EmitAbbrev()
H A DBitstreamReader.h363 std::vector<std::shared_ptr<BitCodeAbbrev>> CurAbbrevs;
532 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()
544 if (AbbrevNo >= CurAbbrevs.size()) in getAbbrev()
547 return CurAbbrevs[AbbrevNo].get(); in getAbbrev()
364 std::vector<std::shared_ptr<BitCodeAbbrev>> CurAbbrevs; global() variable
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp29 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
35 llvm::append_range(CurAbbrevs, Info->Abbrevs); in EnterSubBlock()
416 CurAbbrevs.push_back(std::move(Abbv)); in ReadAbbrevRecord()
459 CurBlockInfo->Abbrevs.push_back(std::move(CurAbbrevs.back())); in ReadBlockInfoBlock()
460 CurAbbrevs.pop_back(); in ReadBlockInfoBlock()