MLIR  20.0.0git
Public Types | Public Member Functions | Protected Member Functions | List of all members
mlir::OpBuilder::ListenerBase Struct Reference

Base class for listeners. More...

#include "mlir/IR/Builders.h"

+ Inheritance diagram for mlir::OpBuilder::ListenerBase:

Public Types

enum class  Kind { OpBuilderListener = 0 , RewriterBaseListener = 1 }
 The kind of listener. More...
 

Public Member Functions

Kind getKind () const
 

Protected Member Functions

 ListenerBase (Kind kind)
 

Detailed Description

Base class for listeners.

Definition at line 273 of file Builders.h.

Member Enumeration Documentation

◆ Kind

The kind of listener.

Enumerator
OpBuilderListener 

OpBuilder::Listener or user-derived class.

RewriterBaseListener 

RewriterBase::Listener or user-derived class.

Definition at line 275 of file Builders.h.

Constructor & Destructor Documentation

◆ ListenerBase()

mlir::OpBuilder::ListenerBase::ListenerBase ( Kind  kind)
inlineprotected

Definition at line 286 of file Builders.h.

Member Function Documentation

◆ getKind()

Kind mlir::OpBuilder::ListenerBase::getKind ( ) const
inline

Definition at line 283 of file Builders.h.

Referenced by mlir::RewriterBase::Listener::classof().


The documentation for this struct was generated from the following file: