MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::affine::MemRefDependenceGraph::Node Struct Reference

#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
 
Operationop
 
SmallVector< Operation *, 4 > loads
 
SmallVector< Operation *, 4 > stores
 

Detailed Description

Definition at line 58 of file Utils.h.

Constructor & Destructor Documentation

◆ Node()

mlir::affine::MemRefDependenceGraph::Node::Node ( unsigned  id,
Operation op 
)
inline

Definition at line 68 of file Utils.h.

Member Function Documentation

◆ getLoadAndStoreMemrefSet()

void Node::getLoadAndStoreMemrefSet ( DenseSet< Value > *  loadAndStoreMemrefSet) const

Definition at line 96 of file Utils.cpp.

◆ getLoadOpCount()

unsigned Node::getLoadOpCount ( Value  memref) const

Definition at line 57 of file Utils.cpp.

◆ getLoadOpsForMemref()

void Node::getLoadOpsForMemref ( Value  memref,
SmallVectorImpl< Operation * > *  loadOps 
) const

Definition at line 86 of file Utils.cpp.

◆ getStoreOpCount()

unsigned Node::getStoreOpCount ( Value  memref) const

◆ getStoreOpsForMemref()

void Node::getStoreOpsForMemref ( Value  memref,
SmallVectorImpl< Operation * > *  storeOps 
) const

Definition at line 77 of file Utils.cpp.

Member Data Documentation

◆ id

unsigned mlir::affine::MemRefDependenceGraph::Node::id

Definition at line 60 of file Utils.h.

◆ loads

SmallVector<Operation *, 4> mlir::affine::MemRefDependenceGraph::Node::loads

◆ op

Operation* mlir::affine::MemRefDependenceGraph::Node::op

◆ stores

SmallVector<Operation *, 4> mlir::affine::MemRefDependenceGraph::Node::stores

The documentation for this struct was generated from the following files: