Searched refs:PNV (Results 1 – 5 of 5) sorted by relevance
276 Value* PNV = 0; in removePredecessor() local277 if (!DontDeleteUselessPHIs && (PNV = PN->hasConstantValue())) in removePredecessor()278 if (PNV != PN) { in removePredecessor()279 PN->replaceAllUsesWith(PNV); in removePredecessor()
341 Value* PNV = nullptr; in removePredecessor() local342 if (!DontDeleteUselessPHIs && (PNV = PN->hasConstantValue())) in removePredecessor()343 if (PNV != PN) { in removePredecessor()344 PN->replaceAllUsesWith(PNV); in removePredecessor()
403 Value *PNV = SimplifyInstruction(PN, TD); in RemovePredecessorAndSimplify() local404 if (PNV == 0) continue; in RemovePredecessorAndSimplify()408 assert(PNV != PN && "SimplifyInstruction broken!"); in RemovePredecessorAndSimplify()411 ReplaceAndSimplifyAllUses(PN, PNV, TD); in RemovePredecessorAndSimplify()
206 if (Value *PNV = SimplifyInstruction(PN)) { in runOnFunction() local207 PN->replaceAllUsesWith(PNV); in runOnFunction()
785 if (Value *PNV = SimplifyInstruction(PN, F.getParent()->getDataLayout())) { in eliminateTailRecursion() local786 PN->replaceAllUsesWith(PNV); in eliminateTailRecursion()