forked from OSchip/llvm-project
parent
8b2ec5f506
commit
fae5c8fae9
|
@ -542,6 +542,10 @@ public:
|
|||
APInt operator-(uint64_t RHS) const {
|
||||
return (*this) - APInt(BitWidth, RHS);
|
||||
}
|
||||
|
||||
APInt operator<<(unsigned Bits) const {
|
||||
return shl(Bits);
|
||||
}
|
||||
|
||||
/// Arithmetic right-shift this APInt by shiftAmt.
|
||||
/// @brief Arithmetic right-shift function.
|
||||
|
|
Loading…
Reference in New Issue