uselistorder: Pull the bit through WriteToBitcodFile()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 15 Apr 2015 00:10:50 +0000 (00:10 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 15 Apr 2015 00:10:50 +0000 (00:10 +0000)
commit657aad675aaa9a9283809d4e7d357099ead3316a
treef50fdefe3b7aa8fd5f076f61f6dda0eb8395b24e
parentd01ee74ffad023328d7fc04c24238605e1935270
uselistorder: Pull the bit through WriteToBitcodFile()

Change the callers of `WriteToBitcodeFile()` to pass `true` or
`shouldPreserveBitcodeUseListOrder()` explicitly.  I left the callers
that want to send `false` alone.

I'll keep pushing the bit higher until hopefully I can delete the global
`cl::opt` entirely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234957 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/ReaderWriter.h
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/Bitcode/Writer/BitcodeWriterPass.cpp
lib/LTO/LTOCodeGenerator.cpp
tools/bugpoint/OptimizerDriver.cpp
tools/gold/gold-plugin.cpp
tools/llvm-as/llvm-as.cpp
tools/llvm-link/llvm-link.cpp
tools/verify-uselistorder/verify-uselistorder.cpp