Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Micro-optimize these functions in the case where they are not inlined. | Dan Gohman | 2009-12-14 | 1 | -2/+1 | |
| | | | | llvm-svn: 91316 | |||||
* | DeltaAlgorithm: Add a virtual destructor and home. | Daniel Dunbar | 2009-12-09 | 1 | -0/+3 | |
| | | | | llvm-svn: 90957 | |||||
* | Fix typo and add missing include. | Daniel Dunbar | 2009-12-04 | 1 | -1/+2 | |
| | | | | llvm-svn: 90557 | |||||
* | Print a newline after the Args: line so that unrelated errs() output doesn't | Dan Gohman | 2009-12-03 | 1 | -1/+2 | |
| | | | | | | end up on the same line. llvm-svn: 90473 | |||||
* | Add an implementation of the delta debugging algorithm. | Daniel Dunbar | 2009-12-03 | 2 | -0/+111 | |
| | | | | | | | - This is a pretty slow / memory intensive implementation, and I will likely change it to an iterative model, but it works. llvm-svn: 90447 | |||||
* | return more useful error messages by using strerror to format errno | Chris Lattner | 2009-12-01 | 1 | -3/+3 | |
| | | | | | | instead of returning an ambiguous reason. llvm-svn: 90275 | |||||
* | Perform explicit instantiations in the proper namespace, since Clang ↵ | Douglas Gregor | 2009-11-25 | 1 | -0/+2 | |
| | | | | | | diagnoses this ill-formity. llvm-svn: 89846 | |||||
* | SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the ↵ | Daniel Dunbar | 2009-11-22 | 1 | -16/+19 | |
| | | | | | | source line output. llvm-svn: 89627 | |||||
* | Move the handling of CommaSeparated options into ProvideOption. | Mikhail Glushenkov | 2009-11-20 | 1 | -23/+33 | |
| | | | | | | | | Makes '--comma-separated val1,val2' mean the same thing as '--comma-separated=val1,val2' (that is, 'val1' and 'val2' are not lumped together as 'val1,val2'). Also declutters the main loop a bit. llvm-svn: 89463 | |||||
* | Use StringRef::min instead of std::min. | Daniel Dunbar | 2009-11-19 | 1 | -5/+5 | |
| | | | | llvm-svn: 89372 | |||||
* | Trailing whitespace. | Mikhail Glushenkov | 2009-11-19 | 1 | -25/+25 | |
| | | | | llvm-svn: 89364 | |||||
* | Add PS3 Triple class, Credit to John Thompson. | Edward O'Callaghan | 2009-11-19 | 1 | -1/+4 | |
| | | | | llvm-svn: 89339 | |||||
* | Added getArchNameForAssembler method to the Triple class for which returns ↵ | Viktor Kutuzov | 2009-11-17 | 1 | -0/+27 | |
| | | | | | | OS and Vendor independent target assembler arch. llvm-svn: 89122 | |||||
* | Revert CPU detection code to return "generic" instead of an empty string in case | Benjamin Kramer | 2009-11-17 | 1 | -1/+1 | |
| | | | | | | | of failure. The x86 target didn't like empty cpu names and broke x86 tests on non-x86 buildbots. llvm-svn: 89111 | |||||
* | Fix a race condition in the Timer class. | Owen Anderson | 2009-11-17 | 1 | -38/+5 | |
| | | | | llvm-svn: 89056 | |||||
* | Add PSP OS Target to Triple, Credit to Bruno Cardoso Lopes. | Edward O'Callaghan | 2009-11-15 | 1 | -0/+3 | |
| | | | | llvm-svn: 88849 | |||||
* | Report the detected host CPU in --version. | Daniel Dunbar | 2009-11-14 | 1 | -0/+3 | |
| | | | | llvm-svn: 88813 | |||||
* | Distinguish "a," from "a". The first one splits into "a" + "" and the second ↵ | Rafael Espindola | 2009-11-13 | 1 | -3/+5 | |
| | | | | | | | | one into "a" + 0. llvm-svn: 87084 | |||||
* | Switch to smallvector. Also fix issue with using unsigend for MaxSplit. | Rafael Espindola | 2009-11-13 | 1 | -3/+4 | |
| | | | | llvm-svn: 87068 | |||||
* | Add a new split method to StringRef that puts the substrings in a vector. | Rafael Espindola | 2009-11-13 | 1 | -0/+19 | |
| | | | | llvm-svn: 87058 | |||||
* | Add compare_lower and equals_lower methods to StringRef. Switch all users of | Benjamin Kramer | 2009-11-12 | 1 | -0/+20 | |
| | | | | | | StringsEqualNoCase (from StringExtras.h) to it. llvm-svn: 87020 | |||||
* | fix crash in my previous patch | Nuno Lopes | 2009-11-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 86987 | |||||
* | implement shl, ashr, and lshr methods. shl is not fully implemented as it is ↵ | Nuno Lopes | 2009-11-12 | 1 | -0/+37 | |
| | | | | | | quite tricky. llvm-svn: 86986 | |||||
* | Show command-line args and features passed into backend in debug output. ↵ | Sandeep Patel | 2009-11-11 | 1 | -0/+6 | |
| | | | | | | Approved by Evan Cheng. llvm-svn: 86797 | |||||
* | Add From arguments to StringRef search functions, and tweak doxyments. | Daniel Dunbar | 2009-11-11 | 1 | -9/+24 | |
| | | | | | | Also, add unittests for find_first_of and find_first_not_of. llvm-svn: 86770 | |||||
* | Fix MemoryBuffer::getSTDIN to *not* return null if stdin is empty, this is a ↵ | Daniel Dunbar | 2009-11-10 | 1 | -16/+14 | |
| | | | | | | | | lame API. Also, Stringrefify some more MemoryBuffer functions, and add two performance FIXMEs. llvm-svn: 86630 | |||||
* | add zextOrTrunc and sextOrTrunc methods, that are similar to the ones in APInt | Nuno Lopes | 2009-11-09 | 1 | -0/+24 | |
| | | | | llvm-svn: 86549 | |||||
* | Make lib/Support/Debug.cpp SetCurrentDebugType implementation part of llvm ↵ | Xerxes Ranby | 2009-11-09 | 1 | -1/+1 | |
| | | | | | | namespace to match function declaration in Debug.h. llvm-svn: 86544 | |||||
* | Trailing whitespace. | Mikhail Glushenkov | 2009-11-07 | 1 | -7/+7 | |
| | | | | llvm-svn: 86347 | |||||
* | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 3 | -14/+14 | |
| | | | | llvm-svn: 86251 | |||||
* | A value is only assigned to errno if NumRead equals -1, so do | Duncan Sands | 2009-11-04 | 1 | -1/+1 | |
| | | | | | | not reason based on errno if NumRead has a different value. llvm-svn: 86046 | |||||
* | Make this code more robust by not thinking we are making progress | Duncan Sands | 2009-11-03 | 1 | -1/+1 | |
| | | | | | | if zero bytes were read. llvm-svn: 85922 | |||||
* | add a new 'SetCurrentDebugType' API (requested by Andrew Haley for JIT | Chris Lattner | 2009-10-28 | 1 | -0/+11 | |
| | | | | | | | stuff) to programmatically control the current debug flavor. While I'm at it, doxygenate Debug.h and clean it up. llvm-svn: 85395 | |||||
* | Remove getIEEEFloatParts and getIEEEDoubleParts. They are not needed. | Evan Cheng | 2009-10-28 | 1 | -50/+0 | |
| | | | | llvm-svn: 85358 | |||||
* | Add new APFloat methods that return sign, exp, and mantissa of ieee float ↵ | Evan Cheng | 2009-10-27 | 1 | -12/+62 | |
| | | | | | | and double values. llvm-svn: 85318 | |||||
* | Move DataTypes.h to include/llvm/System, update all users. This breaks the last | Chandler Carruth | 2009-10-26 | 1 | -1/+1 | |
| | | | | | | direct inclusion edge from System to Support. llvm-svn: 85086 | |||||
* | Commit fixes for half precision I noted in review, so | Dale Johannesen | 2009-10-23 | 1 | -3/+3 | |
| | | | | | | | they don't get lost; I don't think the originator has write access. llvm-svn: 84928 | |||||
* | Move UnescapeString to a static function for its sole client; its ↵ | Daniel Dunbar | 2009-10-17 | 1 | -30/+0 | |
| | | | | | | inefficient and broken. llvm-svn: 84358 | |||||
* | Remove llvm::EscapeString, raw_ostream::write_escaped is much faster. | Daniel Dunbar | 2009-10-17 | 1 | -26/+0 | |
| | | | | llvm-svn: 84357 | |||||
* | Add raw_ostream::write_escaped, for writing escaped strings. | Daniel Dunbar | 2009-10-17 | 1 | -0/+34 | |
| | | | | llvm-svn: 84355 | |||||
* | Move StringMap's string has function into StringExtras.h | Daniel Dunbar | 2009-10-17 | 1 | -16/+3 | |
| | | | | llvm-svn: 84344 | |||||
* | Add half precision floating point support (float16) to APFloat, | Chris Lattner | 2009-10-16 | 1 | -1/+69 | |
| | | | | | | patch by Peter Johnson! (PR5195) llvm-svn: 84239 | |||||
* | add haiku support, patch by Paul Davey! | Chris Lattner | 2009-10-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 84238 | |||||
* | r83391 was completely broken since Twines keep references to their inputs, and | Jeffrey Yasskin | 2009-10-06 | 1 | -4/+9 | |
| | | | | | | | some of the inputs were temporaries. Here's a real fix for the miscompilation. Thanks to sabre for pointing out the problem. llvm-svn: 83417 | |||||
* | Bugfix for the CommaSeparated option. The original code was adding the whole | Nicolas Geoffray | 2009-10-06 | 1 | -0/+1 | |
| | | | | | | string at the end of the list, instead of the last comma-separated string. llvm-svn: 83405 | |||||
* | Fix PR5112, a miscompilation on gcc-4.0.3. Patch by Collin Winter! | Jeffrey Yasskin | 2009-10-06 | 1 | -1/+4 | |
| | | | | llvm-svn: 83391 | |||||
* | Avoid using mutex locks if not in multithreaded mode by using a SmartScopedMutex | Torok Edwin | 2009-09-27 | 1 | -2/+2 | |
| | | | | | | in RegisterStatistic. llvm-svn: 82896 | |||||
* | remove support for "NoSub" from regex. It seems like a minor optimization | Chris Lattner | 2009-09-26 | 1 | -15/+12 | |
| | | | | | | and makes the API more annoying. Add a Regex::getNumMatches() method. llvm-svn: 82877 | |||||
* | add and document regex support for FileCheck. You can now do stuff like: | Chris Lattner | 2009-09-24 | 1 | -2/+3 | |
| | | | | | | | | ; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. llvm-svn: 82717 | |||||
* | wrap long lines. | Chris Lattner | 2009-09-24 | 1 | -2/+4 | |
| | | | | llvm-svn: 82715 |