|
My Project
|
A mutable affine map. Its affine expressions are however unique. More...
#include <AffineStructures.h>
Public Member Functions | |
| MutableAffineMap () | |
| MutableAffineMap (AffineMap map) | |
| ArrayRef< AffineExpr > | getResults () const |
| AffineExpr | getResult (unsigned idx) const |
| void | setResult (unsigned idx, AffineExpr result) |
| unsigned | getNumResults () const |
| unsigned | getNumDims () const |
| void | setNumDims (unsigned d) |
| unsigned | getNumSymbols () const |
| void | setNumSymbols (unsigned d) |
| MLIRContext * | getContext () const |
| bool | isMultipleOf (unsigned idx, int64_t factor) const |
| Returns true if the idx'th result expression is a multiple of factor. More... | |
| void | reset (AffineMap map) |
| Resets this MutableAffineMap with 'map'. More... | |
| void | simplify () |
| Simplify the (result) expressions in this map using analysis (used by. More... | |
| AffineMap | getAffineMap () const |
A mutable affine map. Its affine expressions are however unique.
|
inline |
| MutableAffineMap::MutableAffineMap | ( | AffineMap | map | ) |
| AffineMap MutableAffineMap::getAffineMap | ( | ) | const |
Get the AffineMap corresponding to this MutableAffineMap. Note that an AffineMap will be uniqued and stored in context, while a mutable one isn't.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool MutableAffineMap::isMultipleOf | ( | unsigned | idx, |
| int64_t | factor | ||
| ) | const |
Returns true if the idx'th result expression is a multiple of factor.
| void MutableAffineMap::reset | ( | AffineMap | map | ) |
Resets this MutableAffineMap with 'map'.
|
inline |
|
inline |
|
inline |
| void MutableAffineMap::simplify | ( | ) |
Simplify the (result) expressions in this map using analysis (used by.
1.8.13