aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2012-06-08Fix a crash in APInt::lshr when shiftAmt > BitWidth.Chad Rosier
2012-03-14Move APInt::operator[] inline.Benjamin Kramer
2012-03-14Move APInt::operator! inline, it's small and fuses well with surrounding code...Benjamin Kramer
2012-03-12Inline a trivial helper function.Benjamin Kramer
2012-03-11Replace a hand-coded leading one counting loop with the magic from MathExtras.h.Benjamin Kramer
2012-03-04Replace the hashing functions on APInt and APFloat with overloads of theChandler Carruth
2012-02-24Fix undefined behavior.Ahmed Charles
2012-01-27Add r149110 back with a fix for when the vector and the int have the sameRafael Espindola
2011-12-22Fix APInt::rotl and APInt::rotr so that they work correctly. Found while wri...Eli Friedman
2011-12-16APInt: update asserts for base-36Dylan Noblesmith
2011-12-01Fix unreachable return & simplify some branches.David Blaikie
2011-11-23Correctly byte-swap APInts with bit-widths greater than 64.Richard Smith
2011-10-07Fix APInt::operator*= so that it computes the correct result for large intege...Eli Friedman
2011-09-20U is good enoughDouglas Gregor
2011-09-20Eliminate sign-comparison warnings in APIntDouglas Gregor
2011-09-19Silence -Wsign-compare warnings from GCC.Benjamin Kramer
2011-09-14Add APInt support for converting to/from hexatridecimal stringsDouglas Gregor
2011-07-18Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin
2011-06-15add option for literal formatting to APInt::toString()Ted Kremenek
2011-05-22fix a bug for hosts without round, PR8893.Chris Lattner
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-03-27Constant folding support for calls to umul.with.overflow(), basically identic...Frits van Bommel
2011-03-17Add an argument to APInt's magic udiv calculation to specify the number of bi...Benjamin Kramer
2011-02-21The signed version of our "magic number" computation for the integer approxim...Cameron Zwarich
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-12-04APInt: microoptimize a few methods.Benjamin Kramer
2010-12-01PR5207: Rename overloaded APInt methods set(), clear(), flip() toJay Foad
2010-11-30PR5207: Make APInt::set(), APInt::clear() and APInt::flip() return void.Jay Foad
2010-11-18Bounds-check APInt's operator[].Dan Gohman
2010-10-14fix a bug I introduced, no idea how this didn't repro right.Chris Lattner
2010-10-14add uadd_ov/usub_ov to apint, consolidate constant foldingChris Lattner
2010-10-13constify these methods.Chris Lattner
2010-10-13add a few operations for signed operations that also Chris Lattner
2010-08-18stomp some more undefined behavior, PR7775.Chris Lattner
2010-07-14Don't pass StringRef by reference.Benjamin Kramer
2010-05-15improve portability to systems that don't have round, patch byChris Lattner
2010-03-26improve portability to minix, patch by Chris Lattner
2010-03-24Fix minor style issues.Dan Gohman
2010-02-28Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall
2010-02-10Fix "the the" and similar typos.Dan Gohman
2010-02-03Make APInt::countLeadingZerosSlowCase() treat the contents of padding bitsJohn McCall
2010-01-05Change errs() to dbgs().David Greene
2009-12-24Set Remainder before Quotient in case Quotient and LHS alias. The newJohn McCall
2009-09-20Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar
2009-09-06Remove some unused variables and methods warned about byDuncan Sands
2009-08-23remove the dead std::ostream APInt inserterChris Lattner
2009-08-21Clean up the APInt function getDigit.Erick Tryzelaar
2009-08-21Update error messages for '+'. Fix grammar and make the twoEric Christopher
2009-08-21Fix trailing whitespace and 80-col violation.Eric Christopher
2009-08-21Fix bug with APInt::getBitsNeeded with for base 10 numbers 0-9.Erick Tryzelaar