Searched refs:new_block (Results 1 – 2 of 2) sorted by relevance
57 void AddBasicBlockAfter(BasicBlock *cur_block, BasicBlock *new_block) in AddBasicBlockAfter() argument61 rpo_vector_.insert(it + 1, new_block); in AddBasicBlockAfter()64 void AddBasicBlockBefore(BasicBlock *cur_block, BasicBlock *new_block) in AddBasicBlockBefore() argument68 rpo_vector_.insert(it, new_block); in AddBasicBlockBefore()
68 void ReplaceBackEdge(BasicBlock *block, BasicBlock *new_block) in ReplaceBackEdge() argument70 ASSERT(block != new_block); in ReplaceBackEdge()71 ASSERT(std::find(back_edges_.begin(), back_edges_.end(), new_block) == back_edges_.end()); in ReplaceBackEdge()75 back_edges_[std::distance(back_edges_.begin(), it)] = new_block; in ReplaceBackEdge()