MLIR
17.0.0git
|
This class represents a listener that may be used to hook into various actions within an OpBuilder. More...
#include "mlir/IR/Builders.h"
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... | |
This class represents a listener that may be used to hook into various actions within an OpBuilder.
Definition at line 256 of file Builders.h.
|
virtualdefault |
|
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 265 of file Builders.h.
Referenced by mlir::OpBuilder::createBlock().
|
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 261 of file Builders.h.
Referenced by mlir::OpBuilder::clone(), createAsyncDispatchFunction(), createOrFold(), createParallelComputeFunction(), and mlir::OpBuilder::insert().