mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +00:00
Remove unused methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -396,15 +396,6 @@ public:
|
|||||||
return &pVal[0];
|
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
|
/// @name Unary Operators
|
||||||
/// @{
|
/// @{
|
||||||
@@ -743,15 +734,6 @@ public:
|
|||||||
/// @brief Zero extend or truncate to width
|
/// @brief Zero extend or truncate to width
|
||||||
APInt &zextOrTrunc(uint32_t 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
|
/// @name Bit Manipulation Operators
|
||||||
/// @{
|
/// @{
|
||||||
|
Reference in New Issue
Block a user