MLIR
20.0.0git
|
Trait implementing the MemoryEffectOpInterface for operations that "consume" their operands and produce new results. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
void | getEffects (SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
This op "consumes" the operands by reading and freeing then, "produces" the results by allocating and writing it and reads/writes the payload IR in the process. More... | |
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
Checks that the op matches the expectations of this trait. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< OpTy, FunctionalStyleTransformOpTrait > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Trait implementing the MemoryEffectOpInterface for operations that "consume" their operands and produce new results.
Definition at line 1297 of file TransformInterfaces.h.
|
inline |
This op "consumes" the operands by reading and freeing then, "produces" the results by allocating and writing it and reads/writes the payload IR in the process.
Definition at line 1303 of file TransformInterfaces.h.
References mlir::transform::consumesHandle(), mlir::OpTrait::TraitBase< OpTy, FunctionalStyleTransformOpTrait >::getOperation(), mlir::transform::modifiesPayload(), and mlir::transform::producesHandle().
|
inlinestatic |
Checks that the op matches the expectations of this trait.
Definition at line 1310 of file TransformInterfaces.h.
References mlir::Operation::emitError(), mlir::OperationName::getInterface(), and mlir::Operation::getName().