Files
llvm-project/mlir/lib/CAPI/Dialect/ShardPasses.cpp
Sergio Sánchez Ramírez 0d23e3f71f [MLIR] Add missing dialects to C API (#82190)
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.
2026-01-07 12:51:33 -08:00

27 lines
798 B
C++

//===- ShardPasses.cpp - C API for Shard Dialect Passes -------------------===//
//
// 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/CAPI/Pass.h"
#include "mlir/Dialect/Shard/Transforms/Passes.h"
#include "mlir/Pass/Pass.h"
// Must include the declarations as they carry important visibility attributes.
#include "mlir/Dialect/Shard/Transforms/Passes.capi.h.inc"
using namespace mlir;
using namespace mlir::shard;
#ifdef __cplusplus
extern "C" {
#endif
#include "mlir/Dialect/Shard/Transforms/Passes.capi.cpp.inc"
#ifdef __cplusplus
}
#endif