1//===-- Types.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_FELT_TYPES
11#define LLZK_FELT_TYPES
13include "llzk/Dialect/Felt/IR/Dialect.td"
15include "mlir/IR/AttrTypeBase.td"
16include "mlir/IR/BuiltinTypes.td"
17include "mlir/IR/BuiltinTypeInterfaces.td"
18include "mlir/Interfaces/MemorySlotInterfaces.td"
20def LLZK_FeltType : TypeDef<FeltDialect, "Felt"> {
21 let mnemonic = "type";
22 let summary = "finite field element";
23 let description = [{}];
25 let extraClassDeclaration = [{
26 static ::llzk::felt::FeltType get(::mlir::MLIRContext *context) {
27 return Base::get(context);
32#endif // LLZK_FELT_TYPES