aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-09-14Missing includes.Vassil Vassilev1-1/+1
2016-08-25Make some LLVM_CONSTEXPR variables const. NFC.George Burgess IV1-1/+1
2016-08-10Fix UB in APInt::ashrJonathan Roelofs1-5/+1
2016-07-22Use RValue refs in APInt add/sub methods.Pete Cooper1-38/+16
2016-06-27APInt: remove unsued param in private method. NFCPawel Bylica1-1/+1
2016-06-24[APInt] Don't shift into the sign bitDavid Majnemer1-1/+1
2016-06-24[APInt] Don't shift into the sign bitDavid Majnemer1-2/+2
2016-06-08Apply most suggestions of clang-tidy's performance-unnecessary-value-paramBenjamin Kramer1-4/+2
2016-05-27Don't allocate unnecessarily in APInt::operator[+-]. NFC.Pete Cooper1-0/+18
2016-05-26Don't allocate in APInt::slt. NFC.Pete Cooper1-25/+9
2016-04-16Remove some unneeded headers and replace some headers with forward class decl...Mehdi Amini1-0/+1
2016-03-21Implement constant folding for bitreverseMatt Arsenault1-0/+30
2016-02-18Remove uses of builtin comma operator.Richard Trieu1-2/+4
2016-02-15APInt: Slightly simplify countLeadingZerosSlowCase()Matthias Braun1-19/+8
2016-02-15APInt: Further simplify APInt::EqualSlowCase as suggested by DuncanMatthias Braun1-4/+1
2016-02-10APInt: Simplify EqualSlowCaseMatthias Braun1-15/+2
2016-01-29Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r2591...Yaron Keren1-1/+1
2015-06-23Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko1-1/+1
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-1/+1
2015-04-24Fix APInt long division algorithmPawel Bylica1-19/+9
2015-04-06Test commit. Improve comments in APInt. NFC.Pawel Bylica1-10/+9
2015-03-26Fix rare case where APInt divide algorithm applied un-needed transformation.Yaron Keren1-34/+19
2015-03-25[APInt] Add an isSplat helper and use it in some places.Benjamin Kramer1-0/+8
2015-03-18Remove many superfluous SmallString::str() calls.Yaron Keren1-1/+1
2015-03-10Teach raw_ostream to accept SmallString.Yaron Keren1-1/+1
2015-03-09Drop the hacks used for partial C99 math libraries.Benjamin Kramer1-5/+0
2015-02-12MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line wit...Benjamin Kramer1-5/+5
2014-12-14APInt: udivrem should use machine instructions for single-word APIntsDavid Majnemer1-0/+12
2014-10-13InstCombine: Don't miscompile (x lshr C1) udiv C2David Majnemer1-5/+15
2014-10-12Modernize old-style static asserts. NFC.Benjamin Kramer1-2/+1
2014-10-10APInt: Unfold return expressions so RVO can work.Benjamin Kramer1-10/+28
2014-09-11typoSanjay Patel1-1/+1
2014-04-22[Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth1-1/+2
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-6/+6
2014-01-24Fix known typosAlp Toker1-1/+1
2013-12-13Remove APInt::extractBit since it is already implemented via operator[]. Chan...Michael Gottesman1-8/+0
2013-12-13[block-freq] Add the APInt method extractBit.Michael Gottesman1-0/+8
2013-06-01APInt: Simplify code. No functionality change.Benjamin Kramer1-36/+2
2013-05-28[APInt] Implement tcDecrement as a counterpart to tcIncrement. This is for us...Michael Gottesman1-0/+14
2013-05-24Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer1-5/+5
2013-03-20Use pre-inc, pre-dec when possible.Jakub Staszak1-4/+4
2013-02-20Move part of APInt implementation from header to cpp file. These methodsJakub Staszak1-0/+40
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-2/+2
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru1-4/+4
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru1-4/+4
2012-07-11PR13326: Fix a subtle edge case in the udiv -> magic multiply generator.Benjamin Kramer1-1/+1
2012-06-08Fix a crash in APInt::lshr when shiftAmt > BitWidth.Chad Rosier1-1/+1
2012-03-14Move APInt::operator[] inline.Benjamin Kramer1-6/+0
2012-03-14Move APInt::operator! inline, it's small and fuses well with surrounding code...Benjamin Kramer1-10/+0
2012-03-12Inline a trivial helper function.Benjamin Kramer1-7/+3