Lines Matching defs:Successor
414 /// Add \p Successor as the last successor to this block.
415 void appendSuccessor(VPBlockBase *Successor) {
416 assert(Successor && "Cannot add nullptr successor!");
417 Successors.push_back(Successor);
433 /// Remove \p Successor from the successors of this block.
434 void removeSuccessor(VPBlockBase *Successor) {
435 auto Pos = find(Successors, Successor);
436 assert(Pos && "Successor does not exist");
576 /// Set a given VPBlockBase \p Successor as the single successor of this
577 /// VPBlockBase. This VPBlockBase is not added as predecessor of \p Successor.
579 void setOneSuccessor(VPBlockBase *Successor) {
581 assert(Successor->getParent() == getParent() &&
583 appendSuccessor(Successor);