LLZK
3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Toggle main menu visibility
Loading...
Searching...
No Matches
Attrs.td
Go to the documentation of this file.
1
//===-- Attrs.td -------------------------------------------*- tablegen -*-===//
2
//
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
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLZK_BOOLEAN_ATTRS
11
#define LLZK_BOOLEAN_ATTRS
12
13
include "llzk/Dialect/Bool/IR/Dialect.td"
14
include "llzk/Dialect/Bool/IR/Enums.td"
15
16
class BoolDialectEnumAttr<EnumAttrInfo enum, string name, string enumMnemonic,
17
list<Trait> traits = []>
18
: EnumAttr<BoolDialect, enum, name, traits> {
19
let mnemonic = enumMnemonic;
20
}
21
22
def LLZK_CmpPredicateAttr
23
: BoolDialectEnumAttr<LLZK_FeltCmpPredicate, "cmp_predicate", "cmp"> {
24
let assemblyFormat = [{ $value }];
25
}
26
27
#endif // LLZK_BOOLEAN_ATTRS
include
llzk
Dialect
Bool
IR
Attrs.td
Generated by
1.17.0
Copyright 2025 Veridise Inc. under the Apache License v2.0. Copyright 2026 Project LLZK under the Apache License v2.0.