Searched refs:OldPN (Results 1 – 4 of 4) sorted by relevance
2144 auto *OldPN = PhiWorklist.pop_back_val(); in optimizeBitCastFromPhi() local2145 for (Value *IncValue : OldPN->incoming_values()) { in optimizeBitCastFromPhi()2185 for (auto *OldPN : OldPhiNodes) { in optimizeBitCastFromPhi() local2186 Builder.SetInsertPoint(OldPN); in optimizeBitCastFromPhi()2187 PHINode *NewPN = Builder.CreatePHI(DestTy, OldPN->getNumOperands()); in optimizeBitCastFromPhi()2188 NewPNodes[OldPN] = NewPN; in optimizeBitCastFromPhi()2192 for (auto *OldPN : OldPhiNodes) { in optimizeBitCastFromPhi() local2193 PHINode *NewPN = NewPNodes[OldPN]; in optimizeBitCastFromPhi()2194 for (unsigned j = 0, e = OldPN->getNumOperands(); j != e; ++j) { in optimizeBitCastFromPhi()2195 Value *V = OldPN->getOperand(j); in optimizeBitCastFromPhi()[all …]
842 auto *OldPN = dyn_cast<PHINode>(&OldI); in cloneCommonBlocks() local843 if (!OldPN) in cloneCommonBlocks()845 UpdatePHIOnClonedBlock(OldPN, /*IsForOldBlock=*/true); in cloneCommonBlocks()
855 for (PHINode &OldPN : OldBlock->phis()) { in cloneCommonBlocks()856 UpdatePHIOnClonedBlock(&OldPN, /*IsForOldBlock=*/true); in cloneCommonBlocks()
1463 PHINode *OldPN = JointValueMap[InstPair]; in SinkThenElseCodeToEnd() local1472 if (!OldPN->use_empty()) in SinkThenElseCodeToEnd()1473 OldPN->replaceAllUsesWith(I1); in SinkThenElseCodeToEnd()1474 OldPN->eraseFromParent(); in SinkThenElseCodeToEnd()