- Apr 23, 2012
-
-
Chris Lattner authored
fixes an assert reading "1239123123123123" when the result is already 64-bit. llvm-svn: 155329
-
- Apr 22, 2012
-
-
Chris Lattner authored
StringRef::getAsInteger llvm-svn: 155298
-
- Mar 11, 2012
-
-
Michael J. Spencer authored
it would fail with {,u}int64_t on x86-64 Linux. This also removes code duplication. llvm-svn: 152517
-
- Mar 04, 2012
-
-
Chandler Carruth authored
llvm-svn: 152003
-
- Feb 24, 2012
-
-
Duncan Sands authored
of the StringRef.Split2 unittest on 32 bit machines. llvm-svn: 151358
-
- Feb 21, 2012
-
-
Duncan Sands authored
and into StringRef.cpp, which is where the other StringRef stuff is. llvm-svn: 151054
-
- Feb 15, 2012
-
-
Kaelyn Uhrain authored
Accomplished by moving the body of StringRef::edit_distance into a separate function that accepts two ArrayRefs, and making StringRef::edit_distance a wrapper around the new function. llvm-svn: 150621
-
- Nov 06, 2011
-
-
Benjamin Kramer authored
llvm-svn: 143890
-
Daniel Dunbar authored
llvm-svn: 143880
-
- Oct 17, 2011
-
-
Benjamin Kramer authored
Enable bounds checking to catch this kind of bug earlier. llvm-svn: 142247
-
- Oct 15, 2011
-
-
Benjamin Kramer authored
Based on Horspool's simplified version of Boyer-Moore. We use a constant-sized table of uint8_ts to keep cache thrashing low, needles bigger than 255 bytes are uncommon anyways. The worst case is still O(n*m) but we do a lot better on the average case now. llvm-svn: 142061
-
- Sep 30, 2011
-
-
Jakob Stoklund Olesen authored
Thanks to Alexandru Dura and Jonas Paulsson for finding it. llvm-svn: 140859
-
- Apr 28, 2011
-
-
Lenny Maiorani authored
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing. llvm-svn: 130430
-
- Apr 15, 2011
-
-
Lenny Maiorani authored
Implements StringRef::compare with bounds. It is behaves similarly to strncmp(). Unit tests also included. llvm-svn: 129582
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Dec 07, 2010
-
-
Jay Foad authored
zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121120
-
- Dec 01, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120495
-
- Nov 26, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120166
-
- Nov 07, 2010
-
-
Ted Kremenek authored
llvm-svn: 118370
-
- Oct 20, 2010
-
-
Douglas Gregor authored
llvm-svn: 116867
-
- Aug 26, 2010
-
-
Benjamin Kramer authored
llvm-svn: 112189
-
Benjamin Kramer authored
Do unsigned char comparisons in StringRef::compare_lower to be more consistent with compare in corner cases. llvm-svn: 112185
-
- Aug 23, 2010
-
-
Benjamin Kramer authored
- Cache used characters in a bitset to reduce memory overhead to just 32 bytes. - On my core2 this code is faster except when the checked string was very short (smaller than the list of delimiters). llvm-svn: 111817
-
- May 26, 2010
-
-
Jakob Stoklund Olesen authored
This means that our Registers are now ordered R7, R8, R9, R10, R12, ... Not R1, R10, R11, R12, R2, R3, ... llvm-svn: 104745
-
- Feb 28, 2010
-
-
John McCall authored
It gets its own implementation totally divorced from the (presumably performance-sensitive) routines which parse into a uint64_t. Add APInt::operator|=(uint64_t), which is situationally much better than using a full APInt. llvm-svn: 97381
-
- Jan 07, 2010
-
-
Douglas Gregor authored
llvm-svn: 92896
-
Douglas Gregor authored
std::vector and llvm::SmallVector have annoying performance tradeoffs. No, I don't expect this to matter, and now it won't. llvm-svn: 92884
-
- Dec 31, 2009
-
-
Douglas Gregor authored
to SmallVector, and add a unit test. llvm-svn: 92340
-
- Dec 30, 2009
-
-
Douglas Gregor authored
llvm-svn: 92309
-
- Nov 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 89372
-
- Nov 12, 2009
-
-
Benjamin Kramer authored
StringsEqualNoCase (from StringExtras.h) to it. llvm-svn: 87020
-
- Nov 11, 2009
-
-
Daniel Dunbar authored
Also, add unittests for find_first_of and find_first_not_of. llvm-svn: 86770
-
- Nov 06, 2009
-
-
Daniel Dunbar authored
llvm-svn: 86251
-
- Sep 22, 2009
-
-
Daniel Dunbar authored
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
-
- Sep 21, 2009
-
-
Chris Lattner authored
llvm-svn: 82415
-
- Sep 20, 2009
-
-
Chris Lattner authored
find_first_of/find_first_of methods. llvm-svn: 82347
-
Chris Lattner authored
common and useful integer types. llvm-svn: 82338
-
- Sep 19, 2009
-
-
Chris Lattner authored
llvm-svn: 82322
-
- Sep 17, 2009
-
-
Daniel Dunbar authored
llvm-svn: 82087
-
- Sep 14, 2009
-
-
Chris Lattner authored
llvm-svn: 81745
-