brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 41e7cb2 Raw
34 lines · c
1//===-- mlir-c/Dialect/Arith.h - C API for Arith dialect ----------*- C -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM4// Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9//10// This header declares the C interface for registering and accessing the11// Arith dialect. A dialect should be registered with a context to make it12// available to users of the context. These users must load the dialect13// before using any of its attributes, operations or types. Parser and pass14// manager can load registered dialects automatically.15//16//===----------------------------------------------------------------------===//17 18#ifndef MLIR_C_DIALECT_ARITH_H19#define MLIR_C_DIALECT_ARITH_H20 21#include "mlir-c/IR.h"22 23#ifdef __cplusplus24extern "C" {25#endif26 27MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Arith, arith);28 29#ifdef __cplusplus30}31#endif32 33#endif // MLIR_C_DIALECT_ARITH_H34