aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2008-05-02Suppress -Wshorten-64-to-32 warnings for 64-bit hosts.Evan Cheng
2008-04-10Make several symbols static.Dan Gohman
2008-03-25A quick nm audit turned up several fixed tables and objects that wereDan Gohman
2008-03-16Add assert for non-hexadecimal radixes.Bill Wendling
2008-03-07Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.Evan Cheng
2008-02-29Add support to APInt for shift and rotate operations with APIntDan Gohman
2008-02-19Fixed bug in APInt::Profile() where the BitWidth field was not included in theTed Kremenek
2008-02-14Fix a warning about comparison between signed and unsigned,Dan Gohman
2008-02-13Add countTrailingOnes member functions to APInt.Dan Gohman
2008-01-19Added FoldingSet style 'profiling' support for APInt.Ted Kremenek
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-12-24Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this caseAnton Korobeynikov
2007-12-11Don't have APInt.cpp depend upon DerivedTypes.h. This helps with splitting theReid Spencer
2007-11-23Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros.Chris Lattner
2007-11-23Fix APInt::countTrailingZeros to return BitWidth if the input is zero instead...Chris Lattner
2007-10-12Don't attempt to mask no bitsNeil Booth
2007-10-08Add a new function tcExtract for extracting a bignum from anNeil Booth
2007-10-06Fix and clarify some comments.Neil Booth
2007-10-06Generalize tcFullMultiply so that the operands can be of differingNeil Booth
2007-09-21Change APFloat::convertFromInteger to take the incomingDale Johannesen
2007-09-17Do not hide APInt::dump() inside #ifndef NDEBUG.Devang Patel
2007-09-14Remove the assumption that FP's are either float orDale Johannesen
2007-08-23rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()Chris Lattner
2007-08-20initial checkin of Neil's APFloat work.Chris Lattner
2007-08-16This adds a bunch of static functions that implement unsignedChris Lattner
2007-05-19Fix an assertion introduced by my last change to the toString method. WeReid Spencer
2007-05-17Get rid of leading zeros in the output of toString.Reid Spencer
2007-05-17For lshr by 0 bits, just return *this as a short cut. This also preventsReid Spencer
2007-05-16Fix a bug in the "fromString" method where radix 2,8 and 16 values wereReid Spencer
2007-05-14Make the results for the rotate functions correct when rotateAmt == 0.Reid Spencer
2007-05-13Add some things needed by the llvm-gcc version supporting bit accurate integerReid Spencer
2007-05-12Fix shl to produce the correct result when the bitwidth is > 64 and theReid Spencer
2007-05-03silence some annoying gcc 4.3 warningsChris Lattner
2007-04-14We want the number of bits needed, not the power of 2.Reid Spencer
2007-04-13Implement a getBitsNeeded method to determine how many bits are needed toReid Spencer
2007-04-11Fix an approximate calculation in an assertion not to give false negatives.Reid Spencer
2007-03-21Fix a bug in getAllOnesValue() which brokeZhou Sheng
2007-03-20Fix (and simplify) 48-bit byte swap.Jeff Cohen
2007-03-19Fix coding standards violation.Reid Spencer
2007-03-19Implement extension of sign bits for negative values in the uint64_tReid Spencer
2007-03-12Revert the last patch as it violates the conditions of sext/zext.Reid Spencer
2007-03-12For APInt::z/sext(width), if width == BitWidth, just return *this.Zhou Sheng
2007-03-05Unbreak VC++ build.Jeff Cohen
2007-03-02Fix ashr for bitwidths > 64. This is now validated up to 1024 bits.Reid Spencer
2007-03-02Use a better algorithm for rounding sqrt results. Change the FIXME aboutReid Spencer
2007-03-02Add a FIXMEReid Spencer
2007-03-02Fix a problem where shifting by 64-bits leads to incorrect results on PPCReid Spencer
2007-03-01Combine two lines that can be.Reid Spencer
2007-03-01Make the static table of results in sqrt const.Reid Spencer
2007-03-01Add methods for bit width modification: sextOrTrunc, zextOrTrunc.Reid Spencer