significantly speed up constant folding of calls (and thus all clients that use
authorChris Lattner <sabre@nondot.org>
Wed, 8 Aug 2007 06:55:43 +0000 (06:55 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Aug 2007 06:55:43 +0000 (06:55 +0000)
commitc5f6a1f9d61d74017d90e149728cb3d283e0a0e0
tree465b704b7e8f7c28b8563f6982c080814edff2b2
parentde0e42d3c07466677dab4b3bbc379302e383083b
significantly speed up constant folding of calls (and thus all clients that use
ConstantFoldInstruction on calls) by avoiding Value::getName().  getName() constructs
and returns an std::string, which does heap allocation stuff.  This slightly speeds up
instcombine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp