LLZK
3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Toggle main menu visibility
Loading...
Searching...
No Matches
Constants.cpp
Go to the documentation of this file.
1
//===-- Constants.cpp - LLZK constants --------------------------*- 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/Util/Constants.h
"
11
12
#include "
llzk-c/Constants.h
"
13
14
#include "
llzk/Dialect/Function/IR/Ops.h
"
15
16
const
char
*
LLZK_FUNC_NAME_COMPUTE
=
llzk::FUNC_NAME_COMPUTE
;
17
const
char
*
LLZK_FUNC_NAME_CONSTRAIN
=
llzk::FUNC_NAME_CONSTRAIN
;
18
const
char
*
LLZK_FUNC_NAME_PRODUCT
=
llzk::FUNC_NAME_PRODUCT
;
19
const
char
*
LLZK_LANG_ATTR_NAME
=
llzk::LANG_ATTR_NAME
;
20
const
char
*
LLZK_FIELD_ATTR_NAME
=
llzk::FIELD_ATTR_NAME
;
21
const
char
*
LLZK_MAIN_ATTR_NAME
=
llzk::MAIN_ATTR_NAME
;
22
const
char
*
LLZK_FUNCTION_ARG_NAME_ATTR_NAME
=
llzk::function::ARG_NAME_ATTR_NAME
;
23
const
char
*
LLZK_FUNCTION_RES_NAME_ATTR_NAME
=
llzk::function::RES_NAME_ATTR_NAME
;
LLZK_FUNCTION_ARG_NAME_ATTR_NAME
const char * LLZK_FUNCTION_ARG_NAME_ATTR_NAME
Name of the attribute on function arguments that stores source-level argument names.
Definition
Constants.cpp:22
LLZK_FUNCTION_RES_NAME_ATTR_NAME
const char * LLZK_FUNCTION_RES_NAME_ATTR_NAME
Name of the attribute on function results that stores source-level result names.
Definition
Constants.cpp:23
LLZK_LANG_ATTR_NAME
const char * LLZK_LANG_ATTR_NAME
Name of the attribute on the top-level ModuleOp that identifies the ModuleOp as the root module and s...
Definition
Constants.cpp:19
LLZK_FUNC_NAME_COMPUTE
const char * LLZK_FUNC_NAME_COMPUTE
Symbol name for the witness generation function within a struct/component.
Definition
Constants.cpp:16
LLZK_FIELD_ATTR_NAME
const char * LLZK_FIELD_ATTR_NAME
Name of the attribute on the top-level ModuleOp that defines prime fields used in the circuit.
Definition
Constants.cpp:20
LLZK_FUNC_NAME_PRODUCT
const char * LLZK_FUNC_NAME_PRODUCT
Symbol name for the product program function within a struct/component.
Definition
Constants.cpp:18
LLZK_MAIN_ATTR_NAME
const char * LLZK_MAIN_ATTR_NAME
Name of the attribute on the top-level ModuleOp that specifies the type of the main struct.
Definition
Constants.cpp:21
LLZK_FUNC_NAME_CONSTRAIN
const char * LLZK_FUNC_NAME_CONSTRAIN
Symbol name for the constraint generation function within a struct/component.
Definition
Constants.cpp:17
Ops.h
Constants.h
Constants.h
llzk::function::ARG_NAME_ATTR_NAME
constexpr char ARG_NAME_ATTR_NAME[]
Attribute name for source-level function argument names.
Definition
Ops.h:35
llzk::function::RES_NAME_ATTR_NAME
constexpr char RES_NAME_ATTR_NAME[]
Attribute name for source-level function result names.
Definition
Ops.h:38
llzk::FUNC_NAME_COMPUTE
constexpr char FUNC_NAME_COMPUTE[]
Symbol name for the witness generation (and resp.
Definition
Constants.h:16
llzk::LANG_ATTR_NAME
constexpr char LANG_ATTR_NAME[]
Name of the attribute on the top-level ModuleOp that identifies the ModuleOp as the root module and s...
Definition
Constants.h:23
llzk::FUNC_NAME_CONSTRAIN
constexpr char FUNC_NAME_CONSTRAIN[]
Definition
Constants.h:17
llzk::FUNC_NAME_PRODUCT
constexpr char FUNC_NAME_PRODUCT[]
Definition
Constants.h:18
llzk::FIELD_ATTR_NAME
constexpr char FIELD_ATTR_NAME[]
Name of the attribute on the top-level ModuleOp that defines prime fields used in the circuit.
Definition
Constants.h:32
llzk::MAIN_ATTR_NAME
constexpr char MAIN_ATTR_NAME[]
Name of the attribute on the top-level ModuleOp that specifies the type of the main struct.
Definition
Constants.h:37
lib
CAPI
Constants.cpp
Generated by
1.17.0
Copyright 2025 Veridise Inc. under the Apache License v2.0. Copyright 2026 Project LLZK under the Apache License v2.0.