Home
last modified time | relevance | path

Searched refs:PNV (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp276 Value* PNV = 0; in removePredecessor() local
277 if (!DontDeleteUselessPHIs && (PNV = PN->hasConstantValue())) in removePredecessor()
278 if (PNV != PN) { in removePredecessor()
279 PN->replaceAllUsesWith(PNV); in removePredecessor()
/external/llvm/lib/IR/
DBasicBlock.cpp341 Value* PNV = nullptr; in removePredecessor() local
342 if (!DontDeleteUselessPHIs && (PNV = PN->hasConstantValue())) in removePredecessor()
343 if (PNV != PN) { in removePredecessor()
344 PN->replaceAllUsesWith(PNV); in removePredecessor()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp403 Value *PNV = SimplifyInstruction(PN, TD); in RemovePredecessorAndSimplify() local
404 if (PNV == 0) continue; in RemovePredecessorAndSimplify()
408 assert(PNV != PN && "SimplifyInstruction broken!"); in RemovePredecessorAndSimplify()
411 ReplaceAndSimplifyAllUses(PN, PNV, TD); in RemovePredecessorAndSimplify()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DTailRecursionElimination.cpp206 if (Value *PNV = SimplifyInstruction(PN)) { in runOnFunction() local
207 PN->replaceAllUsesWith(PNV); in runOnFunction()
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp785 if (Value *PNV = SimplifyInstruction(PN, F.getParent()->getDataLayout())) { in eliminateTailRecursion() local
786 PN->replaceAllUsesWith(PNV); in eliminateTailRecursion()