MLIR
20.0.0git
|
Trait implementing the MemoryEffectsOpInterface for operations that produce transform dialect parameters. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
void | getEffects (SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
Populates effects with effect instances described in the trait documentation. More... | |
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
Checks that the op matches the expectation of this trait, i.e., that it implements the MemoryEffectsOpInterface and only produces parameter-typed results. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< OpTy, ParamProducerTransformOpTrait > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Trait implementing the MemoryEffectsOpInterface for operations that produce transform dialect parameters.
It marks all op results of TransformHandleTypeInterface as produced by the op, all operands as only read by the op and, if at least one of the operand is a handle to payload ops, the entire payload as potentially read. The op must only produce parameter-typed results.
Definition at line 1365 of file TransformInterfaces.h.
|
inline |
Populates effects
with effect instances described in the trait documentation.
Definition at line 1370 of file TransformInterfaces.h.
References mlir::OpTrait::TraitBase< OpTy, ParamProducerTransformOpTrait >::getOperation(), and mlir::transform::detail::getParamProducerTransformOpTraitEffects().
|
inlinestatic |
Checks that the op matches the expectation of this trait, i.e., that it implements the MemoryEffectsOpInterface and only produces parameter-typed results.
Definition at line 1378 of file TransformInterfaces.h.
References mlir::transform::detail::verifyParamProducerTransformOpTrait().