|
LLZK 0.1.0
Veridise's ZK Language IR
|
Namespaces | |
| namespace | detail |
Classes | |
| class | CallOp |
| class | CallOpAdaptor |
| class | CallOpGenericAdaptor |
| class | ConstraintGen |
| Marker for ops that are specific to constraint generation. More... | |
| class | FuncDefOp |
| class | FuncDefOpAdaptor |
| class | FuncDefOpGenericAdaptor |
| class | FunctionDialect |
| class | ReturnOp |
| class | ReturnOpAdaptor |
| class | ReturnOpGenericAdaptor |
| class | WitnessGen |
| Marker for ops that are specific to witness generation. More... | |
Enumerations | |
| enum class | FunctionKind : std::uint8_t { StructCompute , StructConstrain , StructProduct , Free } |
| Kinds of functions in LLZK. More... | |
Functions | |
| FunctionKind | fnNameToKind (mlir::StringRef name) |
| Given a function name, return the corresponding FunctionKind. | |
| LogicalResult | verifyConstraintGenTraitImpl (Operation *op) |
| LogicalResult | verifyWitnessGenTraitImpl (Operation *op) |
| mlir::LogicalResult | verifyConstraintGenTraitImpl (mlir::Operation *op) |
| mlir::LogicalResult | verifyWitnessGenTraitImpl (mlir::Operation *op) |
|
strong |
| FunctionKind llzk::function::fnNameToKind | ( | mlir::StringRef | name | ) |
Given a function name, return the corresponding FunctionKind.
One caveat to note is that this cannot check if the function is actually within a struct (it only checks if the name is one of the special names for struct functions defined in include/llzk/Util/Constants.h) so, regardless of the FunctionKind returned, the function may still be a free function and additional checks may be necessary.
| mlir::LogicalResult llzk::function::verifyConstraintGenTraitImpl | ( | mlir::Operation * | op | ) |
| LogicalResult llzk::function::verifyConstraintGenTraitImpl | ( | Operation * | op | ) |
Definition at line 30 of file OpTraits.cpp.
| mlir::LogicalResult llzk::function::verifyWitnessGenTraitImpl | ( | mlir::Operation * | op | ) |
| LogicalResult llzk::function::verifyWitnessGenTraitImpl | ( | Operation * | op | ) |
Definition at line 38 of file OpTraits.cpp.