MLIR-AIE
include
aie
InitialAllDialect.h
Go to the documentation of this file.
1
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2
// See https://llvm.org/LICENSE.txt for license information.
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
//
5
// (c) Copyright 2021 Xilinx Inc.
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file defines a helper to trigger the registration of all dialects and
10
// passes to the system.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef XILINX_INITALLDIALECTS_H_
15
#define XILINX_INITALLDIALECTS_H_
16
17
#include "
aie/Dialect/ADF/ADFDialect.h
"
18
#include "
aie/Dialect/AIE/IR/AIEDialect.h
"
19
#include "
aie/Dialect/AIEVec/AIE1/IR/AIEVecAIE1Dialect.h
"
20
#include "
aie/Dialect/AIEVec/IR/AIEVecDialect.h
"
21
#include "
aie/Dialect/AIEX/IR/AIEXDialect.h
"
22
#include "
aie/Dialect/XLLVM/XLLVMDialect.h
"
23
24
#include "mlir/IR/Dialect.h"
25
26
namespace
xilinx
{
27
28
// Add all the MLIR dialects to the provided registry.
29
inline
void
registerAllDialects
(mlir::DialectRegistry ®istry) {
30
// clang-format off
31
registry.insert<
32
ADF::ADFDialect,
33
AIE::AIEDialect,
34
aievec::AIEVecDialect,
35
aievec::aie1::AIEVecAIE1Dialect,
36
AIEX::AIEXDialect,
37
xllvm::XLLVMDialect
38
>();
39
// clang-format on
40
}
41
42
}
// namespace xilinx
43
44
#endif
// XILINX_INITALLDIALECTS_H_
ADFDialect.h
AIEDialect.h
AIEVecAIE1Dialect.h
AIEVecDialect.h
AIEXDialect.h
XLLVMDialect.h
xilinx
Definition
AIEToConfiguration.h:18
xilinx::registerAllDialects
void registerAllDialects(mlir::DialectRegistry ®istry)
Definition
InitialAllDialect.h:29
Generated on Sat Aug 23 2025 00:55:48 for MLIR-AIE by
1.9.8