Lines Matching refs:NewBlock
1755 /// Insert disconnected VPBlockBase \p NewBlock after \p BlockPtr. Add \p
1756 /// NewBlock as successor of \p BlockPtr and \p BlockPtr as predecessor of \p
1757 /// NewBlock, and propagate \p BlockPtr parent to \p NewBlock. If \p BlockPtr
1759 /// NewBlock. \p NewBlock must have neither successors nor predecessors.
1760 static void insertBlockAfter(VPBlockBase *NewBlock, VPBlockBase *BlockPtr) {
1761 assert(NewBlock->getSuccessors().empty() &&
1763 // TODO: move successors from BlockPtr to NewBlock when this functionality
1766 BlockPtr->setOneSuccessor(NewBlock);
1767 NewBlock->setPredecessors({BlockPtr});
1768 NewBlock->setParent(BlockPtr->getParent());