diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 01:03:21 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-08-15 01:03:21 +0800 |
| commit | 0ff8758f879231610bf92bee2123061fd7cfe01d (patch) | |
| tree | 288ccc605fab8abcbcbc2d61cf365a285211016e /backend/include/rcc/ADT | |
| parent | f6fdfb8d484b4e52cdb24a94a31b0f00d41a5eb7 (diff) | |
| download | rcc-project-0ff8758f879231610bf92bee2123061fd7cfe01d.tar.gz rcc-project-0ff8758f879231610bf92bee2123061fd7cfe01d.tar.xz | |
[GlobalISel] Legalize constants and implicit definitions
Diffstat (limited to 'backend/include/rcc/ADT')
| -rw-r--r-- | backend/include/rcc/ADT/APInt.h | 1 |
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; |
