From 787f3a7a20958bfa6f231abccc617f4d8de25c4d Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Sat, 1 Aug 2026 17:36:40 +0800 Subject: [CodeGen] Add MIR function and block attributes --- backend/include/rcc/CodeGen/MachineMemOperand.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'backend/include/rcc/CodeGen/MachineMemOperand.h') diff --git a/backend/include/rcc/CodeGen/MachineMemOperand.h b/backend/include/rcc/CodeGen/MachineMemOperand.h index e513385..3f1fc64 100644 --- a/backend/include/rcc/CodeGen/MachineMemOperand.h +++ b/backend/include/rcc/CodeGen/MachineMemOperand.h @@ -80,24 +80,6 @@ enum class AtomicOrdering : std::uint8_t { SequentiallyConsistent, }; -class Alignment final { -public: - constexpr Alignment() noexcept = default; - - [[nodiscard]] static Expected create(std::uint64_t Bytes); - - [[nodiscard]] constexpr std::uint64_t bytes() const noexcept { - return Bytes; - } - - friend constexpr bool operator==(Alignment Left, Alignment Right) noexcept = default; - -private: - explicit constexpr Alignment(std::uint64_t Bytes) noexcept : Bytes(Bytes) {} - - std::uint64_t Bytes = 1; -}; - class MemorySize final { public: enum class Kind : std::uint8_t { -- cgit v1.2.3