We are trying to make a wrapper of MLIR for Julia in https://github.com/JuliaLabs/MLIR.jl, but some dialects are missing in `libMLIR-C`. This PR adds them.
15 lines
609 B
C++
15 lines
609 B
C++
//===- Affine.cpp - C Interface for Affine dialect ------------------------===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "mlir-c/Dialect/Affine.h"
|
|
#include "mlir/CAPI/Registration.h"
|
|
#include "mlir/Dialect/Affine/IR/AffineOps.h"
|
|
|
|
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Affine, affine,
|
|
mlir::affine::AffineDialect)
|