aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/ADT
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/ADT')
-rw-r--r--backend/include/rcc/ADT/APInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/include/rcc/ADT/APInt.h b/backend/include/rcc/ADT/APInt.h
index 8b869be..dc48d16 100644
--- a/backend/include/rcc/ADT/APInt.h
+++ b/backend/include/rcc/ADT/APInt.h
@@ -54,6 +54,7 @@ public:
[[nodiscard]] Expected<APInt> trunc(std::uint32_t NewBitWidth) const;
[[nodiscard]] Expected<APInt> zext(std::uint32_t NewBitWidth) const;
[[nodiscard]] Expected<APInt> sext(std::uint32_t NewBitWidth) const;
+ [[nodiscard]] Expected<APInt> logicalShiftRight(std::size_t Amount) const;
[[nodiscard]] int compare(const APInt &Other) const noexcept;
[[nodiscard]] int compareToShifted(const APInt &Other, std::size_t OtherShift) const noexcept;