MLIR
20.0.0git
lib
Dialect
Index
IR
IndexDialect.cpp
Go to the documentation of this file.
1
//===- IndexDialect.cpp - Index dialect definition -------------------------==//
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/IndexDialect.h
"
10
#include "
mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h
"
11
12
using namespace
mlir
;
13
using namespace
mlir::index
;
14
15
//===----------------------------------------------------------------------===//
16
// IndexDialect
17
//===----------------------------------------------------------------------===//
18
19
void
IndexDialect::initialize() {
20
registerAttributes();
21
registerOperations();
22
declarePromisedInterface<ConvertToLLVMPatternInterface, IndexDialect>();
23
}
24
25
//===----------------------------------------------------------------------===//
26
// ODS-Generated Definitions
27
//===----------------------------------------------------------------------===//
28
29
#include "mlir/Dialect/Index/IR/IndexOpsDialect.cpp.inc"
IndexDialect.h
ToLLVMInterface.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