MLIR-AIE
Passes.h
Go to the documentation of this file.
1//===- Passes.h - AIE Vector Passes -----------------------------*- 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// Register all the AIE vectorization passes
11//===----------------------------------------------------------------------===//
12
13#ifndef AIE_DIALECT_AIEVEC_ANALYSIS_PASSES_H
14#define AIE_DIALECT_AIEVEC_ANALYSIS_PASSES_H
15
16#include "mlir/Pass/Pass.h"
17#include "mlir/Pass/PassOptions.h"
18#include <limits>
19
20//===----------------------------------------------------------------------===//
21// Registration
22//===----------------------------------------------------------------------===//
23
24namespace mlir {
25namespace func {
26class FuncOp;
27} // namespace func
28} // namespace mlir
29
30namespace xilinx {
31namespace aievec {
32
33#define GEN_PASS_DECL
34#define GEN_PASS_CLASSES
35#include "aie/Dialect/AIEVec/Analysis/Passes.h.inc"
36
37std::unique_ptr<mlir::Pass> createAIEVecConvolutionAnalysisPass();
38
39/// Generate the code for registering passes.
40#define GEN_PASS_REGISTRATION
41#include "aie/Dialect/AIEVec/Analysis/Passes.h.inc"
42
43} // end namespace aievec
44} // end namespace xilinx
45
46#endif // AIE_DIALECT_AIEVEC_ANALYSIS_PASSES_H
std::unique_ptr< mlir::Pass > createAIEVecConvolutionAnalysisPass()