MLIR-AIE 1.4.5.dev
AIEXToEmitC.h
Go to the documentation of this file.
1//===- AIEXToEmitC.h --------------------------------------------*- C++ -*-===//
2//
3// Copyright (C) 2026 Advanced Micro Devices, Inc.
4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5//
6//===----------------------------------------------------------------------===//
7
8#ifndef AIE_CONVERSION_AIEXTOEMITC_AIEXTOEMITC_H
9#define AIE_CONVERSION_AIEXTOEMITC_AIEXTOEMITC_H
10
11#include "mlir/IR/BuiltinOps.h"
12#include "mlir/Pass/Pass.h"
13#include <memory>
14
15namespace xilinx {
16
17std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
19
20/// \brief Configure the pass programmatically; see AIETranslateNpuToCpp.
21std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
22createConvertAIEXToEmitCPass(bool foldDDRAddrOffset, bool emitDispatchShim);
23
24} // namespace xilinx
25
26#endif // AIE_CONVERSION_AIEXTOEMITC_AIEXTOEMITC_H
std::unique_ptr< mlir::OperationPass< mlir::ModuleOp > > createConvertAIEXToEmitCPass()