Encapsulates a memref load or store access information.
More...
#include <AffineAnalysis.h>
Encapsulates a memref load or store access information.
◆ MemRefAccess()
MemRefAccess::MemRefAccess |
( |
Operation * |
opInst | ) |
|
|
explicit |
◆ getAccessMap()
Populates 'accessMap' with composition of AffineApplyOps reachable from 'indices'.
◆ getRank()
unsigned MemRefAccess::getRank |
( |
| ) |
const |
◆ isStore()
bool MemRefAccess::isStore |
( |
| ) |
const |
◆ operator!=()
bool mlir::MemRefAccess::operator!= |
( |
const MemRefAccess & |
rhs | ) |
const |
|
inline |
◆ operator==()
bool MemRefAccess::operator== |
( |
const MemRefAccess & |
rhs | ) |
const |
Equal if both affine accesses can be proved to be equivalent at compile time (considering the memrefs, their respective affine access maps and operands). The equality of access functions + operands is checked by subtracting fully composed value maps, and then simplifying the difference using the expression flattener. TODO: this does not account for aliasing of memrefs.
Equal if both affine accesses are provably equivalent (at compile time) when considering the memref, the affine maps and their respective operands. The equality of access functions + operands is checked by subtracting fully composed value maps, and then simplifying the difference using the expression flattener. TODO: this does not account for aliasing of memrefs.
◆ indices
◆ memref
Value mlir::MemRefAccess::memref |
◆ opInst
The documentation for this struct was generated from the following files: