15#ifndef MLIR_DIALECT_UTILS_VERIFICATIONUTILS_H
16#define MLIR_DIALECT_UTILS_VERIFICATIONUTILS_H
33 StringRef lhsName, StringRef rhsName);
38 ShapedType
rhs, StringRef lhsName,
Operation is the basic unit of execution within MLIR.
This class provides an abstraction over the different types of ranges over Values.
Include the generated interface declarations.
LogicalResult verifyDynamicDimensionCount(Operation *op, ShapedType type, ValueRange dynamicSizes)
Verify that the number of dynamic size operands matches the number of dynamic dimensions in the shape...
LogicalResult verifyRanksMatch(Operation *op, ShapedType lhs, ShapedType rhs, StringRef lhsName, StringRef rhsName)
Verify that two shaped types have matching ranks.
LogicalResult verifyElementTypesMatch(Operation *op, ShapedType lhs, ShapedType rhs, StringRef lhsName, StringRef rhsName)
Verify that two shaped types have matching element types.