Lines Matching refs:blocks_
102 const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } in entry()
105 BasicBlock* tail() { return blocks_.back().get(); } in tail()
106 const BasicBlock* tail() const { return blocks_.back().get(); } in tail()
108 iterator begin() { return iterator(&blocks_, blocks_.begin()); } in begin()
109 iterator end() { return iterator(&blocks_, blocks_.end()); } in end()
113 return const_iterator(&blocks_, blocks_.cbegin()); in cbegin()
116 return const_iterator(&blocks_, blocks_.cend()); in cend()
204 std::vector<std::unique_ptr<BasicBlock>> blocks_; variable
238 blocks_.insert(ip.Get(), std::make_move_iterator(src_begin), in AddBasicBlocks()
244 blocks_.erase(std::find(std::begin(blocks_), std::end(blocks_), nullptr)); in MoveBasicBlockToAfter()
254 std::remove_if(std::begin(blocks_), std::end(blocks_), in RemoveEmptyBlocks()
258 blocks_.erase(first_empty, std::end(blocks_)); in RemoveEmptyBlocks()
286 std::for_each(blocks_.begin(), blocks_.end(), in ReorderBasicBlocks()
288 std::transform(begin, end, blocks_.begin(), [](BasicBlock* bb) { in ReorderBasicBlocks()
296 if (range.size() != blocks_.size()) { in ContainsAllBlocksInTheFunction()
300 for (auto& bb : blocks_) { in ContainsAllBlocksInTheFunction()