MLIR-AIE
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
c
d
h
i
o
p
r
s
u
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
v
x
Functions
a
b
c
d
e
f
g
i
l
m
o
p
s
u
v
Typedefs
a
b
c
i
l
m
p
s
Enumerations
Enumerator
a
c
i
t
Macros
a
d
e
g
i
l
m
n
o
p
s
t
u
x
lib
Dialect
AIEVec
IR
AIEVecTypes.cpp
Go to the documentation of this file.
1
//===-------- AIEVecTypes.cpp - AIE vector types ----------------*- 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
// This file implements convenience types for AIE vectorization.
11
//===----------------------------------------------------------------------===//
12
13
#include "
aie/Dialect/AIEVec/IR/AIEVecTypes.h
"
14
#include "aie/Dialect/AIEVec/IR/AIEVecOpsDialect.h.inc"
15
#include "mlir/IR/DialectImplementation.h"
16
#include "llvm/ADT/TypeSwitch.h"
17
18
using namespace
mlir
;
19
using namespace
xilinx::aievec
;
20
21
//===----------------------------------------------------------------------===//
22
// TableGen'd type method definitions
23
//===----------------------------------------------------------------------===//
24
25
#define GET_TYPEDEF_CLASSES
26
#include "aie/Dialect/AIEVec/IR/AIEVecOpsTypes.cpp.inc"
27
28
void
AIEVecDialect::registerTypes() {
29
addTypes<
30
#define GET_TYPEDEF_LIST
31
#include "aie/Dialect/AIEVec/IR/AIEVecOpsTypes.cpp.inc"
32
>();
33
}
34
35
//===----------------------------------------------------------------------===//
36
// AIE Vector Types
37
//===----------------------------------------------------------------------===//
38
39
bool
AIEVecType::classof
(Type type) {
40
return
llvm::isa<AIEVecDialect>(type.getDialect());
41
}
39
bool
AIEVecType::classof
(Type type) {
…
}
AIEVecTypes.h
xilinx::aievec::AIEVecType::classof
static bool classof(Type type)
Methods for support type inquiry through isa, cast, and dyn_cast.
Definition
AIEVecTypes.cpp:39
mlir
Definition
AIEVecToLLVM.h:18
xilinx::aievec
Definition
AIEVecToLLVM.h:25
Generated on Tue Apr 8 2025 15:03:08 for MLIR-AIE by
1.9.8