18 transform::TransformDialect)
25 return isa<transform::AnyOpType>(
unwrap(type));
29 return wrap(transform::AnyOpType::getTypeID());
33 return wrap(transform::AnyOpType::get(
unwrap(ctx)));
41 return isa<transform::AnyParamType>(
unwrap(type));
45 return wrap(transform::AnyParamType::getTypeID());
49 return wrap(transform::AnyParamType::get(
unwrap(ctx)));
57 return isa<transform::AnyValueType>(
unwrap(type));
61 return wrap(transform::AnyValueType::getTypeID());
65 return wrap(transform::AnyValueType::get(
unwrap(ctx)));
73 return isa<transform::OperationType>(
unwrap(type));
77 return wrap(transform::OperationType::getTypeID());
83 transform::OperationType::get(
unwrap(ctx),
unwrap(operationName)));
87 return wrap(cast<transform::OperationType>(
unwrap(type)).getOperationName());
95 return isa<transform::ParamType>(
unwrap(type));
99 return wrap(transform::ParamType::getTypeID());
#define MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Name, Namespace, ClassName)
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
Include the generated interface declarations.
Type getType(OpFoldResult ofr)
Returns the int type of the integer in ofr.
A pointer to a sized fragment of a string, not necessarily null-terminated.