|
LLZK 0.1.0
Veridise's ZK Language IR
|
Namespaces | |
| namespace | detail |
Classes | |
| class | CreateStructOp |
| class | CreateStructOpAdaptor |
| class | CreateStructOpGenericAdaptor |
| class | FieldDefOp |
| class | FieldDefOpAdaptor |
| class | FieldDefOpGenericAdaptor |
| class | FieldReadOp |
| class | FieldReadOpAdaptor |
| class | FieldReadOpGenericAdaptor |
| class | FieldRefOpInterface |
| class | FieldWriteOp |
| class | FieldWriteOpAdaptor |
| class | FieldWriteOpGenericAdaptor |
| struct | InStructFunctionNamed |
| This class provides a verifier for ops that are expecting to have an ancestor FuncDefOp with the given name. More... | |
| class | SetFuncAllowAttrs |
| Only valid/implemented for StructDefOp. More... | |
| class | StructDefOp |
| class | StructDefOpAdaptor |
| class | StructDefOpGenericAdaptor |
| class | StructDialect |
| class | StructType |
Functions | |
| bool | isInStruct (Operation *op) |
| FailureOr< StructDefOp > | verifyInStruct (Operation *op) |
| bool | isInStructFunctionNamed (Operation *op, char const *funcName) |
| InFlightDiagnostic | genCompareErr (StructDefOp expected, Operation *origin, const char *aspect) |
| LogicalResult | checkSelfType (SymbolTableCollection &tables, StructDefOp expectedStruct, Type actualType, Operation *origin, const char *aspect) |
| Verifies that the given actualType matches the StructDefOp given (i.e., for the "self" type parameter and return of the struct functions). | |
| ParseResult | parseStructParams (AsmParser &parser, ArrayAttr &value) |
| void | printStructParams (AsmPrinter &printer, ArrayAttr value) |
| mlir::InFlightDiagnostic | genCompareErr (StructDefOp expected, mlir::Operation *origin, const char *aspect) |
| mlir::LogicalResult | checkSelfType (mlir::SymbolTableCollection &symbolTable, StructDefOp expectedStruct, mlir::Type actualType, mlir::Operation *origin, const char *aspect) |
| bool | isInStruct (mlir::Operation *op) |
| Return true iff the given Operation is nested somewhere within a StructDefOp. | |
| mlir::FailureOr< StructDefOp > | verifyInStruct (mlir::Operation *op) |
| If the given Operation is nested somewhere within a StructDefOp, return a success result containing that StructDefOp. | |
| bool | isInStructFunctionNamed (mlir::Operation *op, char const *funcName) |
| Return true iff the given Operation is contained within a FuncDefOp with the given name that is itself contained within a StructDefOp. | |
| template<char const * FuncName, unsigned PrefixLen> | |
| mlir::LogicalResult | verifyInStructFunctionNamed (mlir::Operation *op, llvm::function_ref< llvm::SmallString< PrefixLen >()> prefix) |
| Checks if the given Operation is contained within a FuncDefOp with the given name that is itself contained within a StructDefOp, producing an error if not. | |
| mlir::ParseResult | parseStructParams (mlir::AsmParser &parser, mlir::ArrayAttr &value) |
| void | printStructParams (mlir::AsmPrinter &printer, mlir::ArrayAttr value) |
| mlir::LogicalResult llzk::component::checkSelfType | ( | mlir::SymbolTableCollection & | symbolTable, |
| StructDefOp | expectedStruct, | ||
| mlir::Type | actualType, | ||
| mlir::Operation * | origin, | ||
| const char * | aspect ) |
| LogicalResult llzk::component::checkSelfType | ( | SymbolTableCollection & | tables, |
| StructDefOp | expectedStruct, | ||
| Type | actualType, | ||
| Operation * | origin, | ||
| const char * | aspect ) |
Verifies that the given actualType matches the StructDefOp given (i.e., for the "self" type parameter and return of the struct functions).
| mlir::InFlightDiagnostic llzk::component::genCompareErr | ( | StructDefOp | expected, |
| mlir::Operation * | origin, | ||
| const char * | aspect ) |
| InFlightDiagnostic llzk::component::genCompareErr | ( | StructDefOp | expected, |
| Operation * | origin, | ||
| const char * | aspect ) |
| bool llzk::component::isInStruct | ( | mlir::Operation * | op | ) |
Return true iff the given Operation is nested somewhere within a StructDefOp.
| bool llzk::component::isInStructFunctionNamed | ( | mlir::Operation * | op, |
| char const * | funcName ) |
Return true iff the given Operation is contained within a FuncDefOp with the given name that is itself contained within a StructDefOp.
| bool llzk::component::isInStructFunctionNamed | ( | Operation * | op, |
| char const * | funcName ) |
| ParseResult llzk::component::parseStructParams | ( | AsmParser & | parser, |
| ArrayAttr & | value ) |
| mlir::ParseResult llzk::component::parseStructParams | ( | mlir::AsmParser & | parser, |
| mlir::ArrayAttr & | value ) |
| void llzk::component::printStructParams | ( | AsmPrinter & | printer, |
| ArrayAttr | value ) |
| void llzk::component::printStructParams | ( | mlir::AsmPrinter & | printer, |
| mlir::ArrayAttr | value ) |
| mlir::FailureOr< StructDefOp > llzk::component::verifyInStruct | ( | mlir::Operation * | op | ) |
If the given Operation is nested somewhere within a StructDefOp, return a success result containing that StructDefOp.
Otherwise emit an error and return a failure result.
| FailureOr< StructDefOp > llzk::component::verifyInStruct | ( | Operation * | op | ) |
| mlir::LogicalResult llzk::component::verifyInStructFunctionNamed | ( | mlir::Operation * | op, |
| llvm::function_ref< llvm::SmallString< PrefixLen >()> | prefix ) |
Checks if the given Operation is contained within a FuncDefOp with the given name that is itself contained within a StructDefOp, producing an error if not.