MLIR
20.0.0git
lib
Dialect
Polynomial
IR
PolynomialDialect.cpp
Go to the documentation of this file.
1
//===- PolynomialDialect.cpp - Polynomial dialect ---------------*- C++ -*-===//
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/Polynomial/IR/Polynomial.h
"
10
11
#include "
mlir/Dialect/Arith/IR/Arith.h
"
12
#include "
mlir/Dialect/Polynomial/IR/PolynomialAttributes.h
"
13
#include "
mlir/Dialect/Polynomial/IR/PolynomialOps.h
"
14
#include "
mlir/Dialect/Polynomial/IR/PolynomialTypes.h
"
15
#include "
mlir/IR/Builders.h
"
16
#include "
mlir/IR/BuiltinOps.h
"
17
#include "
mlir/IR/BuiltinTypes.h
"
18
#include "
mlir/IR/Dialect.h
"
19
#include "
mlir/IR/PatternMatch.h
"
20
#include "
mlir/Interfaces/InferTypeOpInterface.h
"
21
#include "llvm/ADT/APInt.h"
22
#include "llvm/ADT/TypeSwitch.h"
23
24
using namespace
mlir
;
25
using namespace
mlir::polynomial
;
26
27
#include "mlir/Dialect/Polynomial/IR/PolynomialDialect.cpp.inc"
28
29
#define GET_ATTRDEF_CLASSES
30
#include "mlir/Dialect/Polynomial/IR/PolynomialAttributes.cpp.inc"
31
#define GET_TYPEDEF_CLASSES
32
#include "mlir/Dialect/Polynomial/IR/PolynomialTypes.cpp.inc"
33
#define GET_OP_CLASSES
34
#include "mlir/Dialect/Polynomial/IR/Polynomial.cpp.inc"
35
36
void
PolynomialDialect::initialize() {
37
addAttributes<
38
#define GET_ATTRDEF_LIST
39
#include "mlir/Dialect/Polynomial/IR/PolynomialAttributes.cpp.inc"
40
>();
41
addTypes<
42
#define GET_TYPEDEF_LIST
43
#include "mlir/Dialect/Polynomial/IR/PolynomialTypes.cpp.inc"
44
>();
45
addOperations<
46
#define GET_OP_LIST
47
#include "mlir/Dialect/Polynomial/IR/Polynomial.cpp.inc"
48
>();
49
}
Builders.h
BuiltinOps.h
Dialect.h
InferTypeOpInterface.h
PatternMatch.h
PolynomialAttributes.h
PolynomialOps.h
PolynomialTypes.h
Polynomial.h
Arith.h
BuiltinTypes.h
mlir::polynomial
Definition:
Polynomial.h:25
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
Generated on Wed Nov 27 2024 00:42:09 for MLIR by
1.9.1