LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
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
15
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
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
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
const char * LLZK_FUNC_NAME_COMPUTE
Symbol name for the witness generation function within a struct/component.
Definition Constants.cpp:16
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
const char * LLZK_FUNC_NAME_PRODUCT
Symbol name for the product program function within a struct/component.
Definition Constants.cpp:18
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
const char * LLZK_FUNC_NAME_CONSTRAIN
Symbol name for the constraint generation function within a struct/component.
Definition Constants.cpp:17
constexpr char ARG_NAME_ATTR_NAME[]
Attribute name for source-level function argument names.
Definition Ops.h:35
constexpr char RES_NAME_ATTR_NAME[]
Attribute name for source-level function result names.
Definition Ops.h:38
constexpr char FUNC_NAME_COMPUTE[]
Symbol name for the witness generation (and resp.
Definition Constants.h:16
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
constexpr char FUNC_NAME_CONSTRAIN[]
Definition Constants.h:17
constexpr char FUNC_NAME_PRODUCT[]
Definition Constants.h:18
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
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