[mlir] Split BufferUtils.h out of Bufferize.h
authorSean Silva <silvasean@google.com>
Mon, 16 Nov 2020 21:10:20 +0000 (13:10 -0800)
committerSean Silva <silvasean@google.com>
Thu, 19 Nov 2020 20:56:36 +0000 (12:56 -0800)
commit7f2ebde7357a93103f9d64f7c109f8cab27de98d
treecd6c1563e41f833c44992e0c0d8ecc3b95d883ba
parent7de7c40898a8f815d661781c92757f93fa4c6e5b
[mlir] Split BufferUtils.h out of Bufferize.h

These utilities are more closely associated with the buffer
optimizations and buffer deallocation than with the dialect conversion
stuff in Bufferize.h. So move them out.

This makes Bufferize.h very easy to understand and completely focused on
dialect conversion.

Differential Revision: https://reviews.llvm.org/D91563
mlir/include/mlir/Transforms/BufferUtils.h [new file with mode: 0644]
mlir/include/mlir/Transforms/Bufferize.h
mlir/lib/Transforms/BufferDeallocation.cpp
mlir/lib/Transforms/BufferOptimizations.cpp
mlir/lib/Transforms/BufferUtils.cpp [new file with mode: 0644]
mlir/lib/Transforms/CMakeLists.txt