Searched refs:SuccPN (Results 1 – 2 of 2) sorted by relevance
862 auto *SuccPN = dyn_cast<PHINode>(&SuccI); in cloneCommonBlocks() local863 if (!SuccPN) in cloneCommonBlocks()868 int OldBlockIdx = SuccPN->getBasicBlockIndex(OldBlock); in cloneCommonBlocks()871 Value *IV = SuccPN->getIncomingValue(OldBlockIdx); in cloneCommonBlocks()880 SuccPN->addIncoming(IV, NewBlock); in cloneCommonBlocks()
869 for (PHINode &SuccPN : SuccBB->phis()) { in cloneCommonBlocks()872 int OldBlockIdx = SuccPN.getBasicBlockIndex(OldBlock); in cloneCommonBlocks()875 Value *IV = SuccPN.getIncomingValue(OldBlockIdx); in cloneCommonBlocks()884 SuccPN.addIncoming(IV, NewBlock); in cloneCommonBlocks()