Pete Cooper a8db71e840 Add a version of Intrinsic::getName which is more efficient when there are no overloads.
When running 'opt -O2 verify-uselistorder-nodbg.lto.bc', there are 33m allocations.  8.2m
come from std::string allocations in Intrinsic::getName().  Turns out this method only
returns a std::string because it needs to handle overloads, but that is not the common case.

This adds an overload of getName which just returns a StringRef when there are no overloads
and so saves on the allocations.

llvm-svn: 279113
2016-08-18 18:30:54 +00:00
..
2016-05-19 21:07:12 +00:00
2016-05-11 16:38:40 +00:00
2016-04-18 09:17:29 +00:00
2016-06-19 17:20:27 +00:00
2016-04-18 09:17:29 +00:00
2016-05-11 16:38:40 +00:00
2016-01-14 21:06:47 +00:00
2016-04-22 22:24:20 +00:00
2016-06-02 20:37:52 +00:00