MLIR
20.0.0git
|
Local mapping between values defined by a specific op implementing the TransformOpInterface and the payload IR ops they correspond to. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
template<typename Range > | |
void | set (OpResult value, Range &&ops) |
Indicates that the result of the transform IR op at the given position corresponds to the given list of payload IR ops. More... | |
void | set (OpResult value, std::initializer_list< Operation * > ops) |
Indicates that the result of the transform IR op at the given position corresponds to the given list of payload IR ops. More... | |
void | setParams (OpResult value, ArrayRef< TransformState::Param > params) |
Indicates that the result of the transform IR op at the given position corresponds to the given list of parameters. More... | |
template<typename Range > | |
void | setValues (OpResult handle, Range &&values) |
Indicates that the result of the transform IR op at the given position corresponds to the given range of payload IR values. More... | |
void | setValues (OpResult handle, std::initializer_list< Value > values) |
Indicates that the result of the transform IR op at the given position corresponds to the given range of payload IR values. More... | |
void | setMappedValues (OpResult handle, ArrayRef< MappedValue > values) |
Indicates that the result of the transform IR op at the given position corresponds to the given range of mapped values. More... | |
void | setRemainingToEmpty (TransformOpInterface transform) |
Sets the currently unset results to empty lists of the kind expected by the corresponding results of the given transform op. More... | |
Friends | |
class | TransformState |
Local mapping between values defined by a specific op implementing the TransformOpInterface and the payload IR ops they correspond to.
Definition at line 815 of file TransformInterfaces.h.
|
inline |
Indicates that the result of the transform IR op at the given position corresponds to the given list of payload IR ops.
Each result must be set by the transformation exactly once in case of transformation succeeding. The value must have a type implementing TransformHandleTypeInterface.
Definition at line 824 of file TransformInterfaces.h.
References mlir::OpResult::getResultNumber().
Referenced by applyTilingToAll(), and set().
|
inline |
Indicates that the result of the transform IR op at the given position corresponds to the given list of payload IR ops.
Each result must be set by the transformation exactly once in case of transformation succeeding. The value must have a type implementing TransformHandleTypeInterface.
Definition at line 840 of file TransformInterfaces.h.
References set().
void transform::TransformResults::setMappedValues | ( | OpResult | handle, |
ArrayRef< MappedValue > | values | ||
) |
Indicates that the result of the transform IR op at the given position corresponds to the given range of mapped values.
All mapped values are expected to be compatible with the type of the result, e.g., if the result is an operation handle, all mapped values are expected to be payload operations.
Definition at line 1110 of file TransformInterfaces.cpp.
References diag(), and dispatchMappedValues().
void transform::TransformResults::setParams | ( | OpResult | value, |
ArrayRef< TransformState::Param > | params | ||
) |
Indicates that the result of the transform IR op at the given position corresponds to the given list of parameters.
Each result must be set by the transformation exactly once in case of transformation succeeding. The value must have a type implementing TransformParamTypeInterface.
Definition at line 1097 of file TransformInterfaces.cpp.
References mlir::OpResult::getResultNumber().
void transform::TransformResults::setRemainingToEmpty | ( | TransformOpInterface | transform | ) |
Sets the currently unset results to empty lists of the kind expected by the corresponding results of the given transform
op.
Definition at line 1131 of file TransformInterfaces.cpp.
Referenced by mlir::transform::TransformState::applyTransform().
|
inline |
Indicates that the result of the transform IR op at the given position corresponds to the given range of payload IR values.
Each result must be set by the transformation exactly once in case of transformation succeeding. The value must have a type implementing TransformValueHandleTypeInterface.
Definition at line 856 of file TransformInterfaces.h.
References mlir::OpResult::getResultNumber().
Referenced by setValues().
|
inline |
Indicates that the result of the transform IR op at the given position corresponds to the given range of payload IR values.
Each result must be set by the transformation exactly once in case of transformation succeeding. The value must have a type implementing TransformValueHandleTypeInterface.
Definition at line 873 of file TransformInterfaces.h.
References setValues().
|
friend |
Definition at line 816 of file TransformInterfaces.h.