Searched refs:DestPN (Results 1 – 2 of 2) sorted by relevance
4036 PHINode *DestPN = cast<PHINode>(I); in removeEmptyCleanup() local4038 int Idx = DestPN->getBasicBlockIndex(BB); in removeEmptyCleanup()4052 Value *SrcVal = DestPN->getIncomingValue(Idx); in removeEmptyCleanup()4056 DestPN->removeIncomingValue(Idx, false); in removeEmptyCleanup()4064 DestPN->addIncoming(SrcPN->getIncomingValue(SrcIdx), in removeEmptyCleanup()4072 DestPN->addIncoming(SrcVal, pred); in removeEmptyCleanup()
736 if (llvm::all_of(DestBB->phis(), [&](const PHINode &DestPN) { in isMergingEmptyBlockProfitable() argument737 return DestPN.getIncomingValueForBlock(BB) == in isMergingEmptyBlockProfitable()738 DestPN.getIncomingValueForBlock(DestBBPred); in isMergingEmptyBlockProfitable()