[Mlir-commits] [mlir] [llvm] [mlir][bufferization] Add `BufferViewFlowOpInterface` (PR #78718)

Uday Bondhugula llvmlistbot at llvm.org
Mon Feb 5 17:10:08 PST 2024


================
@@ -63,13 +63,19 @@ class BufferViewFlowAnalysis {
   /// results have to be changed.
   void rename(Value from, Value to);
 
+  /// Returns "true" if the given value is a terminal.
+  bool isTerminalBuffer(Value value) const;
+
 private:
   /// This function constructs a mapping from values to its immediate
   /// dependencies.
   void build(Operation *op);
 
   /// Maps values to all immediate dependencies this value can have.
   ValueMapT dependencies;
+
+  /// A set of all terminal values. I.e., values where the analysis stopped.
----------------
bondhugula wrote:

`values, i.e., ...`

https://github.com/llvm/llvm-project/pull/78718


More information about the Mlir-commits mailing list