MLIR  17.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::linalg::LinalgPaddingOptions Struct Reference

#include "mlir/Dialect/Linalg/Transforms/Transforms.h"

+ Collaboration diagram for mlir::linalg::LinalgPaddingOptions:

Public Member Functions

LinalgPaddingOptionssetPaddingValues (ArrayRef< Attribute > pv)
 
LinalgPaddingOptionssetPaddingDimensions (ArrayRef< int64_t > pd)
 
LinalgPaddingOptionssetPackPaddings (ArrayRef< bool > pp)
 
LinalgPaddingOptionssetHoistPaddings (ArrayRef< int64_t > hp)
 
LinalgPaddingOptionssetTransposePaddings (ArrayRef< SmallVector< int64_t >> tp)
 

Public Attributes

SmallVector< AttributepaddingValues
 A padding value for every operand. More...
 
SmallVector< int64_t > paddingDimensions
 A list of iterator dimensions to pad. More...
 
SmallVector< bool > packPaddings
 A flag for every operand to mark the PadOp as nofold which enables packing for statically shaped operands. More...
 
SmallVector< int64_t > hoistPaddings
 A number of loops to hoist the PadOp out for every operand. More...
 
SmallVector< SmallVector< int64_t > > transposePaddings
 A permutation vector for every operand used to transpose the packed PadOp results. More...
 

Detailed Description

Definition at line 598 of file Transforms.h.

Member Function Documentation

◆ setHoistPaddings()

LinalgPaddingOptions& mlir::linalg::LinalgPaddingOptions::setHoistPaddings ( ArrayRef< int64_t >  hp)
inline

Definition at line 620 of file Transforms.h.

References hoistPaddings.

◆ setPackPaddings()

LinalgPaddingOptions& mlir::linalg::LinalgPaddingOptions::setPackPaddings ( ArrayRef< bool >  pp)
inline

Definition at line 614 of file Transforms.h.

References packPaddings.

◆ setPaddingDimensions()

LinalgPaddingOptions& mlir::linalg::LinalgPaddingOptions::setPaddingDimensions ( ArrayRef< int64_t >  pd)
inline

Definition at line 607 of file Transforms.h.

References paddingDimensions.

◆ setPaddingValues()

LinalgPaddingOptions& mlir::linalg::LinalgPaddingOptions::setPaddingValues ( ArrayRef< Attribute pv)
inline

Definition at line 601 of file Transforms.h.

References paddingValues.

◆ setTransposePaddings()

LinalgPaddingOptions& mlir::linalg::LinalgPaddingOptions::setTransposePaddings ( ArrayRef< SmallVector< int64_t >>  tp)
inline

Definition at line 628 of file Transforms.h.

References transposePaddings.

Member Data Documentation

◆ hoistPaddings

SmallVector<int64_t> mlir::linalg::LinalgPaddingOptions::hoistPaddings

A number of loops to hoist the PadOp out for every operand.

Definition at line 619 of file Transforms.h.

Referenced by setHoistPaddings().

◆ packPaddings

SmallVector<bool> mlir::linalg::LinalgPaddingOptions::packPaddings

A flag for every operand to mark the PadOp as nofold which enables packing for statically shaped operands.

Definition at line 613 of file Transforms.h.

Referenced by setPackPaddings().

◆ paddingDimensions

SmallVector<int64_t> mlir::linalg::LinalgPaddingOptions::paddingDimensions

A list of iterator dimensions to pad.

Definition at line 606 of file Transforms.h.

Referenced by setPaddingDimensions().

◆ paddingValues

SmallVector<Attribute> mlir::linalg::LinalgPaddingOptions::paddingValues

A padding value for every operand.

Definition at line 600 of file Transforms.h.

Referenced by setPaddingValues().

◆ transposePaddings

SmallVector<SmallVector<int64_t> > mlir::linalg::LinalgPaddingOptions::transposePaddings

A permutation vector for every operand used to transpose the packed PadOp results.

Definition at line 626 of file Transforms.h.

Referenced by setTransposePaddings().


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