21 lines
840 B
C++
21 lines
840 B
C++
//===-- BubbleDownMemorySpaceCasts.h - Bubble down cast patterns ---C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
|
|
#define MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
|
|
|
|
namespace mlir {
|
|
class PatternBenefit;
|
|
class RewritePatternSet;
|
|
/// Collect a set of patterns to bubble-down memory-space cast operations.
|
|
void populateBubbleDownMemorySpaceCastPatterns(RewritePatternSet &patterns,
|
|
PatternBenefit benefit);
|
|
} // namespace mlir
|
|
|
|
#endif // MLIR_TRANSFORMS_BUBBLEDOWNMEMORYSPACECASTS_H
|