aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/ADT/APInt.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h
index 59f7e0f..a23e304 100644
--- a/llvm/include/llvm/ADT/APInt.h
+++ b/llvm/include/llvm/ADT/APInt.h
@@ -176,9 +176,6 @@ public:
/// Get the '0' value for the specified bit-width.
static APInt getZero(unsigned numBits) { return APInt(numBits, 0); }
- LLVM_DEPRECATED("use getZero instead", "getZero")
- static APInt getNullValue(unsigned numBits) { return getZero(numBits); }
-
/// Return an APInt zero bits wide.
static APInt getZeroWidth() { return getZero(0); }
@@ -215,9 +212,6 @@ public:
return APInt(numBits, WORDTYPE_MAX, true);
}
- LLVM_DEPRECATED("use getAllOnes instead", "getAllOnes")
- static APInt getAllOnesValue(unsigned numBits) { return getAllOnes(numBits); }
-
/// Return an APInt with exactly one bit set in the result.
static APInt getOneBitSet(unsigned numBits, unsigned BitNo) {
APInt Res(numBits, 0);
@@ -359,9 +353,6 @@ public:
return countTrailingOnesSlowCase() == BitWidth;
}
- LLVM_DEPRECATED("use isAllOnes instead", "isAllOnes")
- bool isAllOnesValue() const { return isAllOnes(); }
-
/// Determine if this value is zero, i.e. all bits are clear.
bool isZero() const {
if (isSingleWord())
@@ -369,9 +360,6 @@ public:
return countLeadingZerosSlowCase() == BitWidth;
}
- LLVM_DEPRECATED("use isZero instead", "isZero")
- bool isNullValue() const { return isZero(); }
-
/// Determine if this is a value of 1.
///
/// This checks to see if the value of this APInt is one.
@@ -381,9 +369,6 @@ public:
return countLeadingZerosSlowCase() == BitWidth - 1;
}
- LLVM_DEPRECATED("use isOne instead", "isOne")
- bool isOneValue() const { return isOne(); }
-
/// Determine if this is the largest unsigned value.
///
/// This checks to see if the value of this APInt is the maximum unsigned
@@ -1487,9 +1472,6 @@ public:
return BitWidth - getNumSignBits() + 1;
}
- LLVM_DEPRECATED("use getSignificantBits instead", "getSignificantBits")
- unsigned getMinSignedBits() const { return getSignificantBits(); }
-
/// Get zero extended value
///
/// This method attempts to return the value of this APInt as a zero extended
@@ -1630,9 +1612,6 @@ public:
return countPopulationSlowCase();
}
- LLVM_DEPRECATED("use popcount instead", "popcount")
- unsigned countPopulation() const { return popcount(); }
-
/// @}
/// \name Conversion Functions
/// @{