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 |
unsigned mlir::affine::MemRefDependenceGraph::Node::id |
Definition at line 60 of file Utils.h.
Referenced by mlir::affine::MemRefDependenceGraph::addNode(), and mlir::affine::MemRefDependenceGraph::init().
SmallVector<Operation *, 4> mlir::affine::MemRefDependenceGraph::Node::loads |
Definition at line 64 of file Utils.h.
Referenced by mlir::affine::MemRefDependenceGraph::addToNode(), mlir::affine::MemRefDependenceGraph::clearNodeLoadAndStores(), and mlir::affine::MemRefDependenceGraph::init().
Operation* mlir::affine::MemRefDependenceGraph::Node::op |
Definition at line 62 of file Utils.h.
Referenced by canRemoveSrcNodeAfterFusion(), mlir::affine::MemRefDependenceGraph::init(), and sinkSequentialLoops().
SmallVector<Operation *, 4> mlir::affine::MemRefDependenceGraph::Node::stores |