LLZK
0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Dialect.cpp
Go to the documentation of this file.
1
//===-- Dialect.cpp - Array dialect implementation --------------*- C++ -*-===//
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
#include "
llzk/Dialect/Array/IR/Dialect.h
"
11
#include "
llzk/Dialect/Array/IR/Ops.h
"
12
#include "
llzk/Dialect/Array/IR/Types.h
"
13
#include "
llzk/Dialect/LLZK/IR/Versioning.h
"
14
15
#include <mlir/IR/DialectImplementation.h>
16
17
#include <llvm/ADT/TypeSwitch.h>
18
19
// TableGen'd implementation files
20
#include "
llzk/Dialect/Array/IR/Dialect.cpp.inc
"
21
22
#define GET_TYPEDEF_CLASSES
23
#include "
llzk/Dialect/Array/IR/Types.cpp.inc
"
24
25
//===------------------------------------------------------------------===//
26
// ArrayDialect
27
//===------------------------------------------------------------------===//
28
29
auto
llzk::array::ArrayDialect::initialize() ->
void
{
30
// clang-format off
31
addOperations<
32
#define GET_OP_LIST
33
#include "
llzk/Dialect/Array/IR/Ops.cpp.inc
"
34
>();
35
36
addTypes<
37
#define GET_TYPEDEF_LIST
38
#include "
llzk/Dialect/Array/IR/Types.cpp.inc
"
39
>();
40
// clang-format on
41
addInterfaces<LLZKDialectBytecodeInterface<ArrayDialect>>();
42
}
Dialect.cpp.inc
Dialect.h
Ops.cpp.inc
Ops.h
Types.cpp.inc
Types.h
Versioning.h
lib
Dialect
Array
IR
Dialect.cpp
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.