MLIR
20.0.0git
lib
Dialect
Index
IR
IndexAttrs.cpp
Go to the documentation of this file.
1
//===- IndexAttrs.cpp - Index attribute definitions ------------------------==//
2
//
3
// Part of the LLVM Project, 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
//===----------------------------------------------------------------------===//
8
9
#include "
mlir/Dialect/Index/IR/IndexAttrs.h
"
10
#include "
mlir/Dialect/Index/IR/IndexDialect.h
"
11
#include "
mlir/IR/Builders.h
"
12
#include "
mlir/IR/DialectImplementation.h
"
13
#include "llvm/ADT/TypeSwitch.h"
14
15
using namespace
mlir
;
16
using namespace
mlir::index
;
17
18
//===----------------------------------------------------------------------===//
19
// IndexDialect
20
//===----------------------------------------------------------------------===//
21
22
void
IndexDialect::registerAttributes() {
23
addAttributes<
24
#define GET_ATTRDEF_LIST
25
#include "mlir/Dialect/Index/IR/IndexAttrs.cpp.inc"
26
>();
27
}
28
29
//===----------------------------------------------------------------------===//
30
// ODS-Generated Declarations
31
//===----------------------------------------------------------------------===//
32
33
#include "mlir/Dialect/Index/IR/IndexEnums.cpp.inc"
34
35
#define GET_ATTRDEF_CLASSES
36
#include "mlir/Dialect/Index/IR/IndexAttrs.cpp.inc"
Builders.h
DialectImplementation.h
IndexAttrs.h
IndexDialect.h
mlir::index
Definition:
IndexToLLVM.h:23
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
Generated on Tue Nov 19 2024 08:32:30 for MLIR by
1.9.1