Searched refs:DestPN (Results 1 – 3 of 3) sorted by relevance
3531 PHINode *DestPN = cast<PHINode>(I); in removeEmptyCleanup() local3533 int Idx = DestPN->getBasicBlockIndex(BB); in removeEmptyCleanup()3547 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup()3551 DestPN->removeIncomingValue(Idx, false); in removeEmptyCleanup()3559 DestPN->addIncoming(SrcPN->getIncomingValue(SrcIdx), in removeEmptyCleanup()3567 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
3925 PHINode *DestPN = cast<PHINode>(I); in removeEmptyCleanup() local3927 int Idx = DestPN->getBasicBlockIndex(BB); in removeEmptyCleanup()3941 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup()3945 DestPN->removeIncomingValue(Idx, false); in removeEmptyCleanup()3953 DestPN->addIncoming(SrcPN->getIncomingValue(SrcIdx), in removeEmptyCleanup()3961 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
681 if (llvm::all_of(DestBB->phis(), [&](const PHINode &DestPN) { in isMergingEmptyBlockProfitable() argument682 return DestPN.getIncomingValueForBlock(BB) == in isMergingEmptyBlockProfitable()683 DestPN.getIncomingValueForBlock(DestBBPred); in isMergingEmptyBlockProfitable()