TT-MLIR
Classes | Public Member Functions | List of all members
mlir::tt::ttir::GenericRegionOp Class Reference
Inheritance diagram for mlir::tt::ttir::GenericRegionOp:

Classes

struct  Trait
 

Public Member Functions

std::pair<::mlir::ArrayAttr, ::mlir::ArrayAttr > getIndexingMaps (::mlir::Builder &builder)
 
void buildGenericRegion (::mlir::OpBuilder &op_builder, ::mlir::Block *block)
 Rewrite self into the generic region block using the arith and math dialects. More...
 

Member Function Documentation

◆ buildGenericRegion()

void mlir::tt::ttir::GenericRegionOp::buildGenericRegion ( ::mlir::OpBuilder &  op_builder,
::mlir::Block *  block 
)

Rewrite self into the generic region block using the arith and math dialects.

◆ getIndexingMaps()

std::pair<::mlir::ArrayAttr,::mlir::ArrayAttr > mlir::tt::ttir::GenericRegionOp::getIndexingMaps ( ::mlir::Builder &  builder)

Return a pair of indexingMaps and iteratorTypes for the given GenericRegionOp. Where: indexingMaps: a list of AffineMapAttr, one AffineMapAttr per each input and output view. Such AffineMapAttr specifies the mapping between the loops and the indexing within each view. It effectively defines how the op can legally be parallelized. iteratorTypes: an ArrayAttr specifying the type of the enclosing loops. Each element of the list represents an iterator of one of the following types, parallel and reduction.


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