MLIR
20.0.0git
include
mlir
Conversion
TensorToLinalg
TensorToLinalg.h
Go to the documentation of this file.
1
//===- TensorToLinalg.h - Tensor to Linalg Patterns -------------*- 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
// Provides patterns to convert Tensor dialect to Linalg dialect.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef MLIR_CONVERSION_TENSORTOLINALG_TENSORTOLINALG_H
14
#define MLIR_CONVERSION_TENSORTOLINALG_TENSORTOLINALG_H
15
16
#include "
mlir/Transforms/DialectConversion.h
"
17
18
namespace
mlir
{
19
20
/// Appends to a pattern list additional patterns for translating tensor ops
21
/// to Linalg ops.
22
void
populateTensorToLinalgPatterns
(RewritePatternSet &
patterns
);
23
24
}
// namespace mlir
25
26
#endif
// MLIR_CONVERSION_TENSORTOLINALG_TENSORTOLINALG_H
DialectConversion.h
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::populateTensorToLinalgPatterns
void populateTensorToLinalgPatterns(RewritePatternSet &patterns)
Appends to a pattern list additional patterns for translating tensor ops to Linalg ops.
Definition:
TensorToLinalg.cpp:27
mlir::patterns
const FrozenRewritePatternSet & patterns
Definition:
GreedyPatternRewriteDriver.h:233
Generated on Sun Dec 22 2024 04:31:24 for MLIR by
1.9.1