18 transform::TransformDialect)
25 return isa<transform::AnyOpType>(
unwrap(type));
29 return wrap(transform::AnyOpType::getTypeID());
41 return isa<transform::AnyParamType>(
unwrap(type));
45 return wrap(transform::AnyParamType::getTypeID());
57 return isa<transform::AnyValueType>(
unwrap(type));
61 return wrap(transform::AnyValueType::getTypeID());
73 return isa<transform::OperationType>(
unwrap(type));
77 return wrap(transform::OperationType::getTypeID());
87 return wrap(cast<transform::OperationType>(
unwrap(type)).getOperationName());
95 return isa<transform::ParamType>(
unwrap(type));
99 return wrap(transform::ParamType::getTypeID());
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
Include the generated interface declarations.
Type getType(OpFoldResult ofr)
Returns the int type of the integer in ofr.
auto get(MLIRContext *context, Ts &&...params)
Helper method that injects context only if needed, this helps unify some of the attribute constructio...
A pointer to a sized fragment of a string, not necessarily null-terminated.