bolt/deps/llvm-18.1.8/mlir/include/mlir-c/Dialect/Math.h
2025-02-14 19:21:04 +01:00

33 lines
1 KiB
C

//===-- mlir-c/Dialect/Math.h - C API for Math dialect ------------*- C -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM
// Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This header declares the C interface for registering and accessing the
// Math dialect. A dialect should be registered with a context to make it
// available to users of the context. These users must load the dialect
// before using any of its attributes, operations or types. Parser and pass
// manager can load registered dialects automatically.
//
//===----------------------------------------------------------------------===//
#ifndef MLIR_C_DIALECT_MATH_H
#define MLIR_C_DIALECT_MATH_H
#include "mlir-c/IR.h"
#ifdef __cplusplus
extern "C" {
#endif
MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Math, math);
#ifdef __cplusplus
}
#endif
#endif // MLIR_C_DIALECT_MATH_H