Daniel Dunbar
38f4dd7b5e
Add fast path for raw_ostream output of strings.
...
- Particularly nice for small constant strings, which get optimized
down nicely. On a synthetic benchmark writing out "hello" in a
loop, this is about 2x faster with gcc and 3x faster with
llvm-gcc. llc on insn-attrtab.bc from 403.gcc is about .5% faster.
- I tried for a fancier solution which wouldn't increase code size as
much (by trying to match constant arrays), but can't quite make it
fly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68396 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-03 18:43:17 +00:00
..
2007-12-29 19:59:42 +00:00
2009-02-20 22:51:36 +00:00
2009-03-10 23:48:49 +00:00
2009-01-05 17:59:02 +00:00
2009-03-13 21:15:59 +00:00
2008-11-23 19:22:48 +00:00
2008-05-29 17:41:17 +00:00
2009-04-01 18:45:54 +00:00
2009-03-17 21:15:18 +00:00
2008-08-12 20:39:27 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2008-10-25 03:25:11 +00:00
2008-10-30 01:22:58 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2007-12-29 19:59:42 +00:00
2009-01-05 17:59:02 +00:00
2009-02-20 22:51:36 +00:00
2009-03-10 15:56:48 +00:00
2007-12-29 19:59:42 +00:00
2009-02-20 22:51:36 +00:00
2007-12-29 19:59:42 +00:00
2009-02-20 22:51:36 +00:00
2009-03-22 00:18:18 +00:00
2007-12-29 19:59:42 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2009-01-05 17:59:02 +00:00
2008-10-28 00:52:46 +00:00
2009-02-20 22:51:36 +00:00
2009-01-05 17:59:02 +00:00
2009-02-20 22:51:36 +00:00
2007-12-29 19:59:42 +00:00
2009-04-03 00:26:01 +00:00
2009-02-20 22:51:36 +00:00
2009-03-04 21:40:23 +00:00
2009-04-03 18:43:17 +00:00
2009-03-04 21:54:31 +00:00
2008-07-28 21:51:04 +00:00
2009-01-16 07:02:28 +00:00
2009-01-16 07:02:28 +00:00
2007-12-29 19:59:42 +00:00
2007-12-29 19:59:42 +00:00
2009-02-20 22:51:36 +00:00
2009-02-20 22:51:36 +00:00
2007-12-29 19:59:42 +00:00
2008-08-12 20:39:27 +00:00
2009-02-18 01:48:17 +00:00
2007-12-29 19:59:42 +00:00
2009-04-03 00:26:01 +00:00