- Mar 21, 2013
-
-
Jakub Staszak authored
They are generally faster (at least not slower) than post-inc, post-dec. llvm-svn: 177608
-
- Feb 20, 2013
-
-
Jakub Staszak authored
require call cpp file anyway, so we wouldn't gain anything by keeping them inline. llvm-svn: 175579
-
- Dec 03, 2012
-
-
Chandler Carruth authored
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
-
- Sep 27, 2012
-
-
Sylvestre Ledru authored
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768
-
Sylvestre Ledru authored
llvm-svn: 164767
-
- Jul 11, 2012
-
-
Benjamin Kramer authored
This caused 6 of 65k possible 8 bit udivs to be wrong. llvm-svn: 160058
-
- Jun 08, 2012
-
-
Chad Rosier authored
Patch by James Benton <jbenton@vmware.com>. llvm-svn: 158213
-
- Mar 14, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152692
-
Benjamin Kramer authored
llvm-svn: 152688
-
- Mar 12, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152577
-
- Mar 11, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152545
-
- Mar 04, 2012
-
-
Chandler Carruth authored
new hash_value infrastructure, and replace their implementations using hash_combine. This removes a complete copy of Jenkin's lookup3 hash function (which is both significantly slower and lower quality than the one implemented in hash_combine) along with a somewhat scary xor-only hash function. Now that APInt and APFloat can be passed directly to hash_combine, simplify the rest of the LLVMContextImpl hashing to use the new infrastructure. llvm-svn: 152004
-
- Feb 24, 2012
-
-
Ahmed Charles authored
llvm-svn: 151385
-
- Jan 28, 2012
-
-
Rafael Espindola authored
width. llvm-svn: 149151
-
- Dec 22, 2011
-
-
Eli Friedman authored
Fix APInt::rotl and APInt::rotr so that they work correctly. Found while writing some code that tried to use them. llvm-svn: 147134
-
- Dec 16, 2011
-
-
Dylan Noblesmith authored
Hexatridecimal was added in r139695. And fix the unittest that now triggers the assert. llvm-svn: 146754
-
- Dec 01, 2011
-
-
David Blaikie authored
llvm-svn: 145627
-
- Nov 23, 2011
-
-
Richard Smith authored
llvm-svn: 145111
-
- Oct 08, 2011
-
-
Eli Friedman authored
Fix APInt::operator*= so that it computes the correct result for large integers where there is unsigned overflow. Fix APFloat::toString so that it doesn't depend on the incorrect behavior in common cases (and computes the correct result in some rare cases). Fixes PR11086. llvm-svn: 141441
-
- Sep 20, 2011
-
-
Douglas Gregor authored
llvm-svn: 140166
-
Douglas Gregor authored
llvm-svn: 140158
-
- Sep 19, 2011
-
-
Benjamin Kramer authored
llvm-svn: 140043
-
- Sep 14, 2011
-
-
Douglas Gregor authored
llvm-svn: 139695
-
- Jul 18, 2011
-
-
Jeffrey Yasskin authored
errors like the one corrected by r135261. Migrate all LLVM callers of the old constructor to the new one. llvm-svn: 135431
-
- Jun 15, 2011
-
-
Ted Kremenek authored
toString() now takes an optional bool argument that, depending on the radix, adds the appropriate prefix to the integer's string representation that makes it into a meaningful C literal, e.g.: hexademical: '-f' becomes '-0xf' octal: '77' becomes '077' binary: '110' becomes '0b110' Patch by nobled@dreamwidth.org! llvm-svn: 133032
-
- May 22, 2011
-
-
Chris Lattner authored
llvm-svn: 131842
-
- Apr 15, 2011
-
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Mar 27, 2011
-
-
Frits van Bommel authored
Constant folding support for calls to umul.with.overflow(), basically identical to the smul.with.overflow() code. llvm-svn: 128379
-
- Mar 17, 2011
-
-
Benjamin Kramer authored
Add an argument to APInt's magic udiv calculation to specify the number of bits that are known zero in the divided number. This will come in handy soon. llvm-svn: 127828
-
- Feb 21, 2011
-
-
Cameron Zwarich authored
of a constant had a minor typo introduced when copying it from the book, which caused it to favor negative approximations over positive approximations in many cases. Positive approximations require fewer operations beyond the multiplication. In the case of division by 3, we still generate code that is a single instruction larger than GCC's code. llvm-svn: 126097
-
- 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 04, 2010
-
-
Benjamin Kramer authored
llvm-svn: 120912
-
- Dec 01, 2010
-
-
Jay Foad authored
setAllBits(), setBit(unsigned), etc. llvm-svn: 120564
-
- Nov 30, 2010
-
-
Jay Foad authored
llvm-svn: 120413
-
- Nov 18, 2010
-
-
Dan Gohman authored
llvm-svn: 119708
-
- Oct 14, 2010
-
-
Chris Lattner authored
llvm-svn: 116462
-
Chris Lattner authored
logic to use the new APInt methods. Among other things this implements rdar://8501501 - llvm.smul.with.overflow.i32 should constant fold which comes from "clang -ftrapv", originally brought to my attention from PR8221. llvm-svn: 116457
-
Chris Lattner authored
llvm-svn: 116455
-
Chris Lattner authored
return an overflow flag. llvm-svn: 116452
-
- Aug 18, 2010
-
-
Chris Lattner authored
llvm-svn: 111337
-