aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* PR13326: Fix a subtle edge case in the udiv -> magic multiply generator.Benjamin Kramer2012-07-111-1/+1
* Fix a crash in APInt::lshr when shiftAmt > BitWidth.Chad Rosier2012-06-081-1/+1
* Move APInt::operator[] inline.Benjamin Kramer2012-03-141-6/+0
* Move APInt::operator! inline, it's small and fuses well with surrounding code...Benjamin Kramer2012-03-141-10/+0
* Inline a trivial helper function.Benjamin Kramer2012-03-121-7/+3
* Replace a hand-coded leading one counting loop with the magic from MathExtras.h.Benjamin Kramer2012-03-111-8/+1
* Replace the hashing functions on APInt and APFloat with overloads of theChandler Carruth2012-03-041-87/+6
* Fix undefined behavior.Ahmed Charles2012-02-241-1/+1
* Add r149110 back with a fix for when the vector and the int have the sameRafael Espindola2012-01-271-0/+12
* Fix APInt::rotl and APInt::rotr so that they work correctly. Found while wri...Eli Friedman2011-12-221-12/+4
* APInt: update asserts for base-36Dylan Noblesmith2011-12-161-1/+5
* Fix unreachable return & simplify some branches.David Blaikie2011-12-011-9/+5
* Correctly byte-swap APInts with bit-widths greater than 64.Richard Smith2011-11-231-17/+26
* Fix APInt::operator*= so that it computes the correct result for large intege...Eli Friedman2011-10-071-1/+2
* U is good enoughDouglas Gregor2011-09-201-2/+2
* Eliminate sign-comparison warnings in APIntDouglas Gregor2011-09-201-2/+4
* Silence -Wsign-compare warnings from GCC.Benjamin Kramer2011-09-191-2/+2
* Add APInt support for converting to/from hexatridecimal stringsDouglas Gregor2011-09-141-12/+19
* Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin2011-07-181-6/+14
* add option for literal formatting to APInt::toString()Ted Kremenek2011-06-151-3/+34
* fix a bug for hosts without round, PR8893.Chris Lattner2011-05-221-1/+1
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
* Constant folding support for calls to umul.with.overflow(), basically identic...Frits van Bommel2011-03-271-0/+10
* Add an argument to APInt's magic udiv calculation to specify the number of bi...Benjamin Kramer2011-03-171-2/+4
* The signed version of our "magic number" computation for the integer approxim...Cameron Zwarich2011-02-211-1/+1
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-74/+68
* APInt: microoptimize a few methods.Benjamin Kramer2010-12-041-4/+0
* PR5207: Rename overloaded APInt methods set(), clear(), flip() toJay Foad2010-12-011-13/+13
* PR5207: Make APInt::set(), APInt::clear() and APInt::flip() return void.Jay Foad2010-11-301-6/+3
* Bounds-check APInt's operator[].Dan Gohman2010-11-181-0/+1
* fix a bug I introduced, no idea how this didn't repro right.Chris Lattner2010-10-141-2/+2
* add uadd_ov/usub_ov to apint, consolidate constant foldingChris Lattner2010-10-141-0/+12
* constify these methods.Chris Lattner2010-10-131-5/+5
* add a few operations for signed operations that also Chris Lattner2010-10-131-0/+46
* stomp some more undefined behavior, PR7775.Chris Lattner2010-08-181-6/+7
* Don't pass StringRef by reference.Benjamin Kramer2010-07-141-3/+3
* improve portability to systems that don't have round, patch byChris Lattner2010-05-151-4/+3
* improve portability to minix, patch by Chris Lattner2010-03-261-2/+2
* Fix minor style issues.Dan Gohman2010-03-241-38/+37
* Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall2010-02-281-1/+9
* Fix "the the" and similar typos.Dan Gohman2010-02-101-2/+2
* Make APInt::countLeadingZerosSlowCase() treat the contents of padding bitsJohn McCall2010-02-031-6/+18
* Change errs() to dbgs().David Greene2010-01-051-34/+34
* Set Remainder before Quotient in case Quotient and LHS alias. The newJohn McCall2009-12-241-1/+1
* Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar2009-09-201-1/+1
* Remove some unused variables and methods warned about byDuncan Sands2009-09-061-2/+0
* remove the dead std::ostream APInt inserterChris Lattner2009-08-231-8/+2
* Clean up the APInt function getDigit.Erick Tryzelaar2009-08-211-21/+19
* Update error messages for '+'. Fix grammar and make the twoEric Christopher2009-08-211-4/+5
* Fix trailing whitespace and 80-col violation.Eric Christopher2009-08-211-120/+121