MLIR-AIE
AIEToConfiguration.h
Go to the documentation of this file.
1//===- AIEToConfiguration.h -------------------------------------*- 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// Copyright (C) 2024, Advanced Micro Devices, Inc. All rights reserved.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef AIE_CONVERSION_AIETOCONFIGURATION_AIETOCONFIGURATION_H
12#define AIE_CONVERSION_AIETOCONFIGURATION_AIETOCONFIGURATION_H
13
14#include "mlir/IR/BuiltinOps.h"
15#include "mlir/Pass/Pass.h"
16#include <memory>
17
18namespace xilinx::AIE {
19
20class DeviceOp;
21
22std::unique_ptr<mlir::OperationPass<xilinx::AIE::DeviceOp>>
24
25std::unique_ptr<mlir::OperationPass<xilinx::AIE::DeviceOp>>
27
28std::optional<mlir::ModuleOp>
29convertTransactionBinaryToMLIR(mlir::MLIRContext *ctx,
30 std::vector<uint8_t> &binary);
31
32} // namespace xilinx::AIE
33
34#endif // AIE_CONVERSION_AIETOCONFIGURATION_AIETOCONFIGURATION_H
Include the generated interface declarations.
std::unique_ptr< mlir::OperationPass< xilinx::AIE::DeviceOp > > createConvertAIEToTransactionPass()
std::optional< mlir::ModuleOp > convertTransactionBinaryToMLIR(mlir::MLIRContext *ctx, std::vector< uint8_t > &binary)
std::unique_ptr< mlir::OperationPass< xilinx::AIE::DeviceOp > > createConvertAIEToControlPacketsPass()