summaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2017-01-28Cleanup dump() functions.Matthias Braun
2017-01-24[APInt] Remove calls to clearUnusedBits from XorSlowCase and operator^=Craig Topper
2017-01-05TypoJoerg Sonnenberger
2016-09-14Missing includes.Vassil Vassilev
2016-08-25Make some LLVM_CONSTEXPR variables const. NFC.George Burgess IV
2016-08-10Fix UB in APInt::ashrJonathan Roelofs
2016-07-22Use RValue refs in APInt add/sub methods.Pete Cooper
2016-06-27APInt: remove unsued param in private method. NFCPawel Bylica
2016-06-24[APInt] Don't shift into the sign bitDavid Majnemer
2016-06-24[APInt] Don't shift into the sign bitDavid Majnemer
2016-06-08Apply most suggestions of clang-tidy's performance-unnecessary-value-paramBenjamin Kramer
2016-05-27Don't allocate unnecessarily in APInt::operator[+-]. NFC.Pete Cooper
2016-05-26Don't allocate in APInt::slt. NFC.Pete Cooper
2016-04-16Remove some unneeded headers and replace some headers with forward class decl...Mehdi Amini
2016-03-21Implement constant folding for bitreverseMatt Arsenault
2016-02-18Remove uses of builtin comma operator.Richard Trieu
2016-02-15APInt: Slightly simplify countLeadingZerosSlowCase()Matthias Braun
2016-02-15APInt: Further simplify APInt::EqualSlowCase as suggested by DuncanMatthias Braun
2016-02-10APInt: Simplify EqualSlowCaseMatthias Braun
2016-01-29Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r2591...Yaron Keren
2015-06-23Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko
2015-04-24Fix APInt long division algorithmPawel Bylica
2015-04-06Test commit. Improve comments in APInt. NFC.Pawel Bylica
2015-03-26Fix rare case where APInt divide algorithm applied un-needed transformation.Yaron Keren
2015-03-25[APInt] Add an isSplat helper and use it in some places.Benjamin Kramer
2015-03-18Remove many superfluous SmallString::str() calls.Yaron Keren
2015-03-10Teach raw_ostream to accept SmallString.Yaron Keren
2015-03-09Drop the hacks used for partial C99 math libraries.Benjamin Kramer
2015-02-12MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line wit...Benjamin Kramer
2014-12-14APInt: udivrem should use machine instructions for single-word APIntsDavid Majnemer
2014-10-13InstCombine: Don't miscompile (x lshr C1) udiv C2David Majnemer
2014-10-12Modernize old-style static asserts. NFC.Benjamin Kramer
2014-10-10APInt: Unfold return expressions so RVO can work.Benjamin Kramer
2014-09-11typoSanjay Patel
2014-04-22[Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper
2014-01-24Fix known typosAlp Toker
2013-12-13Remove APInt::extractBit since it is already implemented via operator[]. Chan...Michael Gottesman
2013-12-13[block-freq] Add the APInt method extractBit.Michael Gottesman
2013-06-01APInt: Simplify code. No functionality change.Benjamin Kramer
2013-05-28[APInt] Implement tcDecrement as a counterpart to tcIncrement. This is for us...Michael Gottesman
2013-05-24Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer
2013-03-20Use pre-inc, pre-dec when possible.Jakub Staszak
2013-02-20Move part of APInt implementation from header to cpp file. These methodsJakub Staszak
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-07-11PR13326: Fix a subtle edge case in the udiv -> magic multiply generator.Benjamin Kramer
2012-06-08Fix a crash in APInt::lshr when shiftAmt > BitWidth.Chad Rosier