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

Classes

struct  Trait
 

Public Member Functions

mlir::Value getInput ()
 Get the input of the view op. More...
 
mlir::Value getResult ()
 Get the result of the view op. More...
 
std::pair< mlir::MemRefType, mlir::AffineMap > applyViews ()
 

Member Function Documentation

◆ applyViews()

std::pair< mlir::MemRefType, mlir::AffineMap > mlir::tt::ttir::ViewOpInterface::applyViews ( )

Recursively apply view interface ops until a shard layout is reached. Returns a pair of the underlying memref with shard layout and an affine map that describes a view over this memref.

◆ getInput()

mlir::Value mlir::tt::ttir::ViewOpInterface::getInput ( )

Get the input of the view op.

◆ getResult()

mlir::Value mlir::tt::ttir::ViewOpInterface::getResult ( )

Get the result of the view op.


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