LLZK
2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
RAM.h
Go to the documentation of this file.
1
//===-- RAM.h - C API for RAM 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
// RAM 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_RAM_H
19
#define LLZK_C_DIALECT_RAM_H
20
21
#include <mlir-c/IR.h>
22
23
// Include the generated CAPI
24
#include "
llzk/Dialect/RAM/IR/Ops.capi.h.inc
"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
31
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION
(RAM, llzk__ram);
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
// LLZK_C_DIALECT_RAM_H
Ops.capi.h.inc
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(RAM, llzk__ram)
Get reference to the LLZK ram dialect.
include
llzk-c
Dialect
RAM.h
Generated by
1.14.0
Copyright 2025 Veridise Inc. under the Apache License v2.0. Copyright 2026 Project LLZK under the Apache License v2.0.