CGRAOmp  0.1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
llvm::MemAccessNode Class Reference

#include <CGRADataFlowGraph.hpp>

Inheritance diagram for llvm::MemAccessNode:
llvm::DFGNode

Public Member Functions

 MemAccessNode (LoadInst *load)
 
 MemAccessNode (StoreInst *store)
 
bool isLoad ()
 
string getUniqueName () const
 
string getNodeAttr () const
 
string getSymbol () const
 Get a symbol name to be accessed. More...
 
- Public Member Functions inherited from llvm::DFGNode
 DFGNode (int ID, NodeKind kind, Value *val)
 
 DFGNode (NodeKind kind, Value *val)
 
 DFGNode (const DFGNode &N)
 
 DFGNode (DFGNode &&N)
 
DFGNodeoperator= (const DFGNode &N)
 
DFGNodeoperator= (DFGNode &&N)
 
NodeKind getKind () const
 
int getID () const
 
Value * getValue () const
 
virtual string getExtraAttr () const
 
bool isEqualTo (const DFGNode &N) const
 
void setExtraInfo (StringRef key, json::Value V)
 
bool hasExtraInfo () const
 
json::Value getExtraInfoAsJSONObject ()
 

Static Public Member Functions

static bool classof (const DFGNode *N)
 

Private Attributes

bool is_load
 
Value * addr
 

Additional Inherited Members

- Public Types inherited from llvm::DFGNode
enum  NodeKind {
  NodeKind::Compute, NodeKind::MemLoad, NodeKind::MemStore, NodeKind::Compare,
  NodeKind::Constant, NodeKind::GlobalData, NodeKind::VirtualRoot
}
 
- Public Attributes inherited from llvm::DFGNode
friend CGRADFG
 
- Protected Attributes inherited from llvm::DFGNode
NodeKind kind
 
int ID
 
Value * val
 
StringMap< json::Value * > extra_info
 

Constructor & Destructor Documentation

◆ MemAccessNode() [1/2]

llvm::MemAccessNode::MemAccessNode ( LoadInst *  load)
inline

◆ MemAccessNode() [2/2]

llvm::MemAccessNode::MemAccessNode ( StoreInst *  store)
inline

Member Function Documentation

◆ classof()

static bool llvm::MemAccessNode::classof ( const DFGNode N)
inlinestatic

◆ getNodeAttr()

string llvm::MemAccessNode::getNodeAttr ( ) const
inlinevirtual

Implements llvm::DFGNode.

◆ getSymbol()

string llvm::MemAccessNode::getSymbol ( ) const
inline

Get a symbol name to be accessed.

Returns
string the symbol If a symbol is not found, it return "unknown"

◆ getUniqueName()

string llvm::MemAccessNode::getUniqueName ( ) const
inlinevirtual

Implements llvm::DFGNode.

◆ isLoad()

bool llvm::MemAccessNode::isLoad ( )
inline

Member Data Documentation

◆ addr

Value* llvm::MemAccessNode::addr
private

◆ is_load

bool llvm::MemAccessNode::is_load
private

The documentation for this class was generated from the following file: