1//===-- Enums.td -------------------------------------------*- tablegen -*-===//
3// Part of the LLZK Project, under the Apache License v2.0.
4// See LICENSE.txt for license information.
5// Copyright 2025 Veridise Inc.
6// SPDX-License-Identifier: Apache-2.0
8//===----------------------------------------------------------------------===//
10#ifndef LLZK_BOOLEAN_ENUMS
11#define LLZK_BOOLEAN_ENUMS
13include "mlir/IR/EnumAttr.td"
15def LLZK_FeltCmpPredicate
17 "FeltCmpPredicate", "Field element comparison predicate",
18 [I32EnumAttrCase<"EQ", 0, "eq">, I32EnumAttrCase<"NE", 1, "ne">,
19 I32EnumAttrCase<"LT", 2, "lt">, I32EnumAttrCase<"LE", 3, "le">,
20 I32EnumAttrCase<"GT", 4, "gt">, I32EnumAttrCase<"GE", 5, "ge">,
22 let genSpecializedAttr = 0;
23 let cppNamespace = "::llzk::boolean";
26#endif // LLZK_BOOLEAN_ENUMS