My Project
|
#include <DialectInterface.h>
Public Types | |
using | Base = DialectInterfaceCollection< InterfaceType > |
using | iterator = detail::DialectInterfaceCollectionBase::iterator< InterfaceType > |
Iterator access to the held interfaces. More... | |
Public Member Functions | |
DialectInterfaceCollection (MLIRContext *ctx) | |
Collect the registered dialect interfaces within the provided context. More... | |
template<typename Object > | |
const InterfaceType * | getInterfaceFor (Object *obj) const |
iterator | begin () const |
iterator | end () const |
![]() | |
DialectInterfaceCollectionBase (MLIRContext *ctx, ClassID *interfaceKind) | |
virtual | ~DialectInterfaceCollectionBase () |
Additional Inherited Members | |
![]() | |
const DialectInterface * | getInterfaceFor (Operation *op) const |
const DialectInterface * | getInterfaceFor (Dialect *dialect) const |
Get the interface for the given dialect. More... | |
template<typename InterfaceT > | |
iterator< InterfaceT > | interface_begin () const |
Iterator access to the held interfaces. More... | |
template<typename InterfaceT > | |
iterator< InterfaceT > | interface_end () const |
A collection of dialect interfaces within a context, for a given concrete interface type.
using mlir::DialectInterfaceCollection< InterfaceType >::Base = DialectInterfaceCollection<InterfaceType> |
using mlir::DialectInterfaceCollection< InterfaceType >::iterator = detail::DialectInterfaceCollectionBase::iterator<InterfaceType> |
Iterator access to the held interfaces.
|
inline |
Collect the registered dialect interfaces within the provided context.
|
inline |
|
inline |
|
inline |
Get the interface for a given object, or null if one is not registered. The object may be a dialect or an operation instance.