MLIR-AIE 1.4.5.dev
AIEVecTypes.h
Go to the documentation of this file.
1//===- AIEVecTypes.h - AIE Vector Type Classes ------------------*- C++ -*-===//
2//
3// Copyright (C) 2022 Advanced Micro Devices, Inc.
4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5//
6//===----------------------------------------------------------------------===//
7
8#ifndef AIE_DIALECT_AIEVEC_IR_AIEVECTYPES_H
9#define AIE_DIALECT_AIEVEC_IR_AIEVECTYPES_H
10
11#include "mlir/IR/BuiltinTypes.h"
12#include "mlir/IR/Dialect.h"
13#include "mlir/IR/Types.h"
14
15//===----------------------------------------------------------------------===//
16// AIE Vector Dialect Types
17//===----------------------------------------------------------------------===//
18
19namespace xilinx::aievec {
20
21// Base class of all AIE types
22class AIEVecType : public mlir::Type {
23public:
24 using Type::Type;
25
26 /// Methods for support type inquiry through isa, cast, and dyn_cast.
27 static bool classof(Type type);
28};
29
30} // namespace xilinx::aievec
31
32//===----------------------------------------------------------------------===//
33// Tablegen Type Declarations
34//===----------------------------------------------------------------------===//
35
36#define GET_TYPEDEF_CLASSES
37#include "aie/Dialect/AIEVec/IR/AIEVecOpsTypes.h.inc"
38
39#endif // AIE_DIALECT_AIEVEC_IR_AIEVECTYPES_H
static bool classof(Type type)
Methods for support type inquiry through isa, cast, and dyn_cast.