summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-05-05 18:59:30 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-05-05 18:59:30 +0000
commite3b1d82b5302102c17ea465ca609cde2a49da314 (patch)
tree3bdbf877cf939a560ed3b6891f3826bd38f0d159 /clang/lib
parent7ad5d14f3a2c916277e25737de9ff3f605131d1a (diff)
downloadbcm5719-llvm-e3b1d82b5302102c17ea465ca609cde2a49da314.tar.gz
bcm5719-llvm-e3b1d82b5302102c17ea465ca609cde2a49da314.zip
[NFC] PHINode: introduce replaceIncomingBlockWith() function, use it
Summary: There is `PHINode::getBasicBlockIndex()`, `PHINode::setIncomingBlock()` and `PHINode::getNumOperands()`, but no function to replace every specified `BasicBlock*` predecessor with some other specified `BasicBlock*`. Clearly, there are a lot of places that could use that functionality. Reviewers: chandlerc, craig.topper, spatel, danielcdh Reviewed By: craig.topper Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61011 llvm-svn: 359995
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud