| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
faster by not requiring a flush().
llvm-svn: 60560
|
|
|
|
|
|
| |
current location in the file the stream is writing to.
llvm-svn: 60085
|
|
|
|
|
|
| |
Document raw_fd_ostream's treatment of "-".
llvm-svn: 59219
|
|
|
|
|
|
| |
Thanks to Török Edwin for the awesome reduced testcase.
llvm-svn: 58199
|
|
|
|
| |
llvm-svn: 58052
|
|
|
|
|
|
|
|
| |
documentation.
Add C++ header marker.
llvm-svn: 57923
|
|
|
|
|
|
| |
Adding one include file and correct one declaration from class to struct in order to make llvm compile on VC2005.
llvm-svn: 55279
|
|
|
|
|
|
| |
SmallVector/SmallString.
llvm-svn: 55265
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use raw_ostream instead of std::ostream. Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).
Other interesting changes:
1) This makes Value::print be non-virtual.
2) AP[S]Int and ConstantRange can no longer print to ostream directly,
use raw_ostream instead.
3) This fixes a bug in raw_os_ostream where it didn't flush itself
when destroyed.
4) This adds a new SDNode::print method, instead of only allowing "dump".
A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream
versions.
This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.
llvm-svn: 55263
|
|
|
|
| |
llvm-svn: 55252
|
|
|
|
|
|
|
|
| |
all the power and risk of fprintf format strings. Use them like this:
OS << format("%10.4f", 42.0) << "\n" << format("%x", 42) << '\n';
llvm-svn: 55246
|
|
|
|
|
|
| |
Patch contributed by Bjorn Reese!
llvm-svn: 55179
|
|
|
|
|
|
|
|
| |
broke various ObjC testcases
with very long symbol names.
llvm-svn: 55148
|
|
|
|
| |
llvm-svn: 55138
|
|
|
|
| |
llvm-svn: 55092
|
|
|
|
| |
llvm-svn: 54879
|
|
|
|
|
|
|
| |
a simple adaptor class to give raw output capabilities to
something that wants to write to an ostream.
llvm-svn: 54865
|
|
|
|
| |
llvm-svn: 54863
|
|
|
|
| |
llvm-svn: 54857
|
|
can *only* output data (no seeking, reading, etc). This is adapted from the
clang "-E outputter", and is roughly 10% faster than stdio on darwin and 30%
(or more) faster than std::ostream.
llvm-svn: 54855
|