CGRAOmp  0.1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
llvm::GEPNode< OPCODE_STR > Class Template Reference

#include <CGRADataFlowGraph.hpp>

Inheritance diagram for llvm::GEPNode< OPCODE_STR >:
llvm::DFGNode

Public Member Functions

 GEPNode (GetElementPtrInst *gep, int ID)
 
string getUniqueName () const
 
string getNodeAttr () const
 
Instruction * getInst () const
 
- 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

std::string opcode
 

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

◆ GEPNode()

template<char const * OPCODE_STR>
llvm::GEPNode< OPCODE_STR >::GEPNode ( GetElementPtrInst *  gep,
int  ID 
)
inline

Member Function Documentation

◆ classof()

template<char const * OPCODE_STR>
static bool llvm::GEPNode< OPCODE_STR >::classof ( const DFGNode N)
inlinestatic

◆ getInst()

template<char const * OPCODE_STR>
Instruction* llvm::GEPNode< OPCODE_STR >::getInst ( ) const
inline

◆ getNodeAttr()

template<char const * OPCODE_STR>
string llvm::GEPNode< OPCODE_STR >::getNodeAttr ( ) const
inlinevirtual

Implements llvm::DFGNode.

◆ getUniqueName()

template<char const * OPCODE_STR>
string llvm::GEPNode< OPCODE_STR >::getUniqueName ( ) const
inlinevirtual

Implements llvm::DFGNode.

Member Data Documentation

◆ opcode

template<char const * OPCODE_STR>
std::string llvm::GEPNode< OPCODE_STR >::opcode
private

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