Files
clang-p2996/mlir/lib/CAPI/Dialect/ControlFlow.cpp
Martin Erhart f4548ed7fc [mlir] Add C API for ControlFlow dialect
Add basic C API for the ControlFlow dialect. Follows the format of the other dialects.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D121867
2022-03-17 00:29:00 +01:00

15 lines
623 B
C++

//===- ControlFlow.cpp - C Interface for ControlFlow 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/ControlFlow.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/Dialect/ControlFlow/IR/ControlFlow.h"
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(ControlFlow, cf,
mlir::cf::ControlFlowDialect)