llvm-project/mlir
Alex Zinenko 6163fa7926 [mlir] DialectConversion: remove vtable from TypeConverter
The original design of TypeConverter expected specific converters to derive the
class and override virtual functions for conversions and materializations. This
did not scale well to multi-dialect conversions, so the design was changed to
register a list of converter and materializer functions, removing the need for
virtual functions. The only remaining virtual function, `convertSignatureArg`
is never overridden in-tree. Make it non-virtual, drop the virtual destructor
and thus remove vtable from TypeConverter.

If there exist TypeConverter users that need custom `convertSignatureArg`
behavior, it should be implemented using the callback registration mechanism
similar to that of conversions and materializations.

Differential Revision: https://reviews.llvm.org/D80993
2020-06-03 15:31:02 +02:00
..
cmake/modules [mlir] Make translation libraries available through MLIRConfig.cmake 2020-05-28 17:39:07 +02:00
docs [mlir] support materialization for 1-1 type conversions 2020-06-02 13:48:33 +02:00
examples [mlir] Toy tutorial: avoid erasing and then re-creating loop terminators 2020-06-02 12:54:03 +02:00
include [mlir] DialectConversion: remove vtable from TypeConverter 2020-06-03 15:31:02 +02:00
lib [mlir][Linalg] NFC - Make markers use Identifier instead of StringRef 2020-06-03 05:52:32 -04:00
test [mlir][Linalg] NFC - Make markers use Identifier instead of StringRef 2020-06-03 05:52:32 -04:00
tools [mlir][SCF] Add utility to clone an scf.ForOp while appending new yield values. 2020-05-29 07:28:17 -04:00
unittests [MLIR] LLVMMLIRTableGen -> MLIRTableGen 2020-05-19 14:49:32 -07:00
utils [mlir] Change generate-test-checks.py to `%[[V:.*]]` style 2020-05-13 14:50:14 -07:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [mlir][gpu][mlir-cuda-runner] Refactor ConvertKernelFuncToCubin to be generic. 2020-05-28 09:08:28 -05:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.