MLIR
22.0.0git
include
mlir
Transforms
BubbleDownMemorySpaceCasts.h
Go to the documentation of this file.
1
//===-- BubbleDownMemorySpaceCasts.h - Bubble down cast 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
#ifndef MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
10
#define MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
11
12
namespace
mlir
{
13
class
PatternBenefit
;
14
class
RewritePatternSet
;
15
/// Collect a set of patterns to bubble-down memory-space cast operations.
16
void
populateBubbleDownMemorySpaceCastPatterns
(
RewritePatternSet
&
patterns
,
17
PatternBenefit
benefit);
18
}
// namespace mlir
19
20
#endif
// MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
mlir::PatternBenefit
This class represents the benefit of a pattern match in a unitless scheme that ranges from 0 (very li...
Definition
PatternMatch.h:34
mlir::RewritePatternSet
Definition
PatternMatch.h:816
mlir
Include the generated interface declarations.
Definition
AliasAnalysis.h:19
mlir::patterns
const FrozenRewritePatternSet & patterns
Definition
GreedyPatternRewriteDriver.h:283
mlir::populateBubbleDownMemorySpaceCastPatterns
void populateBubbleDownMemorySpaceCastPatterns(RewritePatternSet &patterns, PatternBenefit benefit)
Collect a set of patterns to bubble-down memory-space cast operations.
Definition
BubbleDownMemorySpaceCasts.cpp:66
Generated on
for MLIR by
1.14.0