LLZK 2.1.1
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Verif.h
Go to the documentation of this file.
1//===-- Verif.h - C API for Verif dialect -------------------------*- C -*-===//
2//
3// Part of the LLZK Project, under the Apache License v2.0.
4// See LICENSE.txt for license information.
5// Copyright 2026 Project LLZK
6// SPDX-License-Identifier: Apache-2.0
7//
8//===----------------------------------------------------------------------===//
9//
10// This header declares the C interface for registering and accessing the
11// Verif dialect. A dialect should be registered with a context to make it
12// available to users of the context. These users must load the dialect
13// before using any of its attributes, operations, or types. Parser and pass
14// manager can load registered dialects automatically.
15//
16//===----------------------------------------------------------------------===//
17
18#ifndef LLZK_C_DIALECT_VERIF_H
19#define LLZK_C_DIALECT_VERIF_H
20
21#include "llzk-c/Support.h"
22
23#include <mlir-c/IR.h>
24#include <mlir-c/Support.h>
25
26// Include the generated CAPI
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
35
38 Verif, ContractOp, MlirIdentifier sym_name, MlirAttribute target, MlirAttribute function_type,
39 MlirAttribute arg_attrs
40);
41
44 Verif, ContractOp, FromTargetIdentifier, MlirIdentifier sym_name, MlirIdentifier target
45);
46
49 Verif, ContractOp, FromTargetAttr, MlirIdentifier sym_name, MlirAttribute target
50);
51
55 Verif, IncludeOp, MlirAttribute callee, MlirValueRange argOperands, MlirAttribute templateParams
56);
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif // LLZK_C_DIALECT_VERIF_H
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Verif, llzk__verif)
Get reference to the LLZK verif dialect.
#define LLZK_DECLARE_SUFFIX_OP_BUILD_METHOD(dialect, op, suffix,...)
Definition Support.h:33
#define LLZK_DECLARE_OP_BUILD_METHOD(dialect, op,...)
Definition Support.h:38
Representation of an mlir::ValueRange
Definition Support.h:47