MLIR  22.0.0git
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.
17  PatternBenefit benefit);
18 } // namespace mlir
19 
20 #endif // MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateBubbleDownMemorySpaceCastPatterns(RewritePatternSet &patterns, PatternBenefit benefit)
Collect a set of patterns to bubble-down memory-space cast operations.