MLIR-AIE
AIEVecTypes.h
Go to the documentation of this file.
1//===- AIEVecTypes.h - AIE Vector Type Classes ------------------*- 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 Advanced Micro Devices, Inc. or its affiliates
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef AIE_DIALECT_AIEVEC_IR_AIEVECTYPES_H
12#define AIE_DIALECT_AIEVEC_IR_AIEVECTYPES_H
13
14#include "mlir/IR/BuiltinTypes.h"
15#include "mlir/IR/Dialect.h"
16#include "mlir/IR/Types.h"
17
18//===----------------------------------------------------------------------===//
19// AIE Vector Dialect Types
20//===----------------------------------------------------------------------===//
21
22namespace xilinx::aievec {
23
24// Base class of all AIE types
25class AIEVecType : public mlir::Type {
26public:
27 using Type::Type;
28
29 /// Methods for support type inquiry through isa, cast, and dyn_cast.
30 static bool classof(Type type);
31};
32
33} // namespace xilinx::aievec
34
35//===----------------------------------------------------------------------===//
36// Tablegen Type Declarations
37//===----------------------------------------------------------------------===//
38
39#define GET_TYPEDEF_CLASSES
40#include "aie/Dialect/AIEVec/IR/AIEVecOpsTypes.h.inc"
41
42#endif // AIE_DIALECT_AIEVEC_IR_AIEVECTYPES_H
static bool classof(Type type)
Methods for support type inquiry through isa, cast, and dyn_cast.