MLIR
20.0.0git
|
Trait implementing the MemoryEffectOpInterface for operations that use their operands without consuming and without modifying the Payload IR to potentially produce new handles. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
void | getEffects (SmallVectorImpl< MemoryEffects::EffectInstance > &effects) |
This op produces handles to the Payload IR without consuming the original handles and without modifying the IR itself. More... | |
Static Public Member Functions | |
static LogicalResult | verifyTrait (Operation *op) |
Checks that the op matches the expectation of this trait. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::OpTrait::TraitBase< OpTy, NavigationTransformOpTrait > | |
Operation * | getOperation () |
Return the ultimate Operation being worked on. More... | |
Trait implementing the MemoryEffectOpInterface for operations that use their operands without consuming and without modifying the Payload IR to potentially produce new handles.
Definition at line 1324 of file TransformInterfaces.h.
|
inline |
This op produces handles to the Payload IR without consuming the original handles and without modifying the IR itself.
Definition at line 1329 of file TransformInterfaces.h.
References mlir::OpTrait::TraitBase< OpTy, NavigationTransformOpTrait >::getOperation(), mlir::transform::onlyReadsHandle(), mlir::transform::onlyReadsPayload(), and mlir::transform::producesHandle().
|
inlinestatic |
Checks that the op matches the expectation of this trait.
Definition at line 1341 of file TransformInterfaces.h.
References mlir::Operation::emitError(), mlir::OperationName::getInterface(), and mlir::Operation::getName().