MLIR  19.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 266 of file Builders.h.

Member Enumeration Documentation

◆ Kind

The kind of listener.


OpBuilder::Listener or user-derived class.


RewriterBase::Listener or user-derived class.

Definition at line 268 of file Builders.h.

Constructor & Destructor Documentation

◆ ListenerBase()

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

Definition at line 279 of file Builders.h.

Member Function Documentation

◆ getKind()

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

Definition at line 276 of file Builders.h.

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

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