MLIR  21.0.0git
Public Attributes | List of all members
mlir::scf::SCFTilingResult Struct Reference

Transformation information returned after tiling. More...

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

Public Attributes

SmallVector< Operation * > tiledOps
 Tiled operations that are generated during tiling. More...
 
SmallVector< ValueinitialValues
 The initial destination values passed to the tiled operations. More...
 
SmallVector< LoopLikeOpInterface > loops
 The scf.for operations that iterate over the tiles. More...
 
SmallVector< Valuereplacements
 Values to use as replacements for the untiled op. More...
 
SmallVector< Operation * > generatedSlices
 Slices generated after tiling that can be used for fusing with the tiled producer. More...
 
SmallVector< Operation * > mergeOps
 In cases where there as an additional merge step after tiling return the merged ops after tiling. More...
 

Detailed Description

Transformation information returned after tiling.

Definition at line 130 of file TileUsingInterface.h.

Member Data Documentation

◆ generatedSlices

SmallVector<Operation *> mlir::scf::SCFTilingResult::generatedSlices

Slices generated after tiling that can be used for fusing with the tiled producer.

Definition at line 144 of file TileUsingInterface.h.

◆ initialValues

SmallVector<Value> mlir::scf::SCFTilingResult::initialValues

The initial destination values passed to the tiled operations.

Definition at line 136 of file TileUsingInterface.h.

◆ loops

SmallVector<LoopLikeOpInterface> mlir::scf::SCFTilingResult::loops

The scf.for operations that iterate over the tiles.

Definition at line 138 of file TileUsingInterface.h.

◆ mergeOps

SmallVector<Operation *> mlir::scf::SCFTilingResult::mergeOps

In cases where there as an additional merge step after tiling return the merged ops after tiling.

This list is empty when reduction tiling strategy is `scf::SCFTilingOptions::ReductionTilingStrategy::FullReduction.

Definition at line 149 of file TileUsingInterface.h.

◆ replacements

SmallVector<Value> mlir::scf::SCFTilingResult::replacements

Values to use as replacements for the untiled op.

Is the same size as the number of results of the untiled op.

Definition at line 141 of file TileUsingInterface.h.

◆ tiledOps

SmallVector<Operation *> mlir::scf::SCFTilingResult::tiledOps

Tiled operations that are generated during tiling.

The order does not matter except the last op. The replacements are expected to be the results of the last op.

Definition at line 134 of file TileUsingInterface.h.

Referenced by mlir::scf::tileUsingSCF().


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