MLIR  15.0.0git
Public Member Functions | List of all members
mlir::OpBuilder::Listener Struct Reference

This class represents a listener that may be used to hook into various actions within an OpBuilder. More...

#include "mlir/IR/Builders.h"

+ Inheritance diagram for mlir::OpBuilder::Listener:

Public Member Functions

virtual ~Listener ()
 
virtual void notifyOperationInserted (Operation *op)
 Notification handler for when an operation is inserted into the builder. More...
 
virtual void notifyBlockCreated (Block *block)
 Notification handler for when a block is created using the builder. More...
 

Detailed Description

This class represents a listener that may be used to hook into various actions within an OpBuilder.

Definition at line 241 of file Builders.h.

Constructor & Destructor Documentation

◆ ~Listener()

OpBuilder::Listener::~Listener ( )
virtualdefault

Member Function Documentation

◆ notifyBlockCreated()

virtual void mlir::OpBuilder::Listener::notifyBlockCreated ( Block block)
inlinevirtual

Notification handler for when a block is created using the builder.

block is the block that was created.

Reimplemented in mlir::ConversionPatternRewriter.

Definition at line 250 of file Builders.h.

◆ notifyOperationInserted()

virtual void mlir::OpBuilder::Listener::notifyOperationInserted ( Operation op)
inlinevirtual

Notification handler for when an operation is inserted into the builder.

op is the operation that was inserted.

Reimplemented in mlir::ConversionPatternRewriter.

Definition at line 246 of file Builders.h.

Referenced by createAsyncDispatchFunction(), createParallelComputeFunction(), and hasTensorSemantics().


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