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/Dialect/LLZK/IR/Versioning.h
"
11
#include "
llzk/Dialect/Struct/IR/Dialect.h
"
12
#include "
llzk/Dialect/Struct/IR/Ops.h
"
13
#include "
llzk/Dialect/Struct/IR/Types.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/Struct/IR/Dialect.cpp.inc
"
21
22
#define GET_TYPEDEF_CLASSES
23
#include "
llzk/Dialect/Struct/IR/Types.cpp.inc
"
24
25
//===------------------------------------------------------------------===//
26
// StructDialect
27
//===------------------------------------------------------------------===//
28
29
auto
llzk::component::StructDialect::initialize() ->
void
{
30
// clang-format off
31
addOperations<
32
#define GET_OP_LIST
33
#include "
llzk/Dialect/Struct/IR/Ops.cpp.inc
"
34
>();
35
36
addTypes<
37
#define GET_TYPEDEF_LIST
38
#include "
llzk/Dialect/Struct/IR/Types.cpp.inc
"
39
>();
40
// clang-format on
41
addInterfaces<LLZKDialectBytecodeInterface<StructDialect>>();
42
}
Dialect.cpp.inc
Dialect.h
Ops.cpp.inc
Ops.h
Types.cpp.inc
Types.h
Versioning.h
lib
Dialect
Struct
IR
Dialect.cpp
Generated by
1.13.2
Copyright 2025 Veridise Inc. under the Apache License v2.0.