@@ -87,42 +87,6 @@ def AsmATTOrIntel : LLVM_EnumAttr<
87
87
// Atomic Operations
88
88
//===----------------------------------------------------------------------===//
89
89
90
- def AtomicBinOpXchg : LLVM_EnumAttrCase<"xchg", "xchg", "Xchg", 0>;
91
- def AtomicBinOpAdd : LLVM_EnumAttrCase<"add", "add", "Add", 1>;
92
- def AtomicBinOpSub : LLVM_EnumAttrCase<"sub", "sub", "Sub", 2>;
93
- def AtomicBinOpAnd : LLVM_EnumAttrCase<"_and", "_and", "And", 3>;
94
- def AtomicBinOpNand : LLVM_EnumAttrCase<"nand", "nand", "Nand", 4>;
95
- def AtomicBinOpOr : LLVM_EnumAttrCase<"_or", "_or", "Or", 5>;
96
- def AtomicBinOpXor : LLVM_EnumAttrCase<"_xor", "_xor", "Xor", 6>;
97
- def AtomicBinOpMax : LLVM_EnumAttrCase<"max", "max", "Max", 7>;
98
- def AtomicBinOpMin : LLVM_EnumAttrCase<"min", "min", "Min", 8>;
99
- def AtomicBinOpUMax : LLVM_EnumAttrCase<"umax", "umax", "UMax", 9>;
100
- def AtomicBinOpUMin : LLVM_EnumAttrCase<"umin", "umin", "UMin", 10>;
101
- def AtomicBinOpFAdd : LLVM_EnumAttrCase<"fadd", "fadd", "FAdd", 11>;
102
- def AtomicBinOpFSub : LLVM_EnumAttrCase<"fsub", "fsub", "FSub", 12>;
103
- def AtomicBinOpFMax : LLVM_EnumAttrCase<"fmax", "fmax", "FMax", 13>;
104
- def AtomicBinOpFMin : LLVM_EnumAttrCase<"fmin", "fmin", "FMin", 14>;
105
- def AtomicBinOpUIncWrap : LLVM_EnumAttrCase<"uinc_wrap",
106
- "uinc_wrap", "UIncWrap", 15>;
107
- def AtomicBinOpUDecWrap : LLVM_EnumAttrCase<"udec_wrap",
108
- "udec_wrap", "UDecWrap", 16>;
109
-
110
- // A sentinel value that has no MLIR counterpart.
111
- def AtomicBadBinOp : LLVM_EnumAttrCase<"", "", "BAD_BINOP", 0>;
112
-
113
- def AtomicBinOp : LLVM_EnumAttr<
114
- "AtomicBinOp",
115
- "::llvm::AtomicRMWInst::BinOp",
116
- "llvm.atomicrmw binary operations",
117
- [AtomicBinOpXchg, AtomicBinOpAdd, AtomicBinOpSub, AtomicBinOpAnd,
118
- AtomicBinOpNand, AtomicBinOpOr, AtomicBinOpXor, AtomicBinOpMax,
119
- AtomicBinOpMin, AtomicBinOpUMax, AtomicBinOpUMin, AtomicBinOpFAdd,
120
- AtomicBinOpFSub, AtomicBinOpFMax, AtomicBinOpFMin, AtomicBinOpUIncWrap,
121
- AtomicBinOpUDecWrap],
122
- [AtomicBadBinOp]> {
123
- let cppNamespace = "::mlir::LLVM";
124
- }
125
-
126
90
def AtomicOrderingNotAtomic : LLVM_EnumAttrCase<"not_atomic",
127
91
"not_atomic", "NotAtomic", 0>;
128
92
def AtomicOrderingUnordered : LLVM_EnumAttrCase<"unordered",
0 commit comments