MLIR 23.0.0git
mlir::SCFFuseConsumerOfSliceResult Struct Reference

Fuse the consumer candidateSlices by computing the required slice of the consumer in-place. More...

#include "mlir/Dialect/SCF/Transforms/TileUsingInterface.h"

Public Attributes

SmallVector< OpOperand * > origConsumerOperands
SmallVector< OpOperand * > tiledAndFusedConsumerOperands
SmallVector< Operation * > tiledOps

Detailed Description

Fuse the consumer candidateSlices by computing the required slice of the consumer in-place.

All the entries of candidateSlices are expected to map to the same consumer. The method returns an error if the consumer cannot be tiled in a manner that is consistent for all the passed slices. Note that the method replaces the uses of candidateSlices with the tiled and fused consumer value but does not delete the slice operations. TODO(MaheshRavishankar): A more natural way of exposing the consumer fusion is to take the consumer operation, and find the slices to use for fusion by walking its operands to the loops and then into the body to get the slices used for fusion.

Definition at line 459 of file TileUsingInterface.h.

Member Data Documentation

◆ origConsumerOperands

SmallVector<OpOperand *> mlir::SCFFuseConsumerOfSliceResult::origConsumerOperands

Definition at line 461 of file TileUsingInterface.h.

◆ tiledAndFusedConsumerOperands

SmallVector<OpOperand *> mlir::SCFFuseConsumerOfSliceResult::tiledAndFusedConsumerOperands

Definition at line 463 of file TileUsingInterface.h.

◆ tiledOps

SmallVector<Operation *> mlir::SCFFuseConsumerOfSliceResult::tiledOps

Definition at line 464 of file TileUsingInterface.h.


The documentation for this struct was generated from the following file: