MLIR-AIE
1.4.5.dev
include
aie
Target
LLVMIR
Dialect
All.h
Go to the documentation of this file.
1
//===- All.h - MLIR-AIE to LLVM dialect conversion --------------*- C++ -*-===//
2
//
3
// Copyright (C) 2024 Advanced Micro Devices, Inc.
4
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5
//
6
//===----------------------------------------------------------------------===//
7
//
8
// This file defines a helper to register the translations of all suitable
9
// AIE dialects to LLVM IR.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef AIE_TARGET_LLVMIR_DIALECT_ALL_H
14
#define AIE_TARGET_LLVMIR_DIALECT_ALL_H
15
16
#include "
aie/Target/LLVMIR/Dialect/XLLVM/XLLVMToLLVMIRTranslation.h
"
17
18
namespace
mlir
{
19
class
DialectRegistry;
20
}
// namespace mlir
21
22
namespace
xilinx
{
23
static
inline
void
24
registerAllAIEToLLVMIRTranslations(mlir::DialectRegistry ®istry) {
25
xllvm::registerXLLVMDialectTranslation
(registry);
26
}
27
}
// namespace xilinx
28
29
#endif
// AIE_TARGET_LLVMIR_DIALECT_ALL_H
XLLVMToLLVMIRTranslation.h
mlir
Definition
AIEVecToLLVM.h:16
xilinx::xllvm::registerXLLVMDialectTranslation
void registerXLLVMDialectTranslation(mlir::DialectRegistry ®istry)
Register the AIEVec dialect and the translation from it to the LLVM dialect in the given registry.
xilinx
Definition
AIEToConfiguration.h:15
Generated by
1.15.0