MLIR
20.0.0git
include
mlir
Conversion
LLVMCommon
ConversionTarget.h
Go to the documentation of this file.
1
//===- ConversionTarget.h - LLVM dialect conversion target ------*- 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
#ifndef MLIR_CONVERSION_LLVMCOMMON_CONVERSIONTARGET_H
10
#define MLIR_CONVERSION_LLVMCOMMON_CONVERSIONTARGET_H
11
12
#include "
mlir/Transforms/DialectConversion.h
"
13
14
namespace
mlir
{
15
/// Derived class that automatically populates legalization information for
16
/// different LLVM ops.
17
class
LLVMConversionTarget
:
public
ConversionTarget
{
18
public
:
19
explicit
LLVMConversionTarget
(
MLIRContext
&ctx);
20
};
21
}
// namespace mlir
22
23
#endif
// MLIR_CONVERSION_LLVMCOMMON_CONVERSIONTARGET_H
DialectConversion.h
mlir::ConversionTarget
This class describes a specific conversion target.
Definition:
DialectConversion.h:874
mlir::LLVMConversionTarget
Derived class that automatically populates legalization information for different LLVM ops.
Definition:
ConversionTarget.h:17
mlir::LLVMConversionTarget::LLVMConversionTarget
LLVMConversionTarget(MLIRContext &ctx)
Definition:
ConversionTarget.cpp:14
mlir::MLIRContext
MLIRContext is the top-level object for a collection of MLIR operations.
Definition:
MLIRContext.h:60
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
Generated on Tue Nov 19 2024 04:32:16 for MLIR by
1.9.1