Lines Matching refs:blocks_
51 block->SetBlockId(blocks_.size()); in AddBlock()
52 blocks_.push_back(block); in AddBlock()
63 &allocator, blocks_.size(), /* expandable= */ false, kArenaAllocGraphBuilder); in FindBackEdges()
66 ScopedArenaVector<size_t> successors_visited(blocks_.size(), in FindBackEdges()
146 for (size_t i = 0; i < blocks_.size(); ++i) { in RemoveInstructionsAsUsersFromDeadBlocks()
148 HBasicBlock* block = blocks_[i]; in RemoveInstructionsAsUsersFromDeadBlocks()
161 for (size_t i = 0; i < blocks_.size(); ++i) { in RemoveDeadBlocks()
163 HBasicBlock* block = blocks_[i]; in RemoveDeadBlocks()
171 blocks_[i] = nullptr; in RemoveDeadBlocks()
186 ArenaBitVector visited(&allocator, blocks_.size(), false, kArenaAllocGraphBuilder); in BuildDominatorTree()
269 reverse_post_order_.reserve(blocks_.size()); in ComputeDominanceInformation()
275 ScopedArenaVector<size_t> visits(blocks_.size(), 0u, allocator.Adapter(kArenaAllocGraphBuilder)); in ComputeDominanceInformation()
277 ScopedArenaVector<size_t> successors_visited(blocks_.size(), in ComputeDominanceInformation()
311 for (HBasicBlock* block : blocks_) { in ComputeDominanceInformation()
567 for (size_t block_id = 0u, end = blocks_.size(); block_id != end; ++block_id) { in SimplifyCFG()
568 HBasicBlock* block = blocks_[block_id]; in SimplifyCFG()
631 for (uint32_t idx : blocks_.Indexes()) { in Dump()
737 blocks_.SetBit(block->GetBlockId()); in Add()
741 blocks_.ClearBit(block->GetBlockId()); in Remove()
745 if (blocks_.IsBitSet(block->GetBlockId())) { in PopulateRecursive()
749 blocks_.SetBit(block->GetBlockId()); in PopulateRecursive()
782 if (blocks_.IsBitSet(pre_header->GetBlockId())) { in PopulateIrreducibleRecursive()
784 blocks_.SetBit(block_id); in PopulateIrreducibleRecursive()
798 if (!is_finalized && blocks_.IsBitSet(predecessor->GetBlockId())) { in PopulateIrreducibleRecursive()
800 blocks_.SetBit(block_id); in PopulateIrreducibleRecursive()
814 DCHECK_EQ(blocks_.NumSetBits(), 0u) << "Loop information has already been populated"; in Populate()
821 blocks_.SetBit(header_->GetBlockId()); in Populate()
873 blocks_.Union(&inner_loop->blocks_); in PopulateInnerLoopUpwards()
887 return blocks_.IsBitSet(block.GetBlockId()); in Contains()
891 return other.blocks_.IsBitSet(header_->GetBlockId()); in IsIn()
895 return !blocks_.IsBitSet(instruction->GetBlock()->GetBlockId()); in IsDefinedOutOfTheLoop()
2383 blocks_[block->GetBlockId()] = nullptr; in DeleteDeadEmptyBlock()