|
MLIR 22.0.0git
|
Helper StructuredGenerator class to manipulate and rewrite ops with StructuredOpInterface. More...
#include "mlir/Dialect/Utils/StructuredOpsUtils.h"
Classes | |
| struct | IteratorType |
| struct | Par |
| struct | Red |
Public Types | |
| using | MapList = ArrayRef<ArrayRef<AffineExpr>> |
Public Member Functions | |
| StructuredGenerator (RewriterBase &rewriter, StructuredOpInterface op) | |
| bool | iters (ArrayRef< IteratorType > its) |
| bool | layout (MapList l) |
Protected Attributes | |
| RewriterBase & | rewriter |
| MLIRContext * | ctx |
| Location | loc |
| SmallVector< IteratorTypeT > | iterators |
| SmallVector< AffineMap, 4 > | maps |
| Operation * | op |
Helper StructuredGenerator class to manipulate and rewrite ops with StructuredOpInterface.
This is templated for now because VectorOps do not yet implement the StructuredOpInterface itself.
Definition at line 90 of file StructuredOpsUtils.h.
| using mlir::StructuredGenerator< StructuredOpInterface, IteratorTypeT >::MapList = ArrayRef<ArrayRef<AffineExpr>> |
Definition at line 92 of file StructuredOpsUtils.h.
|
inline |
Definition at line 108 of file StructuredOpsUtils.h.
References ctx, getContext(), iterators, loc, maps, op, and rewriter.
|
inline |
Definition at line 113 of file StructuredOpsUtils.h.
References iterators.
|
inline |
Definition at line 123 of file StructuredOpsUtils.h.
References ctx, mlir::AffineMap::inferFromExprList(), and maps.
|
protected |
Definition at line 132 of file StructuredOpsUtils.h.
Referenced by layout(), and StructuredGenerator().
|
protected |
Definition at line 134 of file StructuredOpsUtils.h.
Referenced by iters(), and StructuredGenerator().
|
protected |
Definition at line 133 of file StructuredOpsUtils.h.
Referenced by StructuredGenerator().
|
protected |
Definition at line 135 of file StructuredOpsUtils.h.
Referenced by layout(), and StructuredGenerator().
|
protected |
Definition at line 136 of file StructuredOpsUtils.h.
Referenced by StructuredGenerator().
|
protected |
Definition at line 131 of file StructuredOpsUtils.h.
Referenced by StructuredGenerator().