MLIR  16.0.0git
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 
13 
14 namespace mlir {
15 /// Derived class that automatically populates legalization information for
16 /// different LLVM ops.
18 public:
19  explicit LLVMConversionTarget(MLIRContext &ctx);
20 };
21 } // namespace mlir
22 
23 #endif // MLIR_CONVERSION_LLVMCOMMON_CONVERSIONTARGET_H
This class describes a specific conversion target.
Derived class that automatically populates legalization information for different LLVM ops.
LLVMConversionTarget(MLIRContext &ctx)
MLIRContext is the top-level object for a collection of MLIR operations.
Definition: MLIRContext.h:56
Include the generated interface declarations.