IR: Add Value::reverseUseList()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 23:28:49 +0000 (23:28 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 23:28:49 +0000 (23:28 +0000)
commit99a43c2c4251ca4f67058695a165353588131791
tree7985136ed71e81e81cb1404e0cf532ded384a8bb
parentf425efdbc290cc8af63c2a620699bf13c5df6e57
IR: Add Value::reverseUseList()

I'm going to use this to improve `verify-uselistorder`.  Part of PR5680.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214594 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Value.h
lib/IR/Value.cpp
unittests/IR/UseTest.cpp