MLIR  19.0.0git
Public Member Functions | List of all members
mlir::detail::TileOffsetRangeImpl Class Reference

Encapsulates the set of parameters that are used to make tile offset calculations in the TileOffsetRangeIterator. More...

#include "mlir/Dialect/Utils/IndexingUtils.h"

Public Member Functions

 TileOffsetRangeImpl (ArrayRef< int64_t > shape, ArrayRef< int64_t > tileShape, ArrayRef< int64_t > loopOrder)
 
int64_t getMaxLinearIndex () const
 
SmallVector< int64_t > getStaticTileOffsets (int64_t linearIndex) const
 
SmallVector< AffineExprgetDynamicTileOffsets (AffineExpr linearIndex) const
 
template<typename T >
SmallVector< T > getTileOffsets (T linearIndex) const
 

Detailed Description

Encapsulates the set of parameters that are used to make tile offset calculations in the TileOffsetRangeIterator.

Definition at line 271 of file IndexingUtils.h.

Constructor & Destructor Documentation

◆ TileOffsetRangeImpl()

mlir::detail::TileOffsetRangeImpl::TileOffsetRangeImpl ( ArrayRef< int64_t >  shape,
ArrayRef< int64_t >  tileShape,
ArrayRef< int64_t >  loopOrder 
)

Member Function Documentation

◆ getDynamicTileOffsets()

SmallVector< AffineExpr > mlir::detail::TileOffsetRangeImpl::getDynamicTileOffsets ( AffineExpr  linearIndex) const

◆ getMaxLinearIndex()

int64_t mlir::detail::TileOffsetRangeImpl::getMaxLinearIndex ( ) const
inline

Definition at line 276 of file IndexingUtils.h.

Referenced by mlir::StaticTileOffsetRange::size().

◆ getStaticTileOffsets()

SmallVector< int64_t > mlir::detail::TileOffsetRangeImpl::getStaticTileOffsets ( int64_t  linearIndex) const

◆ getTileOffsets()

template<typename T >
SmallVector<T> mlir::detail::TileOffsetRangeImpl::getTileOffsets ( linearIndex) const
inline

The documentation for this class was generated from the following files: