Lines Matching defs:NewBlock
3091 auto *NewBlock = new VPBasicBlock(getName());
3093 NewBlock->appendRecipe(R.clone());
3094 return NewBlock;
3132 auto *NewBlock = new VPIRBasicBlock(IRBB);
3134 NewBlock->appendRecipe(R.clone());
3135 return NewBlock;
3579 /// Insert disconnected VPBlockBase \p NewBlock after \p BlockPtr. Add \p
3580 /// NewBlock as successor of \p BlockPtr and \p BlockPtr as predecessor of \p
3581 /// NewBlock, and propagate \p BlockPtr parent to \p NewBlock. \p BlockPtr's
3582 /// successors are moved from \p BlockPtr to \p NewBlock. \p NewBlock must
3584 static void insertBlockAfter(VPBlockBase *NewBlock, VPBlockBase *BlockPtr) {
3585 assert(NewBlock->getSuccessors().empty() &&
3586 NewBlock->getPredecessors().empty() &&
3588 NewBlock->setParent(BlockPtr->getParent());
3592 connectBlocks(NewBlock, Succ);
3594 connectBlocks(BlockPtr, NewBlock);