Home
last modified time | relevance | path

Searched refs:blocks_ (Results 1 – 25 of 34) sorted by relevance

12

/external/perfetto/src/protozero/
Dmessage_arena.cc29 blocks_.emplace_front(); in MessageArena()
30 static_assert(std::alignment_of<decltype(blocks_.back().storage[0])>::value >= in MessageArena()
38 PERFETTO_DCHECK(!blocks_.empty()); // Should never become empty. in NewMessage()
40 Block* block = &blocks_.back(); in NewMessage()
42 blocks_.emplace_back(); in NewMessage()
43 block = &blocks_.back(); in NewMessage()
52 PERFETTO_DCHECK(!blocks_.empty()); // Should never be empty, see below. in DeleteLastMessageInternal()
53 Block* block = &blocks_.back(); in DeleteLastMessageInternal()
66 if (block->entries == 0 && blocks_.size() > 1) { in DeleteLastMessageInternal()
67 blocks_.pop_back(); in DeleteLastMessageInternal()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfunction.h101 const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } in entry()
104 BasicBlock* tail() { return blocks_.back().get(); } in tail()
105 const BasicBlock* tail() const { return blocks_.back().get(); } in tail()
107 iterator begin() { return iterator(&blocks_, blocks_.begin()); } in begin()
108 iterator end() { return iterator(&blocks_, blocks_.end()); } in end()
112 return const_iterator(&blocks_, blocks_.cbegin()); in cbegin()
115 return const_iterator(&blocks_, blocks_.cend()); in cend()
188 std::vector<std::unique_ptr<BasicBlock>> blocks_; variable
222 blocks_.insert(ip.Get(), std::make_move_iterator(src_begin), in AddBasicBlocks()
228 blocks_.erase(std::find(std::begin(blocks_), std::end(blocks_), nullptr)); in MoveBasicBlockToAfter()
[all …]
Dfunction.cpp42 clone->blocks_.reserve(blocks_.size()); in Clone()
43 for (const auto& b : blocks_) { in Clone()
104 for (auto& bb : blocks_) { in WhileEachInst()
150 for (const auto& bb : blocks_) { in WhileEachInst()
231 blocks_.front()->GetLabel()->context()->GetPostDominatorAnalysis(this); in HasEarlyReturn()
232 for (auto& block : blocks_) { in HasEarlyReturn()
242 IRContext* ctx = blocks_.front()->GetLabel()->context(); in IsRecursive()
Dpropagator.cpp36 blocks_.push(dest_bb); in AddControlEdge()
243 while (!blocks_.empty() || !ssa_edge_uses_.empty()) { in Run()
246 if (!blocks_.empty()) { in Run()
247 auto block = blocks_.front(); in Run()
249 blocks_.pop(); in Run()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfunction.h101 const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } in entry()
104 BasicBlock* tail() { return blocks_.back().get(); } in tail()
105 const BasicBlock* tail() const { return blocks_.back().get(); } in tail()
107 iterator begin() { return iterator(&blocks_, blocks_.begin()); } in begin()
108 iterator end() { return iterator(&blocks_, blocks_.end()); } in end()
112 return const_iterator(&blocks_, blocks_.cbegin()); in cbegin()
115 return const_iterator(&blocks_, blocks_.cend()); in cend()
188 std::vector<std::unique_ptr<BasicBlock>> blocks_; variable
222 blocks_.insert(ip.Get(), std::make_move_iterator(src_begin), in AddBasicBlocks()
228 blocks_.erase(std::find(std::begin(blocks_), std::end(blocks_), nullptr)); in MoveBasicBlockToAfter()
[all …]
Dfunction.cpp42 clone->blocks_.reserve(blocks_.size()); in Clone()
43 for (const auto& b : blocks_) { in Clone()
104 for (auto& bb : blocks_) { in WhileEachInst()
150 for (const auto& bb : blocks_) { in WhileEachInst()
231 blocks_.front()->GetLabel()->context()->GetPostDominatorAnalysis(this); in HasEarlyReturn()
232 for (auto& block : blocks_) { in HasEarlyReturn()
242 IRContext* ctx = blocks_.front()->GetLabel()->context(); in IsRecursive()
Dpropagator.cpp36 blocks_.push(dest_bb); in AddControlEdge()
243 while (!blocks_.empty() || !ssa_edge_uses_.empty()) { in Run()
246 if (!blocks_.empty()) { in Run()
247 auto block = blocks_.front(); in Run()
249 blocks_.pop(); in Run()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfunction.h101 const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } in entry()
104 BasicBlock* tail() { return blocks_.back().get(); } in tail()
105 const BasicBlock* tail() const { return blocks_.back().get(); } in tail()
107 iterator begin() { return iterator(&blocks_, blocks_.begin()); } in begin()
108 iterator end() { return iterator(&blocks_, blocks_.end()); } in end()
112 return const_iterator(&blocks_, blocks_.cbegin()); in cbegin()
115 return const_iterator(&blocks_, blocks_.cend()); in cend()
188 std::vector<std::unique_ptr<BasicBlock>> blocks_; variable
222 blocks_.insert(ip.Get(), std::make_move_iterator(src_begin), in AddBasicBlocks()
228 blocks_.erase(std::find(std::begin(blocks_), std::end(blocks_), nullptr)); in MoveBasicBlockToAfter()
[all …]
Dfunction.cpp42 clone->blocks_.reserve(blocks_.size()); in Clone()
43 for (const auto& b : blocks_) { in Clone()
104 for (auto& bb : blocks_) { in WhileEachInst()
150 for (const auto& bb : blocks_) { in WhileEachInst()
231 blocks_.front()->GetLabel()->context()->GetPostDominatorAnalysis(this); in HasEarlyReturn()
232 for (auto& block : blocks_) { in HasEarlyReturn()
242 IRContext* ctx = blocks_.front()->GetLabel()->context(); in IsRecursive()
Dpropagator.cpp36 blocks_.push(dest_bb); in AddControlEdge()
243 while (!blocks_.empty() || !ssa_edge_uses_.empty()) { in Run()
246 if (!blocks_.empty()) { in Run()
247 auto block = blocks_.front(); in Run()
249 blocks_.pop(); in Run()
/external/perfetto/include/perfetto/protozero/
Dmessage_arena.h57 PERFETTO_DCHECK(!blocks_.empty() && blocks_.back().entries > 0); in DeleteLastMessage()
58 PERFETTO_DCHECK(&blocks_.back().storage[blocks_.back().entries - 1] == in DeleteLastMessage()
68 PERFETTO_DCHECK(!blocks_.empty()); in Reset()
69 blocks_.resize(1); in Reset()
70 auto& block = blocks_.back(); in Reset()
90 std::list<Block> blocks_; variable
/external/perfetto/src/trace_processor/containers/
Dstring_pool.cc48 blocks_.emplace_back(kBlockSizeBytes); in StringPool()
51 PERFETTO_CHECK(blocks_.back().TryInsert(NullTermStringView()).first); in StringPool()
64 std::tie(success, offset) = blocks_.back().TryInsert(str); in InsertString()
74 blocks_.emplace_back(kBlockSizeBytes); in InsertString()
78 std::tie(success, offset) = blocks_.back().TryInsert(str); in InsertString()
84 Id string_id = Id::BlockString(blocks_.size() - 1, offset); in InsertString()
133 if (block_index_ < pool_->blocks_.size()) { in operator ++()
135 const auto& block = pool_->blocks_[block_index_]; in operator ++()
161 return block_index_ < pool_->blocks_.size() || in operator bool()
170 if (block_index_ < pool_->blocks_.size()) { in StringId()
[all …]
Dbit_vector.h71 return blocks_[a.block_idx].IsSet(a.block_offset); in IsSet()
92 return counts_[idx] + blocks_[idx].GetNumBitsSet(addr.block_offset); in GetNumBitsSet()
119 BlockOffset block_offset = blocks_[block_idx].IndexOfNthSet(set_in_block); in IndexOfNthSet()
128 bool old_value = blocks_[addr.block_idx].IsSet(addr.block_offset); in Set()
132 blocks_[addr.block_idx].Set(addr.block_offset); in Set()
146 bool old_value = blocks_[addr.block_idx].IsSet(addr.block_offset); in Clear()
151 blocks_[addr.block_idx].Clear(addr.block_offset); in Clear()
163 uint32_t old_blocks_size = static_cast<uint32_t>(blocks_.size()); in AppendTrue()
168 blocks_.emplace_back(); in AppendTrue()
173 blocks_[addr.block_idx].Set(addr.block_offset); in AppendTrue()
[all …]
Dbit_vector_iterators.cc27 block_ = bv_->blocks_[0]; in BaseIterator()
34 uint32_t last_block_idx = static_cast<uint32_t>(bv_->blocks_.size()) - 1; in ~BaseIterator()
46 bv_->blocks_[old_block] = block_; in OnBlockChange()
66 block_ = bv_->blocks_[new_block]; in OnBlockChange()
113 const auto& block = bv().blocks_[addr.block_idx]; in ReadSetBitBatch()
Dbit_vector.cc43 : size_(size), counts_(std::move(counts)), blocks_(std::move(blocks)) {} in BitVector()
46 return BitVector(blocks_, counts_, size_); in Copy()
Dstring_pool.h243 PERFETTO_DCHECK(block_index < blocks_.size()); in IdToPtr()
244 PERFETTO_DCHECK(block_offset < blocks_[block_index].pos()); in IdToPtr()
246 return blocks_[block_index].Get(block_offset); in IdToPtr()
281 std::vector<Block> blocks_; variable
/external/webrtc/modules/audio_processing/aec3/
Drender_delay_buffer.cc58 return blocks_.buffer.size() - 1 - buffer_headroom_; in MaxDelay()
79 BlockBuffer blocks_; member in webrtc::__anonb20273790111::RenderDelayBufferImpl
134 blocks_(GetRenderDelayBufferSize(down_sampling_factor_, in RenderDelayBufferImpl()
140 spectra_(blocks_.buffer.size(), num_render_channels), in RenderDelayBufferImpl()
141 ffts_(blocks_.buffer.size(), num_render_channels), in RenderDelayBufferImpl()
143 echo_remover_buffer_(&blocks_, &spectra_, &ffts_), in RenderDelayBufferImpl()
151 RTC_DCHECK_EQ(blocks_.buffer.size(), ffts_.buffer.size()); in RenderDelayBufferImpl()
153 for (size_t i = 0; i < blocks_.buffer.size(); ++i) { in RenderDelayBufferImpl()
154 RTC_DCHECK_EQ(blocks_.buffer[i][0].size(), ffts_.buffer[i].size()); in RenderDelayBufferImpl()
222 const int previous_write = blocks_.write; in Insert()
[all …]
/external/llvm-project/flang/include/flang/Parser/
Dchar-buffer.h27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer()
32 blocks_ = std::move(that.blocks_);
43 blocks_.clear(); in clear()
66 std::list<Block> blocks_; variable
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_clock.cpp301 dst->blocks_ = cached_blocks_; in ReleaseStore()
357 cached_blocks_ = dst->blocks_; in ReleaseStore()
438 CHECK_EQ(blocks_, 0); in ~SyncClock()
445 UnrefClockBlock(c, tab_idx_, blocks_); in Reset()
453 blocks_ = 0; in ResetImpl()
471 CHECK_EQ(blocks_, 0); in Resize()
479 } else if (size_ > blocks_ * ClockBlock::kClockCount) { in Resize()
482 uptr top = size_ - blocks_ * ClockBlock::kClockCount; in Resize()
534 old.blocks_ = blocks_; in Unshare()
574 DCHECK_LE(block, blocks_); in elem()
[all …]
/external/llvm-project/flang/lib/Parser/
Dchar-buffer.cpp19 if (blocks_.empty()) { in FreeSpace()
20 blocks_.emplace_front(); in FreeSpace()
23 blocks_.emplace_back(); in FreeSpace()
27 return blocks_.back().data + offset; in FreeSpace()
56 for (const Block &block : blocks_) { in Marshal()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dfunction.cpp44 blocks_(), in Function()
72 BasicBlock& merge_block = blocks_.at(merge_id); in RegisterLoopMerge()
73 BasicBlock& continue_target_block = blocks_.at(continue_id); in RegisterLoopMerge()
100 BasicBlock& merge_block = blocks_.at(merge_id); in RegisterSelectionMerge()
124 blocks_.insert({block_id, BasicBlock(block_id)}); in RegisterBlock()
151 blocks_.insert({successor_id, BasicBlock(successor_id)}); in RegisterBlockEnd()
188 size_t Function::block_count() const { return blocks_.size(); } in block_count()
227 const auto b = blocks_.find(block_id); in GetBlock()
228 if (b != end(blocks_)) { in GetBlock()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp44 blocks_(), in Function()
72 BasicBlock& merge_block = blocks_.at(merge_id); in RegisterLoopMerge()
73 BasicBlock& continue_target_block = blocks_.at(continue_id); in RegisterLoopMerge()
100 BasicBlock& merge_block = blocks_.at(merge_id); in RegisterSelectionMerge()
124 blocks_.insert({block_id, BasicBlock(block_id)}); in RegisterBlock()
151 blocks_.insert({successor_id, BasicBlock(successor_id)}); in RegisterBlockEnd()
188 size_t Function::block_count() const { return blocks_.size(); } in block_count()
227 const auto b = blocks_.find(block_id); in GetBlock()
228 if (b != end(blocks_)) { in GetBlock()
/external/deqp-deps/SPIRV-Tools/source/val/
Dfunction.cpp44 blocks_(), in Function()
72 BasicBlock& merge_block = blocks_.at(merge_id); in RegisterLoopMerge()
73 BasicBlock& continue_target_block = blocks_.at(continue_id); in RegisterLoopMerge()
100 BasicBlock& merge_block = blocks_.at(merge_id); in RegisterSelectionMerge()
124 blocks_.insert({block_id, BasicBlock(block_id)}); in RegisterBlock()
151 blocks_.insert({successor_id, BasicBlock(successor_id)}); in RegisterBlockEnd()
188 size_t Function::block_count() const { return blocks_.size(); } in block_count()
227 const auto b = blocks_.find(block_id); in GetBlock()
228 if (b != end(blocks_)) { in GetBlock()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
Dpreprocessor_test.cc32 : blocks_(blocks) {} in AccuInlineRewrite()
35 blocks_->push_back(std::string(input.data(), input.size())); in Rewrite()
41 std::vector<std::string>* blocks_; member in tflite::gpu::gl::__anonbf35d7170111::AccuInlineRewrite
106 std::vector<std::string>* blocks_; member in tflite::gpu::gl::__anonbf35d7170111::SingleRewrite
/external/protobuf/js/binary/
Dwriter.js83 this.blocks_ = []; property in jspb.BinaryWriter
119 this.blocks_.push(temp);
120 this.blocks_.push(arr);
135 this.blocks_.push(bookmark);
196 this.blocks_ = []; property
212 var blocks = this.blocks_;
231 this.blocks_ = [flat]; property

12