Lines Matching refs:ExtensibleDialect
345 runtime by inheriting from `mlir::ExtensibleDialect` instead of `mlir::Dialect`
346 (note that `ExtensibleDialect` inherits from `Dialect`). The `ExtensibleDialect`
351 class MyDialect : public mlir::ExtensibleDialect {
366 An extensible `Dialect` can be casted back to `ExtensibleDialect` using
370 if (auto extensibleDialect = llvm::dyn_cast<ExtensibleDialect>(dialect)) {
431 Once the operation is defined, it can be registered by an `ExtensibleDialect`:
508 The type can then be registered by the `ExtensibleDialect`:
544 type with `DynamicType::get` and `ExtensibleDialect::lookupTypeDefinition`.
607 The attribute can then be registered by the `ExtensibleDialect`:
642 `ExtensibleDialect::lookupAttrDefinition`.
667 In order to cast a `Dialect` back to an `ExtensibleDialect`, we implement the
668 `IsExtensibleDialect` interface to all `ExtensibleDialect`. The casting is done