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

#include <CGRADataFlowGraph.hpp>

Inheritance diagram for llvm::ConstantNode:
llvm::DataNode< DFGNode::NodeKind::Constant > llvm::DFGNode llvm::GEPConstantNode

Public Member Functions

 ConstantNode (Value *v)
 
 ConstantNode (Value *v, int ID)
 
 ConstantNode (Value *v, SkipSeq *seq)
 
 ConstantNode (Value *v, SkipSeq *seq, int ID)
 
string getUniqueName () const
 
virtual string getNodeAttr () const
 
virtual string getExtraAttr () const
 
- Public Member Functions inherited from llvm::DataNode< DFGNode::NodeKind::Constant >
 DataNode (Value *v)
 
 DataNode (Value *v, SkipSeq *seq)
 
 DataNode (Value *v, SkipSeq *seq, int ID)
 
- 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
 
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 Member Functions

string getConstStr () const
 

Additional Inherited Members

- Public Types inherited from llvm::DataNode< DFGNode::NodeKind::Constant >
using SkipSeq = SmallVector< Value * >
 
- 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 Member Functions inherited from llvm::DataNode< DFGNode::NodeKind::Constant >
string getTypeName (Type *ty) const
 
string getSkipSeq () const
 
- Protected Attributes inherited from llvm::DataNode< DFGNode::NodeKind::Constant >
SkipSeqskip_seq
 
- Protected Attributes inherited from llvm::DFGNode
NodeKind kind
 
int ID
 
Value * val
 
StringMap< json::Value * > extra_info
 

Constructor & Destructor Documentation

◆ ConstantNode() [1/4]

llvm::ConstantNode::ConstantNode ( Value *  v)
inlineexplicit

◆ ConstantNode() [2/4]

llvm::ConstantNode::ConstantNode ( Value *  v,
int  ID 
)
inline

◆ ConstantNode() [3/4]

llvm::ConstantNode::ConstantNode ( Value *  v,
SkipSeq seq 
)
inline

◆ ConstantNode() [4/4]

llvm::ConstantNode::ConstantNode ( Value *  v,
SkipSeq seq,
int  ID 
)
inline

Member Function Documentation

◆ classof()

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

◆ getConstStr()

string ConstantNode::getConstStr ( ) const
private

◆ getExtraAttr()

virtual string llvm::ConstantNode::getExtraAttr ( ) const
inlinevirtual

Reimplemented from llvm::DFGNode.

Reimplemented in llvm::GEPConstantNode.

◆ getNodeAttr()

string ConstantNode::getNodeAttr ( ) const
virtual

Implements llvm::DFGNode.

Reimplemented in llvm::GEPConstantNode.

◆ getUniqueName()

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

Implements llvm::DFGNode.


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