MLIR  20.0.0git
BufferViewFlowOpInterface.h
Go to the documentation of this file.
1 //===- BufferViewFlowOpInterface.h - Buffer View Flow Analysis --*- 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_DIALECT_BUFFERIZATION_IR_BUFFERVIEWFLOWOPINTERFACE_H_
10 #define MLIR_DIALECT_BUFFERIZATION_IR_BUFFERVIEWFLOWOPINTERFACE_H_
11 
12 #include "mlir/IR/OpDefinition.h"
13 #include "mlir/Support/LLVM.h"
14 
15 namespace mlir {
16 class ValueRange;
17 
18 namespace bufferization {
19 
20 using RegisterDependenciesFn = std::function<void(ValueRange, ValueRange)>;
21 
22 } // namespace bufferization
23 } // namespace mlir
24 
25 #include "mlir/Dialect/Bufferization/IR/BufferViewFlowOpInterface.h.inc"
26 
27 #endif // MLIR_DIALECT_BUFFERIZATION_IR_BUFFERVIEWFLOWOPINTERFACE_H_
This class provides an abstraction over the different types of ranges over Values.
Definition: ValueRange.h:381
std::function< void(ValueRange, ValueRange)> RegisterDependenciesFn
Include the generated interface declarations.