llvm-project/mlir/lib/Dialect/DLTI
River Riddle 58e7bf78a3 [mlir] Add isa/dyn_cast support for dialect interfaces
This matches the same API usage as attributes/ops/types. For example:

```c++
Dialect *dialect = ...;

// Instead of this:
if (auto *interface = dialect->getRegisteredInterface<DialectInlinerInterface>())

// You can do this:
if (auto *interface = dyn_cast<DialectInlinerInterface>(dialect))
```

Differential Revision: https://reviews.llvm.org/D117859
2022-01-31 19:24:34 -08:00
..
CMakeLists.txt
DLTI.cpp [mlir] Add isa/dyn_cast support for dialect interfaces 2022-01-31 19:24:34 -08:00
Traits.cpp