Lines Matching refs:blocks_

50   block->SetBlockId(blocks_.size());  in AddBlock()
51 blocks_.push_back(block); in AddBlock()
62 &allocator, blocks_.size(), /* expandable= */ false, kArenaAllocGraphBuilder); in FindBackEdges()
65 ScopedArenaVector<size_t> successors_visited(blocks_.size(), in FindBackEdges()
145 for (size_t i = 0; i < blocks_.size(); ++i) { in RemoveInstructionsAsUsersFromDeadBlocks()
147 HBasicBlock* block = blocks_[i]; in RemoveInstructionsAsUsersFromDeadBlocks()
160 for (size_t i = 0; i < blocks_.size(); ++i) { in RemoveDeadBlocks()
162 HBasicBlock* block = blocks_[i]; in RemoveDeadBlocks()
170 blocks_[i] = nullptr; in RemoveDeadBlocks()
185 ArenaBitVector visited(&allocator, blocks_.size(), false, kArenaAllocGraphBuilder); in BuildDominatorTree()
268 reverse_post_order_.reserve(blocks_.size()); in ComputeDominanceInformation()
274 ScopedArenaVector<size_t> visits(blocks_.size(), 0u, allocator.Adapter(kArenaAllocGraphBuilder)); in ComputeDominanceInformation()
276 ScopedArenaVector<size_t> successors_visited(blocks_.size(), in ComputeDominanceInformation()
310 for (HBasicBlock* block : blocks_) { in ComputeDominanceInformation()
566 for (size_t block_id = 0u, end = blocks_.size(); block_id != end; ++block_id) { in SimplifyCFG()
567 HBasicBlock* block = blocks_[block_id]; in SimplifyCFG()
630 for (uint32_t idx : blocks_.Indexes()) { in Dump()
736 blocks_.SetBit(block->GetBlockId()); in Add()
740 blocks_.ClearBit(block->GetBlockId()); in Remove()
744 if (blocks_.IsBitSet(block->GetBlockId())) { in PopulateRecursive()
748 blocks_.SetBit(block->GetBlockId()); in PopulateRecursive()
781 if (blocks_.IsBitSet(pre_header->GetBlockId())) { in PopulateIrreducibleRecursive()
783 blocks_.SetBit(block_id); in PopulateIrreducibleRecursive()
797 if (!is_finalized && blocks_.IsBitSet(predecessor->GetBlockId())) { in PopulateIrreducibleRecursive()
799 blocks_.SetBit(block_id); in PopulateIrreducibleRecursive()
813 DCHECK_EQ(blocks_.NumSetBits(), 0u) << "Loop information has already been populated"; in Populate()
820 blocks_.SetBit(header_->GetBlockId()); in Populate()
872 blocks_.Union(&inner_loop->blocks_); in PopulateInnerLoopUpwards()
886 return blocks_.IsBitSet(block.GetBlockId()); in Contains()
890 return other.blocks_.IsBitSet(header_->GetBlockId()); in IsIn()
894 return !blocks_.IsBitSet(instruction->GetBlock()->GetBlockId()); in IsDefinedOutOfTheLoop()
2383 blocks_[block->GetBlockId()] = nullptr; in DeleteDeadEmptyBlock()