MLIR
20.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.
|
inline |
Definition at line 113 of file StructuredOpsUtils.h.
References mlir::StructuredGenerator< StructuredOpInterface, IteratorTypeT >::iterators.
|
inline |
Definition at line 123 of file StructuredOpsUtils.h.
|
protected |
Definition at line 132 of file StructuredOpsUtils.h.
|
protected |
Definition at line 134 of file StructuredOpsUtils.h.
Referenced by mlir::StructuredGenerator< StructuredOpInterface, IteratorTypeT >::iters().
|
protected |
Definition at line 133 of file StructuredOpsUtils.h.
|
protected |
Definition at line 135 of file StructuredOpsUtils.h.
|
protected |
Definition at line 136 of file StructuredOpsUtils.h.
|
protected |
Definition at line 131 of file StructuredOpsUtils.h.