My Project
Public Member Functions | List of all members
mlir::edsc::StructuredIndexed Struct Reference

#include <Builders.h>

Public Member Functions

 StructuredIndexed (Value v)
 
StructuredIndexed operator() (ArrayRef< AffineExpr > indexings)
 
 operator Value () const
 
ArrayRef< AffineExprgetExprs ()
 

Detailed Description

A StructuredIndexed represents a captured value that can be indexed and passed to the makeGenericLinalgOp. It allows writing intuitive index expressions such as:

StructuredIndexed A(vA), B(vB), C(vC);
makeGenericLinalgOp({A({m, n}), B({k, n})}, {C({m, n})}, ... );

Constructor & Destructor Documentation

◆ StructuredIndexed()

mlir::edsc::StructuredIndexed::StructuredIndexed ( Value  v)
inline

Member Function Documentation

◆ getExprs()

ArrayRef<AffineExpr> mlir::edsc::StructuredIndexed::getExprs ( )
inline

◆ operator Value()

mlir::edsc::StructuredIndexed::operator Value ( ) const
inline

◆ operator()()

StructuredIndexed mlir::edsc::StructuredIndexed::operator() ( ArrayRef< AffineExpr indexings)
inline

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