MLIR
20.0.0git
|
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... | |
A configuration object for customizing a TrackingListener
.
Definition at line 942 of file TransformInterfaces.h.
using mlir::transform::TrackingListenerConfig::SkipHandleFn = std::function<bool(Value)> |
Definition at line 943 of file TransformInterfaces.h.
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 952 of file TransformInterfaces.h.
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 957 of file TransformInterfaces.h.
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 947 of file TransformInterfaces.h.
Referenced by mlir::transform::TransformState::applyTransform().