LLZK 0.1.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Constants.h
Go to the documentation of this file.
1//===-- Constants.h - 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// This header declares string constants used by LLZK. The actual values are defined in
11// llzk/Utils/Constants.h
12//
13//===----------------------------------------------------------------------===//
14
15#ifndef LLZK_C_CONSTANTS_H
16#define LLZK_C_CONSTANTS_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
24extern const char *LLZK_FUNC_NAME_COMPUTE;
25extern const char *LLZK_FUNC_NAME_CONSTRAIN;
26
28extern const char *LLZK_LANG_ATTR_NAME;
29
33extern const char *LLZK_MAIN_ATTR_NAME;
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif
const char * LLZK_LANG_ATTR_NAME
Name of the attribute on the top-level ModuleOp that specifies the IR language name.
Definition Constants.cpp:16
const char * LLZK_FUNC_NAME_COMPUTE
Symbol name for the witness generation (and resp.
Definition Constants.cpp:14
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:17
const char * LLZK_FUNC_NAME_CONSTRAIN
Definition Constants.cpp:15