[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / mlir / include / mlir-c / Dialect / Linalg.h
blob0ab201e1580330fa9abb8a5a2607db7583263cca
1 //===-- mlir-c/Dialect/Linalg.h - C API for Linalg dialect -------*- C -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM
4 // Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===---------------------------------------------------------------------===//
10 #ifndef MLIR_C_DIALECT_LINALG_H
11 #define MLIR_C_DIALECT_LINALG_H
13 #include "mlir-c/IR.h"
14 #include "mlir-c/Support.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 /// Apply the special region builder for the builtin named Linalg op.
21 /// Assert that `mlirOp` is a builtin named Linalg op.
22 MLIR_CAPI_EXPORTED void
23 mlirLinalgFillBuiltinNamedOpRegion(MlirOperation mlirOp);
25 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Linalg, linalg);
27 #ifdef __cplusplus
29 #endif
31 #include "mlir/Dialect/Linalg/Passes.capi.h.inc"
33 #endif // MLIR_C_DIALECT_LINALG_H