summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-13 07:12:06 +0000
committerChris Lattner <sabre@nondot.org>2010-01-13 07:12:06 +0000
commit1126534dce16693b7ae04847e819c99830dc25a0 (patch)
treef7a587bc98f0c154f0e804d711713a30958e57d5 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent33535b32507a24a65085d4ab4681ac1b5823248e (diff)
downloadbcm5719-llvm-1126534dce16693b7ae04847e819c99830dc25a0.tar.gz
bcm5719-llvm-1126534dce16693b7ae04847e819c99830dc25a0.zip
add new isSingleStringRef()/getSingleStringRef() methods to twine,
and use them to avoid a copy of a string in getNameWithPrefix in the common case. It seems like Value::setName and other places should use this as well? llvm-svn: 93301
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud