MLIR  19.0.0git
Public Types | Public Attributes | List of all members
mlir::transform::TrackingListenerConfig Struct Reference

A configuration object for customizing a TrackingListener. More...

#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"

Public Types

using SkipHandleFn = std::function< bool(Value)>
 

Public Attributes

SkipHandleFn skipHandleFn = nullptr
 An optional function that returns "true" for handles that do not have to be updated. More...
 
bool requireMatchingReplacementOpName = true
 If set to "true", the name of a replacement op must match the name of the original op. More...
 
bool skipCastOps = true
 If set to "true", cast ops (that implement the CastOpInterface) are skipped and the replacement op search continues with the operands of the cast op. More...
 

Detailed Description

A configuration object for customizing a TrackingListener.

Definition at line 939 of file TransformInterfaces.h.

Member Typedef Documentation

◆ SkipHandleFn

Definition at line 940 of file TransformInterfaces.h.

Member Data Documentation

◆ requireMatchingReplacementOpName

bool mlir::transform::TrackingListenerConfig::requireMatchingReplacementOpName = true

If set to "true", the name of a replacement op must match the name of the original op.

If set to "false", the names of the payload ops tracked in a handle may change as the tracking listener updates the transform state.

Definition at line 949 of file TransformInterfaces.h.

◆ skipCastOps

bool mlir::transform::TrackingListenerConfig::skipCastOps = true

If set to "true", cast ops (that implement the CastOpInterface) are skipped and the replacement op search continues with the operands of the cast op.

Definition at line 954 of file TransformInterfaces.h.

◆ skipHandleFn

SkipHandleFn mlir::transform::TrackingListenerConfig::skipHandleFn = nullptr

An optional function that returns "true" for handles that do not have to be updated.

These are typically dead or consumed handles.

Definition at line 944 of file TransformInterfaces.h.


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