llvm-project/mlir/lib
River Riddle 5267f5e6b4 [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed.
Summary:
This revision adds a new hook, `notifyMatchFailure`, that allows for notifying the rewriter that a match failure is coming with the provided reason. This hook takes as a parameter a callback that fills a `Diagnostic` instance with the reason why the match failed. This allows for the rewriter to decide how this information can be displayed to the end-user, and may completely ignore it if desired(opt mode). For now, DialectConversion is updated to include this information in the debug output.

Differential Revision: https://reviews.llvm.org/D76203
2020-03-17 12:12:21 -07:00
..
Analysis [mlir][NFC] modernize / clean up some loop transform utils, affine analysis utils 2020-03-13 21:16:05 -07:00
Conversion [mlir] LLVM dialect: move ensureDistinctSuccessors out of std->LLVM conversion 2020-03-17 15:22:14 +01:00
Dialect [MLIR] Added llvm.fence 2020-03-17 17:53:37 +01:00
EDSC [MLIR] Add support for libMLIR.so 2020-03-06 13:25:18 -08:00
ExecutionEngine [mlir][CRunnerUtils] Enable compilation with C++11 toolchain on microcontroller platforms. 2020-03-12 10:18:56 -04:00
IR Affine expr simplification for add of const multiple of same expression 2020-03-17 08:22:17 +05:30
Interfaces [mlir] Only treat "Alloc" effects as dead if they are for operation results. 2020-03-14 13:53:56 -07:00
Parser [mlir] Add support for non-identifier attribute names. 2020-03-11 13:22:33 -07:00
Pass [MLIR] Add support for libMLIR.so 2020-03-06 13:25:18 -08:00
Quantizer [QuantOps] Add the quant region definition 2020-03-16 15:44:43 -07:00
Support [MLIR] Add support for libMLIR.so 2020-03-06 13:25:18 -08:00
TableGen [mlir] Add support for the attribute verifiers in the dialect declaration generator. 2020-03-16 18:32:23 -07:00
Target [MLIR] Added llvm.fence 2020-03-17 17:53:37 +01:00
Transforms [mlir] Add a hook to PatternRewriter to allow for patterns to notify why a match failed. 2020-03-17 12:12:21 -07:00
Translation [mlir][SideEffects] Define a set of interfaces and traits for defining side effects 2020-03-06 14:04:36 -08:00
CMakeLists.txt [mlir][NFC] Move the operation interfaces out of Analysis/ and into a new Interfaces/ directory. 2020-03-10 12:45:45 -07:00