LLZK
0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
Dialect.cpp
Go to the documentation of this file.
1
//===-- Dialect.cpp - Dialect method implementations ------------*- 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/Config/Config.h
"
11
#include "
llzk/Dialect/Felt/IR/Types.h
"
12
#include "
llzk/Dialect/Function/IR/Ops.h
"
13
#include "
llzk/Dialect/LLZK/IR/AttributeHelper.h
"
14
#include "
llzk/Dialect/LLZK/IR/Attrs.h
"
15
#include "
llzk/Dialect/LLZK/IR/Dialect.h
"
16
#include "
llzk/Dialect/LLZK/IR/Versioning.h
"
17
18
#include <mlir/Bytecode/BytecodeImplementation.h>
19
#include <mlir/IR/DialectImplementation.h>
20
#include <mlir/Support/LLVM.h>
21
22
#include <llvm/ADT/TypeSwitch.h>
23
24
// TableGen'd implementation files
25
#include "
llzk/Dialect/LLZK/IR/Dialect.cpp.inc
"
26
27
// Need a complete declaration of storage classes for below
28
#define GET_ATTRDEF_CLASSES
29
#include "
llzk/Dialect/LLZK/IR/Attrs.cpp.inc
"
30
31
//===------------------------------------------------------------------===//
32
// LLZKDialect
33
//===------------------------------------------------------------------===//
34
35
auto
llzk::LLZKDialect::initialize() ->
void
{
36
// clang-format off
37
addAttributes<
38
#define GET_ATTRDEF_LIST
39
#include "
llzk/Dialect/LLZK/IR/Attrs.cpp.inc
"
40
>();
41
// clang-format on
42
addInterfaces<LLZKDialectBytecodeInterface<LLZKDialect>>();
43
}
AttributeHelper.h
Config.h
Types.h
Ops.h
Attrs.cpp.inc
Attrs.h
Dialect.cpp.inc
Dialect.h
Versioning.h
lib
Dialect
LLZK
IR
Dialect.cpp
Generated by
1.14.0
Copyright 2025 Veridise Inc. under the Apache License v2.0.