My Project
Public Types | Public Member Functions | Protected Member Functions | List of all members
mlir::DialectInterface Class Reference

This class represents an interface overridden for a single dialect. More...

#include <DialectInterface.h>

Public Types

template<typename ConcreteType >
using Base = detail::DialectInterfaceBase< ConcreteType, DialectInterface >
 

Public Member Functions

virtual ~DialectInterface ()
 
DialectgetDialect () const
 Return the dialect that this interface represents. More...
 
ClassIDgetID () const
 Return the derived interface id. More...
 

Protected Member Functions

 DialectInterface (Dialect *dialect, ClassID *id)
 

Detailed Description

This class represents an interface overridden for a single dialect.

Member Typedef Documentation

◆ Base

template<typename ConcreteType >
using mlir::DialectInterface::Base = detail::DialectInterfaceBase<ConcreteType, DialectInterface>

The base class used for all derived interface types. This class provides utilities necessary for registration.

Constructor & Destructor Documentation

◆ ~DialectInterface()

DialectInterface::~DialectInterface ( )
virtual

◆ DialectInterface()

mlir::DialectInterface::DialectInterface ( Dialect dialect,
ClassID id 
)
inlineprotected

Member Function Documentation

◆ getDialect()

Dialect* mlir::DialectInterface::getDialect ( ) const
inline

Return the dialect that this interface represents.

◆ getID()

ClassID* mlir::DialectInterface::getID ( ) const
inline

Return the derived interface id.


The documentation for this class was generated from the following files: