llvm.org GIT mirror llvm / 613bf1e
Comment-ify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80009 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 11 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
360360 return newFunction;
361361 }
362362
363 /// FindPhiPredForUseInBlock - Given a value and a basic block, find a PHI
364 /// that uses the value within the basic block, and return the predecessor
365 /// block associated with that use, or return 0 if none is found.
363366 static BasicBlock* FindPhiPredForUseInBlock(Value* Used, BasicBlock* BB) {
364367 for (Value::use_iterator UI = Used->use_begin(),
365368 UE = Used->use_end(); UI != UE; ++UI) {