MLIR
20.0.0git
|
#include "mlir/Dialect/Affine/Analysis/Utils.h"
Public Member Functions | |
Node (unsigned id, Operation *op) | |
unsigned | getLoadOpCount (Value memref) const |
unsigned | getStoreOpCount (Value memref) const |
void | getStoreOpsForMemref (Value memref, SmallVectorImpl< Operation * > *storeOps) const |
void | getLoadOpsForMemref (Value memref, SmallVectorImpl< Operation * > *loadOps) const |
void | getLoadAndStoreMemrefSet (DenseSet< Value > *loadAndStoreMemrefSet) const |
Public Attributes | |
unsigned | id |
Operation * | op |
SmallVector< Operation *, 4 > | loads |
SmallVector< Operation *, 4 > | stores |
|
inline |
void Node::getLoadOpsForMemref | ( | Value | memref, |
SmallVectorImpl< Operation * > * | loadOps | ||
) | const |
unsigned Node::getStoreOpCount | ( | Value | memref | ) | const |
Definition at line 67 of file Utils.cpp.
Referenced by mlir::affine::MemRefDependenceGraph::getIncomingMemRefAccesses().
void Node::getStoreOpsForMemref | ( | Value | memref, |
SmallVectorImpl< Operation * > * | storeOps | ||
) | const |
SmallVector<Operation *, 4> mlir::affine::MemRefDependenceGraph::Node::loads |
Definition at line 64 of file Utils.h.
Referenced by mlir::affine::MemRefDependenceGraph::addToNode(), and mlir::affine::MemRefDependenceGraph::clearNodeLoadAndStores().
Operation* mlir::affine::MemRefDependenceGraph::Node::op |
Definition at line 62 of file Utils.h.
Referenced by canRemoveSrcNodeAfterFusion(), hasNonAffineUsersOnThePath(), and sinkSequentialLoops().
SmallVector<Operation *, 4> mlir::affine::MemRefDependenceGraph::Node::stores |
Definition at line 66 of file Utils.h.
Referenced by mlir::affine::MemRefDependenceGraph::addToNode(), mlir::affine::MemRefDependenceGraph::clearNodeLoadAndStores(), and mlir::affine::MemRefDependenceGraph::writesToLiveInOrEscapingMemrefs().