aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* APInt: Simplify code. No functionality change.Benjamin Kramer2013-06-011-36/+2
* [APInt] Implement tcDecrement as a counterpart to tcIncrement. This is for us...Michael Gottesman2013-05-281-0/+14
* Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer2013-05-241-5/+5
* Use pre-inc, pre-dec when possible.Jakub Staszak2013-03-201-4/+4
* Move part of APInt implementation from header to cpp file. These methodsJakub Staszak2013-02-201-0/+40
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-2/+2
* Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru2012-09-271-4/+4
* Fix a typo 'iff' => 'if'Sylvestre Ledru2012-09-271-4/+4
* 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