19 llvm::cast<mlir::func::FuncOp>(
unwrap(op))
void mlirFuncSetArgAttr(MlirOperation op, intptr_t pos, MlirStringRef name, MlirAttribute attr)
Sets the argument attribute 'name' of an argument at index 'pos'.
#define MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Name, Namespace, ClassName)
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
A pointer to a sized fragment of a string, not necessarily null-terminated.