diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-02-26 10:49:39 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-02-26 10:49:39 +0000 |
commit | 68ca1825b78b7cd8b980e7ab28bfe4f1b8135dda (patch) | |
tree | 95b4383426da6ad81dc060cb75c60cba8a4af0fe /include/llvm/ADT/APInt.h | |
parent | 4d7b049f35b00360b74b57b821c3c67f930b0a48 (diff) | |
download | external_llvm-68ca1825b78b7cd8b980e7ab28bfe4f1b8135dda.zip external_llvm-68ca1825b78b7cd8b980e7ab28bfe4f1b8135dda.tar.gz external_llvm-68ca1825b78b7cd8b980e7ab28bfe4f1b8135dda.tar.bz2 |
Detabify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APInt.h')
-rw-r--r-- | include/llvm/ADT/APInt.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index 8f470e4..bf3f80c 100644 --- a/include/llvm/ADT/APInt.h +++ b/include/llvm/ADT/APInt.h @@ -1130,12 +1130,12 @@ public: /// DST += RHS + CARRY where CARRY is zero or one. Returns the /// carry flag. static integerPart tcAdd(integerPart *, const integerPart *, - integerPart carry, unsigned); + integerPart carry, unsigned); /// DST -= RHS + CARRY where CARRY is zero or one. Returns the /// carry flag. static integerPart tcSubtract(integerPart *, const integerPart *, - integerPart carry, unsigned); + integerPart carry, unsigned); /// DST += SRC * MULTIPLIER + PART if add is true /// DST = SRC * MULTIPLIER + PART if add is false @@ -1149,23 +1149,23 @@ public: /// parts were zero return zero, otherwise overflow occurred and /// return one. static int tcMultiplyPart(integerPart *dst, const integerPart *src, - integerPart multiplier, integerPart carry, - unsigned int srcParts, unsigned int dstParts, - bool add); + integerPart multiplier, integerPart carry, + unsigned int srcParts, unsigned int dstParts, + bool add); /// DST = LHS * RHS, where DST has the same width as the operands /// and is filled with the least significant parts of the result. /// Returns one if overflow occurred, otherwise zero. DST must be /// disjoint from both operands. static int tcMultiply(integerPart *, const integerPart *, - const integerPart *, unsigned); + const integerPart *, unsigned); /// DST = LHS * RHS, where DST has width the sum of the widths of /// the operands. No overflow occurs. DST must be disjoint from /// both operands. Returns the number of parts required to hold the /// result. static unsigned int tcFullMultiply(integerPart *, const integerPart *, - const integerPart *, unsigned, unsigned); + const integerPart *, unsigned, unsigned); /// If RHS is zero LHS and REMAINDER are left unchanged, return one. /// Otherwise set LHS to LHS / RHS with the fractional part @@ -1178,18 +1178,18 @@ public: /// and are destroyed. LHS, REMAINDER and SCRATCH must be /// distinct. static int tcDivide(integerPart *lhs, const integerPart *rhs, - integerPart *remainder, integerPart *scratch, - unsigned int parts); + integerPart *remainder, integerPart *scratch, + unsigned int parts); /// Shift a bignum left COUNT bits. Shifted in bits are zero. /// There are no restrictions on COUNT. static void tcShiftLeft(integerPart *, unsigned int parts, - unsigned int count); + unsigned int count); /// Shift a bignum right COUNT bits. Shifted in bits are zero. /// There are no restrictions on COUNT. static void tcShiftRight(integerPart *, unsigned int parts, - unsigned int count); + unsigned int count); /// The obvious AND, OR and XOR and complement operations. static void tcAnd(integerPart *, const integerPart *, unsigned int); @@ -1199,14 +1199,14 @@ public: /// Comparison (unsigned) of two bignums. static int tcCompare(const integerPart *, const integerPart *, - unsigned int); + unsigned int); /// Increment a bignum in-place. Return the carry flag. static integerPart tcIncrement(integerPart *, unsigned int); /// Set the least significant BITS and clear the rest. static void tcSetLeastSignificantBits(integerPart *, unsigned int, - unsigned int bits); + unsigned int bits); /// @brief debug method void dump() const; |