Go to the source code of this file.
|
mlir::InFlightDiagnostic | llzk::component::genCompareErr (StructDefOp &expected, mlir::Operation *origin, const char *aspect) |
|
mlir::LogicalResult | llzk::component::checkSelfType (mlir::SymbolTableCollection &symbolTable, StructDefOp &expectedStruct, mlir::Type actualType, mlir::Operation *origin, const char *aspect) |
|
bool | llzk::component::isInStruct (mlir::Operation *op) |
| Return true iff the given Operation is nested somewhere within a StructDefOp.
|
|
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.
|
|
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.
|
|
template<char const * FuncName, unsigned PrefixLen> |
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.
|
|
◆ GET_OP_CLASSES
Definition at line 41 of file Ops.h.