MLIR
23.0.0git
include
mlir
Conversion
EmitCCommon
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
17
#include "
mlir/Transforms/DialectConversion.h
"
18
19
namespace
mlir
{
20
21
/// Conversion from common builtin types to the EmitC dialect.
22
class
EmitCTypeConverter
:
public
TypeConverter
{
23
public
:
24
using
TypeConverter::convertType;
25
26
explicit
EmitCTypeConverter
(
MLIRContext
*ctx);
27
};
28
29
}
// namespace mlir
30
31
#endif
// MLIR_CONVERSION_EMITCCOMMON_TYPECONVERTER_H
DialectConversion.h
TypeConverter
mlir::EmitCTypeConverter::EmitCTypeConverter
EmitCTypeConverter(MLIRContext *ctx)
Definition
TypeConverter.cpp:36
mlir::MLIRContext
MLIRContext is the top-level object for a collection of MLIR operations.
Definition
MLIRContext.h:63
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:29
Generated on
for MLIR by
1.14.0