MLIR-AIE
AIEVecToLLVM.h
Go to the documentation of this file.
1//===- AIEVecToLLVM.h - AIEVec to LLVM dialect conversion -------*- C++ -*-===//
2//
3// This file is licensed 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// (c) Copyright 2022 Xilinx Inc.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef AIE_CONVERSION_AIEVECTOLLVM_AIEVECTOLLVM_H
12#define AIE_CONVERSION_AIEVECTOLLVM_AIEVECTOLLVM_H
13
14#include "mlir/IR/BuiltinOps.h"
15#include "mlir/Pass/Pass.h"
16#include <memory>
17
18namespace mlir {
19class LLVMTypeConverter;
20class RewritePatternSet;
21class ModuleOp;
22} // namespace mlir
23
24namespace xilinx {
25namespace aievec {
26void populateAIEVecToLLVMConversionPatterns(mlir::LLVMTypeConverter &converter,
27 mlir::RewritePatternSet &patterns);
28
29std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
31} // namespace aievec
32} // namespace xilinx
33
34#endif // AIE_CONVERSION_AIEVECTOLLVM_AIEVECTOLLVM_H
void populateAIEVecToLLVMConversionPatterns(mlir::LLVMTypeConverter &converter, mlir::RewritePatternSet &patterns)
std::unique_ptr< mlir::OperationPass< mlir::ModuleOp > > createConvertAIEVecToLLVMPass()