[mlir] clean up transform dialect definitions, NFC
authorAlex Zinenko <zinenko@google.com>
Tue, 4 Oct 2022 15:49:30 +0000 (15:49 +0000)
committerAlex Zinenko <zinenko@google.com>
Tue, 11 Oct 2022 09:55:10 +0000 (09:55 +0000)
commitb586d56c7b8b0188355a4d7f5f8b09f8b3847757
treea9d0817423b7812a6bd448eead49faba810dabcf
parentbba85ebdfeffba74d19a22cfb592641d0af6b66a
[mlir] clean up transform dialect definitions, NFC

Refactor the definition of the Transform dialect to move non-trivial
method implementations out of the .td file, and detemplatize functions
when possible while moving their implementations to a .cpp.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D135165
mlir/include/mlir/Dialect/Transform/IR/TransformDialect.h
mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
mlir/lib/Dialect/Transform/IR/TransformDialect.cpp