Home
last modified time | relevance | path

Searched refs:BlockInfoRecords (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h46 std::vector<BlockInfo> BlockInfoRecords; variable
73 std::swap(BlockInfoRecords, Other.BlockInfoRecords);
96 bool hasBlockInfoRecords() const { return !BlockInfoRecords.empty(); } in hasBlockInfoRecords()
102 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
103 return &BlockInfoRecords.back(); in getBlockInfo()
105 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
107 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
108 return &BlockInfoRecords[i]; in getBlockInfo()
117 BlockInfoRecords.emplace_back(); in getOrCreateBlockInfo()
118 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
[all …]
DBitstreamWriter.h64 std::vector<BlockInfo> BlockInfoRecords; variable
194 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
195 return &BlockInfoRecords.back(); in getBlockInfo()
197 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
199 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
200 return &BlockInfoRecords[i]; in getBlockInfo()
529 BlockInfoRecords.emplace_back(); in getOrCreateBlockInfo()
530 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
531 return BlockInfoRecords.back(); in getOrCreateBlockInfo()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h43 std::vector<BlockInfo> BlockInfoRecords; variable
69 while (!BlockInfoRecords.empty()) { in ~BitstreamReader()
70 BlockInfo &Info = BlockInfoRecords.back(); in ~BitstreamReader()
75 BlockInfoRecords.pop_back(); in ~BitstreamReader()
94 bool hasBlockInfoRecords() const { return !BlockInfoRecords.empty(); } in hasBlockInfoRecords()
100 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
101 return &BlockInfoRecords.back(); in getBlockInfo()
103 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
105 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
106 return &BlockInfoRecords[i]; in getBlockInfo()
[all …]
DBitstreamWriter.h60 std::vector<BlockInfo> BlockInfoRecords; variable
71 while (!BlockInfoRecords.empty()) { in ~BitstreamWriter()
72 BlockInfo &Info = BlockInfoRecords.back(); in ~BitstreamWriter()
77 BlockInfoRecords.pop_back(); in ~BitstreamWriter()
184 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
185 return &BlockInfoRecords.back(); in getBlockInfo()
187 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
189 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
190 return &BlockInfoRecords[i]; in getBlockInfo()
509 BlockInfoRecords.push_back(BlockInfo()); in getOrCreateBlockInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamReader.h50 std::vector<BlockInfo> BlockInfoRecords;
57 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
58 return &BlockInfoRecords.back(); in getBlockInfo()
60 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
62 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
63 return &BlockInfoRecords[i]; in getBlockInfo()
72 BlockInfoRecords.emplace_back(); in getOrCreateBlockInfo()
73 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
74 return BlockInfoRecords.back(); in getOrCreateBlockInfo()
DBitstreamWriter.h64 std::vector<BlockInfo> BlockInfoRecords; variable
190 if (!BlockInfoRecords.empty() && BlockInfoRecords.back().BlockID == BlockID) in getBlockInfo()
191 return &BlockInfoRecords.back(); in getBlockInfo()
193 for (unsigned i = 0, e = static_cast<unsigned>(BlockInfoRecords.size()); in getBlockInfo()
195 if (BlockInfoRecords[i].BlockID == BlockID) in getBlockInfo()
196 return &BlockInfoRecords[i]; in getBlockInfo()
508 BlockInfoRecords.clear(); in EnterBlockInfoBlock()
526 BlockInfoRecords.emplace_back(); in getOrCreateBlockInfo()
527 BlockInfoRecords.back().BlockID = BlockID; in getOrCreateBlockInfo()
528 return BlockInfoRecords.back(); in getOrCreateBlockInfo()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h192 explicit UpdateLock(BlockInfoRecordsMap &BlockInfoRecords);
196 BlockInfoRecordsMap &BlockInfoRecords;
227 SharedBlockInfoMap BlockInfoRecords; variable
253 BlockInfoRecords(BlockInfoRecordsMap::create()) { in NaClBitstreamReader()
259 : BitcodeBytes(Bytes), BlockInfoRecords(BlockInfoRecordsMap::create()) in NaClBitstreamReader()
265 : BitcodeBytes(Bytes), BlockInfoRecords(BlockInfoRecordsMap::create()), in NaClBitstreamReader()
274 BlockInfoRecords(Reader->BlockInfoRecords), InitialAddress(0), in NaClBitstreamReader()
275 ErrorOffset(StartAddress) { BlockInfoRecords->freeze(); } in NaClBitstreamReader()
296 return BlockInfoRecords->getBlockInfo(BlockID); in getBlockInfo()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp370 UpdateLock(BlockInfoRecordsMap &BlockInfoRecords) in UpdateLock() argument
371 : BlockInfoRecords(BlockInfoRecords), in UpdateLock()
372 Lock(BlockInfoRecords.UpdateRecordsLock) {} in UpdateLock()
376 if (BlockInfoRecords.freeze()) in ~UpdateLock()
382 if (BitStream->BlockInfoRecords->isFrozen()) in ReadBlockInfoBlock()
386 Lock(*BitStream->BlockInfoRecords); in ReadBlockInfoBlock()