|
LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
Implement version upgrade for StructDialect. More...
Public Member Functions | |
| LogicalResult | upgradeFromVersion (mlir::Operation *rootOp, const LLZKDialectVersion ¤t, const LLZKDialectVersion &requested) const override |
| LLZKDialectBytecodeInterface (mlir::Dialect *dia) | |
| Public Member Functions inherited from llzk::LLZKDialectBytecodeInterface< StructDialect > | |
| LLZKDialectBytecodeInterface (mlir::Dialect *dia) | |
| void | writeVersion (mlir::DialectBytecodeWriter &writer) const override |
| Writes the current version of the LLZK-lib to the given writer. | |
| std::unique_ptr< mlir::DialectVersion > | readVersion (mlir::DialectBytecodeReader &reader) const override |
| Read the version of this dialect from the provided reader and return it as a unique_ptr to a dialect version object (or nullptr on failure). | |
| mlir::LogicalResult | upgradeFromVersion (mlir::Operation *rootOp, const mlir::DialectVersion &version) const final |
| Hook invoked for each custom dialect after parsing is completed if a version directive was present and included an entry for the current dialect. | |
Implement version upgrade for StructDialect.
Definition at line 212 of file Dialect.cpp.
|
inline |
Definition at line 42 of file Versioning.h.
|
inlineoverride |
Definition at line 215 of file Dialect.cpp.