MLIR 22.0.0git
SubsetOpInterface.h File Reference
#include "mlir/IR/OpDefinition.h"
#include "mlir/Interfaces/ValueBoundsOpInterface.h"
#include "mlir/Interfaces/SubsetOpInterface.h.inc"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::detail
 AttrTypeReplacer.

Functions

OpOperandmlir::detail::defaultGetDestinationOperand (Operation *op)
 Return the destination/"init" operand of the op if it implements the DestinationStyleOpInterface and has exactly one "init" operand.
OpResult mlir::detail::defaultGetUpdatedDestination (Operation *op)
 Return the updated destination result of the op if it implements the DestinationStyleOpInterface.
bool mlir::detail::defaultIsEquivalentSubset (Operation *op, Value candidate, function_ref< bool(Value, Value)> equivalenceFn)
 Default implementation of SubsetInsertionOpInterface::isEquivalentSubset.
bool mlir::detail::defaultOperatesOnEquivalentSubset (Operation *op, SubsetOpInterface candidate, function_ref< bool(Value, Value)> equivalenceFn)
 Default implementation of SubsetOpInterface::operatesOnEquivalentSubset.
bool mlir::detail::defaultOperatesOnDisjointSubset (Operation *op, SubsetOpInterface candidate, function_ref< bool(Value, Value)> equivalenceFn)
 Default implementation of SubsetOpInterface::operatesOnDisjointSubset.
Value mlir::detail::getTensorContainer (Operation *op)
 Return the container that the given subset op is operating on.
LogicalResult mlir::detail::verifySubsetOpInterface (SubsetOpInterface op)
 Verify SubsetOpInterface.
LogicalResult mlir::detail::verifySubsetExtractionOpInterface (SubsetExtractionOpInterface op)
 Verify SubsetExtractionOpInterface.