xref: /aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo-c/Dialects.h (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1 /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
2 Licensed under the Apache License, Version 2.0 (the "License");
3 you may not use this file except in compliance with the License.
4 You may obtain a copy of the License at
5     http://www.apache.org/licenses/LICENSE-2.0
6 Unless required by applicable law or agreed to in writing, software
7 distributed under the License is distributed on an "AS IS" BASIS,
8 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 See the License for the specific language governing permissions and
10 limitations under the License.
11 ==============================================================================*/
12 
13 #ifndef TENSORFLOW_COMPILER_MLIR_HLO_INCLUDE_MLIR_HLO_C_DIALECTS_H_
14 #define TENSORFLOW_COMPILER_MLIR_HLO_INCLUDE_MLIR_HLO_C_DIALECTS_H_
15 
16 #include "mlir-c/Registration.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Chlo, chlo);
23 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Mhlo, mhlo);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif  // TENSORFLOW_COMPILER_MLIR_HLO_INCLUDE_MLIR_HLO_C_DIALECTS_H_
30