aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineMemOperand.h
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-01 17:36:40 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-01 17:36:40 +0800
commit787f3a7a20958bfa6f231abccc617f4d8de25c4d (patch)
tree775d2913f48fc5f3a6e44bc6da986da9e52754ef /backend/include/rcc/CodeGen/MachineMemOperand.h
parent77d76b73a614820bf45024b053db376f35b06d10 (diff)
downloadrcc-project-787f3a7a20958bfa6f231abccc617f4d8de25c4d.tar.gz
rcc-project-787f3a7a20958bfa6f231abccc617f4d8de25c4d.tar.xz
[CodeGen] Add MIR function and block attributes
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineMemOperand.h')
-rw-r--r--backend/include/rcc/CodeGen/MachineMemOperand.h18
1 files changed, 0 insertions, 18 deletions
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<Alignment> 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 {