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 24