[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h
Zhou Sheng
zhousheng00 at gmail.com
Sun Apr 1 05:45:51 PDT 2007
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.59 -> 1.60
---
Log message:
Remove unused methods.
---
Diffs of the changes: (+0 -18)
APInt.h | 18 ------------------
1 files changed, 18 deletions(-)
Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/llvm/ADT/APInt.h:1.59 llvm/include/llvm/ADT/APInt.h:1.60
--- llvm/include/llvm/ADT/APInt.h:1.59 Fri Mar 30 01:39:42 2007
+++ llvm/include/llvm/ADT/APInt.h Sun Apr 1 07:45:33 2007
@@ -396,15 +396,6 @@
return &pVal[0];
}
- /// @brief Set a sepcific word in the value to a new value.
- inline void setWordToValue(uint32_t idx, uint64_t Val) {
- assert(idx < getNumWords() && "Invalid word array index");
- if (isSingleWord())
- VAL = Val;
- else
- pVal[idx] = Val;
- }
-
/// @}
/// @name Unary Operators
/// @{
@@ -743,15 +734,6 @@
/// @brief Zero extend or truncate to width
APInt &zextOrTrunc(uint32_t width);
- /// This is a help function for convenience. If the given \p width equals to
- /// this APInt's BitWidth, just return this APInt, otherwise, just zero
- /// extend it.
- inline APInt &zextOrCopy(uint32_t width) {
- if (width == BitWidth)
- return *this;
- return zext(width);
- }
-
/// @}
/// @name Bit Manipulation Operators
/// @{
More information about the llvm-commits
mailing list