[mlir] Refactor and cleanup the translation facilities.
authorRiver Riddle <riddleriver@gmail.com>
Sun, 5 Apr 2020 23:21:07 +0000 (16:21 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Sun, 5 Apr 2020 23:21:21 +0000 (16:21 -0700)
commit74d44c43e8caa5d325106b0587ea030360ed01c9
tree4d0757a0ba536449e6b9e5dd2da40234578e8fd9
parentc9da04d6604dda656bb2000e634e2e7764f486bf
[mlir] Refactor and cleanup the translation facilities.

Summary:
This revision performs several cleanups on the translation infra:
* Removes the TranslateCLParser library and consolidates into Translation
  - This was a weird library that existed in Support, and didn't really justify being a standalone library.
* Cleans up the internal registration and consolidates all of the translation functions within one registry.

Differential Revision: https://reviews.llvm.org/D77514
mlir/include/mlir/Support/TranslateClParser.h [deleted file]
mlir/include/mlir/Translation.h
mlir/lib/Support/CMakeLists.txt
mlir/lib/Support/TranslateClParser.cpp [deleted file]
mlir/lib/Translation/CMakeLists.txt
mlir/lib/Translation/Translation.cpp
mlir/tools/mlir-translate/CMakeLists.txt
mlir/tools/mlir-translate/mlir-translate.cpp