IR: Make MDString::getName() private
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 13 Nov 2014 23:59:16 +0000 (23:59 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 13 Nov 2014 23:59:16 +0000 (23:59 +0000)
commitf4742f4c8437e24cb6f9486e2f1685d1513180e9
tree31519b160f0ab292f64dc9f87d50a01bbfee9a95
parent53c7d53c503e054c4e843d0647aadd5d6a848d1a
IR: Make MDString::getName() private

Hide the fact that `MDString`'s string is stored in `Value::Name` --
that's going to change soon.  Update the only in-tree client that was
using it instead of `Value::getString()`.

Part of PR21532.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221951 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h
lib/Transforms/Vectorize/LoopVectorize.cpp