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
{
18
namespace
felt
{
19
class
FeltType
;
20
namespace
detail
{
21
struct
FeltTypeStorage
;
22
}
// namespace detail
23
class
FeltType
:
public
::mlir::Type::TypeBase<FeltType, ::mlir::Type, detail::FeltTypeStorage> {
24
public
:
25
using
Base::Base;
26
bool
hasField
()
const
{
27
auto
name
=
getFieldName
();
28
return
name
&& !
name
.empty();
29
}
30
31
const ::llzk::Field &
getField
()
const
;
32
static
constexpr ::llvm::StringLiteral
name
=
"felt.type"
;
33
static
constexpr ::llvm::StringLiteral
dialectName
=
"felt"
;
34
using
Base::getChecked;
35
static
FeltType
get
(::mlir::MLIRContext *context, ::mlir::StringAttr fieldName);
36
static
FeltType
getChecked
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::mlir::StringAttr fieldName);
37
static
FeltType
get
(::mlir::MLIRContext *context);
38
static
FeltType
getChecked
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context);
39
static
FeltType
get
(::mlir::MLIRContext *context, ::llvm::StringRef fieldName);
40
static
FeltType
getChecked
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::llvm::StringRef fieldName);
41
static ::llvm::LogicalResult
verify
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName);
42
static ::llvm::LogicalResult
verifyInvariants
(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName);
43
static
constexpr ::llvm::StringLiteral
getMnemonic
() {
44
return
{
"type"
};
45
}
46
47
static ::mlir::Type
parse
(::mlir::AsmParser &odsParser);
48
void
print
(::mlir::AsmPrinter &odsPrinter)
const
;
49
::mlir::StringAttr
getFieldName
()
const
;
50
};
51
}
// namespace felt
52
}
// namespace llzk
53
MLIR_DECLARE_EXPLICIT_TYPE_ID(
::llzk::felt::FeltType
)
54
55
#endif
// GET_TYPEDEF_CLASSES
56
llzk::felt::FeltType
Definition
Types.h.inc:23
llzk::felt::FeltType::getMnemonic
static constexpr ::llvm::StringLiteral getMnemonic()
Definition
Types.h.inc:43
llzk::felt::FeltType::dialectName
static constexpr ::llvm::StringLiteral dialectName
Definition
Types.h.inc:33
llzk::felt::FeltType::verify
::llvm::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName)
Definition
Dialect.cpp:244
llzk::felt::FeltType::getChecked
static FeltType getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, ::mlir::StringAttr fieldName)
Definition
Types.cpp.inc:71
llzk::felt::FeltType::getField
const ::llzk::Field & getField() const
Definition
Dialect.cpp:241
llzk::felt::FeltType::verifyInvariants
::llvm::LogicalResult verifyInvariants(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::StringAttr fieldName)
Definition
Types.cpp.inc:91
llzk::felt::FeltType::getFieldName
::mlir::StringAttr getFieldName() const
Definition
Types.cpp.inc:131
llzk::felt::FeltType::parse
::mlir::Type parse(::mlir::AsmParser &odsParser)
Definition
Types.cpp.inc:97
llzk::felt::FeltType::name
static constexpr ::llvm::StringLiteral name
Definition
Types.h.inc:32
llzk::felt::FeltType::print
void print(::mlir::AsmPrinter &odsPrinter) const
Definition
Types.cpp.inc:119
llzk::felt::FeltType::hasField
bool hasField() const
Definition
Types.h.inc:26
llzk::felt::FeltType::get
static FeltType get(::mlir::MLIRContext *context, ::mlir::StringAttr fieldName)
Definition
Types.cpp.inc:67
llzk::felt::detail
Definition
OpInterfaces.h.inc:12
llzk::felt
Definition
Attrs.cpp:14
llzk
Definition
AnalysisPassEnums.cpp:19
mlir
Definition
ValueModel.h:30
llzk::felt::detail::FeltTypeStorage
Definition
Types.cpp.inc:43
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.