MLIR 23.0.0git
TypeConverter.h
Go to the documentation of this file.
1//===- TypeConverter.h - Convert builtin to EmitC dialect types -*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// Provides a type converter configuration for converting common builtin types
10// to the EmitC dialect.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_CONVERSION_EMITCCOMMON_TYPECONVERTER_H
15#define MLIR_CONVERSION_EMITCCOMMON_TYPECONVERTER_H
16
18
19namespace mlir {
20
21/// Conversion from common builtin types to the EmitC dialect.
23public:
24 using TypeConverter::convertType;
25
26 explicit EmitCTypeConverter(MLIRContext *ctx);
27};
28
29} // namespace mlir
30
31#endif // MLIR_CONVERSION_EMITCCOMMON_TYPECONVERTER_H
EmitCTypeConverter(MLIRContext *ctx)
MLIRContext is the top-level object for a collection of MLIR operations.
Definition MLIRContext.h:63
Include the generated interface declarations.