[mlir] Remove EDSC LoopBuilder, derived classes and related functionality
authorAlex Zinenko <zinenko@google.com>
Thu, 18 Jun 2020 20:55:40 +0000 (22:55 +0200)
committerAlex Zinenko <zinenko@google.com>
Fri, 19 Jun 2020 07:37:43 +0000 (09:37 +0200)
commit5c5ec96bd2c52b33b610b39e9cb9f5412722e6ea
treeeb57549f2a1d90249cbad48cc887256e2ed3f2da
parent7edc7f6edbcb5be439886c271a71df43b3f0a8e3
[mlir] Remove EDSC LoopBuilder, derived classes and related functionality

Callback-based loop construction, with loop bodies being constructed during the
construction of the parent op using a function, is now fully supported by the
core infrastructure. This provides almost the same level of brevity as EDSC
LoopBuilder at less than 30% infrastructural code cost. Functional equivalents
compatible with EDSC ScopedContext are implemented on top of the main builders.
LoopBuilder and related functionality has been deprecated, remove it.

Differential Revision: https://reviews.llvm.org/D81874
mlir/include/mlir/Dialect/Affine/EDSC/Builders.h
mlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
mlir/include/mlir/Dialect/SCF/EDSC/Builders.h
mlir/include/mlir/EDSC/Builders.h
mlir/lib/Dialect/Affine/EDSC/Builders.cpp
mlir/lib/Dialect/Linalg/EDSC/Builders.cpp
mlir/lib/Dialect/SCF/EDSC/Builders.cpp
mlir/lib/EDSC/Builders.cpp