verify-uselistorder: Move shuffleUseLists() out of lib/IR
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 23:03:36 +0000 (23:03 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 1 Aug 2014 23:03:36 +0000 (23:03 +0000)
commit3da117d272079f9dd1937856df3fcd1698803c98
tree75954198c5e87f06b0268568ea3fbb91b8d556ca
parentd13dba42f629f9165ec6aa89e8094259429a134a
verify-uselistorder: Move shuffleUseLists() out of lib/IR

`shuffleUseLists()` is only used in `verify-uselistorder`, so move it
there to avoid bloating other executables.  As a drive-by, update some
of the header docs.

This is part of PR5680.

llvm-svn: 214592
llvm/include/llvm/IR/UseListOrder.h
llvm/lib/IR/UseListOrder.cpp
llvm/tools/verify-uselistorder/verify-uselistorder.cpp