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)
commit3441ffe98dc12bad0b779c292a55670d70c277d7
tree31544a1bb2b450af9245ef852a8a0464fb5577ad
parente52646cd802fa38471bfed3740ab3377d9da0687
IR: Add Value::reverseUseList()

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

llvm-svn: 214594
llvm/include/llvm/IR/Value.h
llvm/lib/IR/Value.cpp
llvm/unittests/IR/UseTest.cpp