| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | tidy up, fix a memory leak in Regex::isValid | Chris Lattner | 2009-09-24 | 1 | -13/+10 |
| | | | | | llvm-svn: 82707 | ||||
| * | reapply r82348 with a fix, thanks Jeffrey. | Chris Lattner | 2009-09-24 | 1 | -33/+24 |
| | | | | | llvm-svn: 82683 | ||||
| * | Roll back r82348, which introduced an infinite loop in ParseCStringVector() that | Jeffrey Yasskin | 2009-09-24 | 1 | -22/+33 |
| | | | | | | | | a trivial unittest would have caught. This revision also adds the trivial unittest. llvm-svn: 82675 | ||||
| * | Switch FoldingSet::AddString to StringRef based API. | Daniel Dunbar | 2009-09-22 | 1 | -11/+3 |
| | | | | | | | - This also fixes a dereference of std::string::end, which makes MSVC unhappy and was causing all the static analyzer clang tests to fail. llvm-svn: 82517 | ||||
| * | Workaround what I believe is an MSVC bug where it emits a definition for a | Daniel Dunbar | 2009-09-22 | 1 | -0/+3 |
| | | | | | | | | | static const class member into each translation unit, with external linkage??? - If someone understands this issue better, please clue me in, I haven't consulted the standard yet. llvm-svn: 82516 | ||||
| * | simplify as daniel suggests | Chris Lattner | 2009-09-20 | 1 | -16/+9 |
| | | | | | llvm-svn: 82415 | ||||
| * | tidy up | Chris Lattner | 2009-09-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 82384 | ||||
| * | smallvectorize getExtraOptionNames | Chris Lattner | 2009-09-20 | 1 | -2/+1 |
| | | | | | llvm-svn: 82377 | ||||
| * | minor cleanups. | Chris Lattner | 2009-09-20 | 1 | -22/+24 |
| | | | | | llvm-svn: 82375 | ||||
| * | strength reduce further StringRef-> const char*, saving another 620 bytes. | Chris Lattner | 2009-09-20 | 1 | -5/+11 |
| | | | | | llvm-svn: 82372 | ||||
| * | switch an std::string to StringRef, shaving 400 bytes off CommandLine.o | Chris Lattner | 2009-09-20 | 1 | -11/+10 |
| | | | | | llvm-svn: 82370 | ||||
| * | the switch from std::map -> StringMap caused --help output to be in | Chris Lattner | 2009-09-20 | 1 | -5/+15 |
| | | | | | | | non-sorted order, restore the sort. llvm-svn: 82368 | ||||
| * | eliminate the duplicate detection loop, moving it into the loop that ↵ | Chris Lattner | 2009-09-20 | 1 | -13/+6 |
| | | | | | | | populates the Opts vector in the first place. llvm-svn: 82367 | ||||
| * | Eliminate a masochistic "algorithm" loop, shrinking CommandLine.o from ↵ | Chris Lattner | 2009-09-20 | 1 | -13/+8 |
| | | | | | | | 71524->70700 bytes. llvm-svn: 82366 | ||||
| * | don't use count + insert, just do insert + failure. Also, instead of ↵ | Chris Lattner | 2009-09-20 | 1 | -6/+9 |
| | | | | | | | | | deleting from the middle of a vector, swap the last element in and pop_back. Also saves 330 bytes :) llvm-svn: 82365 | ||||
| * | switch to SmallPtrSet instead of std::set, saving 1K from the | Chris Lattner | 2009-09-20 | 1 | -4/+4 |
| | | | | | | | release-asserts .o file (72900->71856). llvm-svn: 82364 | ||||
| * | change an std::sort to an array_pod_sort call, shrinking CommandLine.o by 9%. | Chris Lattner | 2009-09-20 | 1 | -1/+2 |
| | | | | | llvm-svn: 82363 | ||||
| * | Several changes together in a murky mess: | Chris Lattner | 2009-09-20 | 1 | -84/+102 |
| | | | | | | | | | | | | | 1. Change some "\n" -> '\n'. 2. eliminte some std::string's by using raw_ostream::indent. 3. move a bunch of code out of the main arg parser routine into a new static HandlePrefixedOrGroupedOption function. 4. Greatly simplify the implementation of getOptionPred, and make it avoid splitting prefix options at = when that doesn't match a non-prefix option. llvm-svn: 82362 | ||||
| * | Fix refacto, this code was expecting to stride past the argument prefix. | Daniel Dunbar | 2009-09-20 | 1 | -0/+1 |
| | | | | | llvm-svn: 82360 | ||||
| * | Tabs -> spaces, and remove trailing whitespace. | Daniel Dunbar | 2009-09-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 82355 | ||||
| * | convert argname to StringRef, simplifying LookupOption. | Chris Lattner | 2009-09-20 | 1 | -21/+22 |
| | | | | | llvm-svn: 82352 | ||||
| * | convert 'Value' to StringRef which makes it easier to | Chris Lattner | 2009-09-20 | 1 | -12/+8 |
| | | | | | | | maintain the "null is unspecified, empty is empty" semantics. llvm-svn: 82351 | ||||
| * | Change CommaSeparated processing to do it with StringRef instead of ↵ | Chris Lattner | 2009-09-20 | 1 | -21/+26 |
| | | | | | | | | | temporary std::strings. This requires StringRef'izing ProvideOption which I also did. llvm-svn: 82350 | ||||
| * | rewrite ParseCStringVector in terms of stringref. | Chris Lattner | 2009-09-20 | 1 | -33/+22 |
| | | | | | llvm-svn: 82348 | ||||
| * | move a couple non-trivial methods out of line, add new | Chris Lattner | 2009-09-20 | 1 | -0/+71 |
| | | | | | | | find_first_of/find_first_of methods. llvm-svn: 82347 | ||||

