LLZK
3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Toggle main menu visibility
Loading...
Searching...
No Matches
Types.h.inc
Go to the documentation of this file.
1
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2
|* *|
3
|* TypeDef Declarations *|
4
|* *|
5
|* Automatically generated file, do not edit! *|
6
|* *|
7
\*===----------------------------------------------------------------------===*/
8
9
#ifdef GET_TYPEDEF_CLASSES
10
#undef GET_TYPEDEF_CLASSES
11
12
13
namespace
mlir
{
14
class
AsmParser;
15
class
AsmPrinter;
16
}
// namespace mlir
17
namespace
llzk::felt
{
18
41
class
FeltType
;
42
namespace
detail
{
43
44
struct
FeltTypeStorage
;
45
46
}
// namespace detail
47
class
FeltType
:
public
::mlir::Type::TypeBase<FeltType, ::mlir::Type, detail::FeltTypeStorage> {
48
public
:
49
using
Base::Base;
50
bool
hasField
()
const
{
51
auto
name
=
getFieldName
();
52
return
name
&& !
name
.empty();
53
}
54
55
const ::llzk::Field &
getField
()
const
;
56
static
constexpr ::llvm::StringLiteral
name
=
"felt.type"
;
57
static
constexpr ::llvm::StringLiteral
dialectName
=
"felt"
;
58
using
Base::getChecked;
59
static
FeltType
get
(::mlir::MLIRContext *context, ::mlir::StringAttr fieldName);
60
static
FeltType
getChecked
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::mlir::StringAttr fieldName);
61
static
FeltType
get
(::mlir::MLIRContext *context);
62
static
FeltType
getChecked
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context);
63
static
FeltType
get
(::mlir::MLIRContext *context, ::llvm::StringRef fieldName);
64
static
FeltType
getChecked
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::StringRef fieldName);
65
static ::llvm::LogicalResult
verify
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName);
66
static ::llvm::LogicalResult
verifyInvariants
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName);
67
static
constexpr ::llvm::StringLiteral
getMnemonic
() {
68
return
{
"type"
};
69
}
70
71
static ::mlir::Type
parse
(::mlir::AsmParser &odsParser);
72
void
print
(::mlir::AsmPrinter &odsPrinter)
const
;
73
::mlir::StringAttr
getFieldName
()
const
;
74
};
75
76
}
// namespace llzk::felt
77
MLIR_DECLARE_EXPLICIT_TYPE_ID(
::llzk::felt::FeltType
)
78
79
#endif
// GET_TYPEDEF_CLASSES
80
llzk::felt::FeltType
Definition
Types.h.inc:47
llzk::felt::FeltType::getMnemonic
static constexpr ::llvm::StringLiteral getMnemonic()
Definition
Types.h.inc:67
llzk::felt::FeltType::dialectName
static constexpr ::llvm::StringLiteral dialectName
Definition
Types.h.inc:57
llzk::felt::FeltType::verify
::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName)
Definition
Dialect.cpp:258
llzk::felt::FeltType::getChecked
static FeltType getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::mlir::StringAttr fieldName)
Definition
Types.cpp.inc:73
llzk::felt::FeltType::getField
const ::llzk::Field & getField() const
Definition
Dialect.cpp:255
llzk::felt::FeltType::verifyInvariants
::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName)
Definition
Types.cpp.inc:93
llzk::felt::FeltType::getFieldName
::mlir::StringAttr getFieldName() const
Definition
Types.cpp.inc:133
llzk::felt::FeltType::parse
::mlir::Type parse(::mlir::AsmParser &odsParser)
Definition
Types.cpp.inc:99
llzk::felt::FeltType::name
static constexpr ::llvm::StringLiteral name
Definition
Types.h.inc:56
llzk::felt::FeltType::print
void print(::mlir::AsmPrinter &odsPrinter) const
Definition
Types.cpp.inc:121
llzk::felt::FeltType::hasField
bool hasField() const
Definition
Types.h.inc:50
llzk::felt::FeltType::get
static FeltType get(::mlir::MLIRContext *context, ::mlir::StringAttr fieldName)
Definition
Types.cpp.inc:69
llzk::felt::detail
Common interface for binary arithmetic operations on felts.
Definition
OpInterfaces.h.inc:18
llzk::felt
Definition
Attrs.cpp:16
mlir
Definition
CommonCAPIGen.h:50
llzk::felt::detail::FeltTypeStorage
Definition
Types.cpp.inc:44
build
include
llzk
Dialect
Felt
IR
Types.h.inc
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.