| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Kill off more cerr/cout uses and prune includes a bit. | Benjamin Kramer | 2009-08-23 | 1 | -1/+0 | |
| | | | | | llvm-svn: 79852 | |||||
| * | Remove uses of Streams.h from CommandLine.cpp, fix some whitespace and other ↵ | Benjamin Kramer | 2009-08-23 | 1 | -39/+36 | |
| | | | | | | | minor tweaks. llvm-svn: 79847 | |||||
| * | Fix windows build. | Benjamin Kramer | 2009-08-23 | 1 | -1/+1 | |
| | | | | | llvm-svn: 79845 | |||||
| * | Fix some refactos for iostream changes (in -Asserts mode). | Daniel Dunbar | 2009-08-23 | 1 | -5/+5 | |
| | | | | | | | - The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843 | |||||
| * | remove some uses of llvm/Support/Streams.h | Chris Lattner | 2009-08-23 | 5 | -110/+88 | |
| | | | | | llvm-svn: 79842 | |||||
| * | convert LoopInfo.h and GraphWriter.h to use raw_ostream | Chris Lattner | 2009-08-23 | 1 | -16/+47 | |
| | | | | | llvm-svn: 79836 | |||||
| * | eliminate DOUT and make Debug.h not include Streams.h anymore, woo! | Chris Lattner | 2009-08-23 | 1 | -40/+18 | |
| | | | | | llvm-svn: 79835 | |||||
| * | Change Pass::print to take a raw ostream instead of std::ostream, | Chris Lattner | 2009-08-23 | 1 | -6/+1 | |
| | | | | | | | update all code that this affects. llvm-svn: 79830 | |||||
| * | Change raw_fd_ostream to take flags as an optional bitmask | Chris Lattner | 2009-08-23 | 1 | -14/+24 | |
| | | | | | | | | | | | | | | | | | instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). llvm-svn: 79807 | |||||
| * | switch formattedstream to use raw_ostream::indent. This eliminates | Chris Lattner | 2009-08-22 | 1 | -10/+1 | |
| | | | | | | | the weird MAX_COLUMN_PAD limitation. llvm-svn: 79785 | |||||
| * | add a raw_ostream::indent method, to be used like: | Chris Lattner | 2009-08-22 | 1 | -0/+17 | |
| | | | | | | | | | OS.indent(i) << "whatever"; people seem to like indenting things ;-) llvm-svn: 79784 | |||||
| * | Fix typo. | Anton Korobeynikov | 2009-08-21 | 1 | -1/+1 | |
| | | | | | llvm-svn: 79688 | |||||
| * | Implement APInt <-> APFloat conversion for IEEE 128-bit floats. | Anton Korobeynikov | 2009-08-21 | 1 | -3/+83 | |
| | | | | | | | This fixes PR2555 llvm-svn: 79677 | |||||
| * | Clean up the APInt function getDigit. | Erick Tryzelaar | 2009-08-21 | 1 | -21/+19 | |
| | | | | | llvm-svn: 79602 | |||||
| * | Update error messages for '+'. Fix grammar and make the two | Eric Christopher | 2009-08-21 | 1 | -4/+5 | |
| | | | | | | | negative checks resemble each other. llvm-svn: 79595 | |||||
| * | Fix trailing whitespace and 80-col violation. | Eric Christopher | 2009-08-21 | 1 | -120/+121 | |
| | | | | | llvm-svn: 79594 | |||||
| * | Fix bug with APInt::getBitsNeeded with for base 10 numbers 0-9. | Erick Tryzelaar | 2009-08-21 | 1 | -30/+42 | |
| | | | | | llvm-svn: 79593 | |||||
| * | Allow '+' to appear in APInt strings, and add more unit tests. | Erick Tryzelaar | 2009-08-21 | 1 | -6/+11 | |
| | | | | | llvm-svn: 79592 | |||||
| * | Add support for including '+' in APFloat strings, more asserts, | Erick Tryzelaar | 2009-08-20 | 1 | -28/+34 | |
| | | | | | | | and many new unit tests. llvm-svn: 79574 | |||||
| * | Add a comment explaining why llvm_unreachable_internal doesn't call | Dan Gohman | 2009-08-20 | 1 | -0/+3 | |
| | | | | | | | the ErrorHandler callback. llvm-svn: 79541 | |||||
| * | Fix two APFloat bugs in converting hexadecimal constants. | Daniel Dunbar | 2009-08-20 | 1 | -2/+2 | |
| | | | | | llvm-svn: 79540 | |||||
| * | Add triple parsing support for TCE. | Eli Friedman | 2009-08-19 | 1 | -0/+5 | |
| | | | | | llvm-svn: 79461 | |||||
| * | Switch to SmallString::str from SmallString::c_str, and remove | Daniel Dunbar | 2009-08-19 | 2 | -5/+6 | |
| | | | | | | | SmallString::c_str. llvm-svn: 79456 | |||||
| * | Change raw_svector_ostream to reserve the input buffer if necessary, Ted was | Daniel Dunbar | 2009-08-19 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | right. - This class turns out to be much more convenient to use if we do this; clients can make sure the buffer is always big enough if they care (since our current idiom tends to be to use a SmallString<256> for the input to this we should generally be avoiding an unnecessary malloc). Also, add a convenience raw_svector_ostream::str method which flushes the buffer and returns a StringRef for the vector contents. llvm-svn: 79446 | |||||
| * | Switch Twine::str() to use toVector(), which is now efficient. | Daniel Dunbar | 2009-08-19 | 1 | -14/+4 | |
| | | | | | llvm-svn: 79437 | |||||
| * | Switch raw_svector_ostream to use the vector as the ostream buffer. | Daniel Dunbar | 2009-08-19 | 1 | -1/+29 | |
| | | | | | | | | - This avoids unnecessary malloc/free overhead in the common case, and unnecessary copying from the ostream buffer into the output vector. llvm-svn: 79434 | |||||
| * | Speculatively revert r79375, which may be breaking bootstrap, although in a | Daniel Dunbar | 2009-08-19 | 1 | -15/+10 | |
| | | | | | | | rather obscure way (the other candidate is r79377). llvm-svn: 79426 | |||||
| * | raw_ostream: Simplify write(unsigned char) to match write(const char*, ↵ | Daniel Dunbar | 2009-08-19 | 1 | -18/+8 | |
| | | | | | | | unsigned). llvm-svn: 79386 | |||||
| * | raw_ostream: Remove pointless redefinitions of tell(). | Daniel Dunbar | 2009-08-19 | 1 | -8/+0 | |
| | | | | | | | - The base class implementation is correct. llvm-svn: 79385 | |||||
| * | raw_ostream: Add the capability for subclasses to manually install an external | Daniel Dunbar | 2009-08-18 | 1 | -21/+23 | |
| | | | | | | | buffer. llvm-svn: 79382 | |||||
| * | raw_ostream: Reduce FormattedStream's reliance on raw_ostream's implementation. | Daniel Dunbar | 2009-08-18 | 1 | -21/+18 | |
| | | | | | | | | | | | | | | | - Kill off begin(), end(), and iterator. It isn't clear what these mean. Instead provide getBufferStart(), which can be used with GetNumBytesInBuffer to the same effect. - Update ComputeColumn to take arguments for the buffer to scan, this simplifies the implementation of write_impl substantially. - This should also fix possible problems with the scanning pointer pointing outside of the current raw_ostream buffer. llvm-svn: 79379 | |||||
| * | Speed up raw_ostream::<<(unsigned long long) for 32-bit systems by doing most | Daniel Dunbar | 2009-08-18 | 1 | -10/+15 | |
| | | | | | | | div/mods in 32-bits. llvm-svn: 79375 | |||||
| * | Fix a bug in raw_ostream::write(char) introduced by the change to | Dan Gohman | 2009-08-18 | 1 | -3/+10 | |
| | | | | | | | | | | allow underlying stream classes to decline buffering. After calling SetBuffered(), re-check whether the stream is Unbuffered in order to handle the case where the underlying stream has declined buffering. llvm-svn: 79362 | |||||
| * | Revert r78924, disabling buffering defeats all the fast paths in raw_ostream. | Daniel Dunbar | 2009-08-18 | 1 | -0/+12 | |
| | | | | | llvm-svn: 79361 | |||||
| * | Improve Triple to recognize the OS in i386-mingw32. | Daniel Dunbar | 2009-08-18 | 1 | -2/+19 | |
| | | | | | llvm-svn: 79359 | |||||
| * | Fix an uninitialized value warning in APFloat. | Erick Tryzelaar | 2009-08-18 | 1 | -2/+1 | |
| | | | | | llvm-svn: 79353 | |||||
| * | Fix Triple to recognize the 'bfin' arch. | Daniel Dunbar | 2009-08-18 | 1 | -0/+2 | |
| | | | | | llvm-svn: 79325 | |||||
| * | Recognize xscale as an ARM arch. | Daniel Dunbar | 2009-08-18 | 1 | -1/+2 | |
| | | | | | | | - Patch by Yonggang Luo. llvm-svn: 79315 | |||||
| * | Add Triple matching for pic16 arch and solaris OS. | Daniel Dunbar | 2009-08-18 | 1 | -2/+8 | |
| | | | | | | | - Patch by Yonggang Luo. llvm-svn: 79314 | |||||
| * | the MinPad argument to PadToColumn only really makes sense to be 1, | Chris Lattner | 2009-08-17 | 1 | -4/+3 | |
| | | | | | | | just remove the argument and replace it with 1. llvm-svn: 79246 | |||||
| * | Modify APFloat to take a StringRef instead of a c string. | Erick Tryzelaar | 2009-08-16 | 1 | -63/+106 | |
| | | | | | | | | This also adds unit tests to APFloat that mainly tests the string handling of APFloat, but not much else of it's api. llvm-svn: 79210 | |||||
| * | Mingw also doesn't have st_blksize. | Dan Gohman | 2009-08-15 | 1 | -1/+1 | |
| | | | | | llvm-svn: 79142 | |||||
| * | Always check to see if raw_fd_ostream's file descriptor is attached to | Dan Gohman | 2009-08-15 | 1 | -13/+16 | |
| | | | | | | | a terminal, not just when it's STDOUT_FILENO. llvm-svn: 79066 | |||||
| * | Add support for column computation on unbuffered streams. | Dan Gohman | 2009-08-15 | 1 | -15/+38 | |
| | | | | | llvm-svn: 79065 | |||||
| * | Move FormattedStream's write_impl out of line. | Dan Gohman | 2009-08-15 | 1 | -0/+6 | |
| | | | | | llvm-svn: 79064 | |||||
| * | Remove an unnecessary #include. | Dan Gohman | 2009-08-15 | 1 | -1/+0 | |
| | | | | | llvm-svn: 79063 | |||||
| * | fix "pc" to be lower case in a target triple, patch by Yonggang Luo | Chris Lattner | 2009-08-14 | 1 | -1/+1 | |
| | | | | | llvm-svn: 79016 | |||||
| * | When standard output is a terminal, set outs() to be unbuffered, to | Dan Gohman | 2009-08-13 | 1 | -1/+11 | |
| | | | | | | | | | mimic the behavior of stdtout, which is line-buffered when the output is a terminal. This fixes some issues with bugpoint output appearing being printed out of order. llvm-svn: 78953 | |||||
| * | Fix a compiler warning about comparing signed with unsigned. | Dan Gohman | 2009-08-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 78933 | |||||
| * | Add an assert to check copy_to_buffer's precondition. | Dan Gohman | 2009-08-13 | 1 | -0/+2 | |
| | | | | | llvm-svn: 78926 | |||||

