My Project
|
#include <DialectInterface.h>
Classes | |
class | iterator |
Public Member Functions | |
DialectInterfaceCollectionBase (MLIRContext *ctx, ClassID *interfaceKind) | |
virtual | ~DialectInterfaceCollectionBase () |
Protected Member Functions | |
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 |
This class is the base class for a collection of instances for a specific interface kind.
DialectInterfaceCollectionBase::DialectInterfaceCollectionBase | ( | MLIRContext * | ctx, |
ClassID * | interfaceKind | ||
) |
|
virtual |
|
protected |
Get the interface for the dialect of given operation, or null if one is not registered.
|
inlineprotected |
Get the interface for the given dialect.
|
inlineprotected |
Iterator access to the held interfaces.
|
inlineprotected |