class DependenceGraphInfo
Declaration
template <typename NodeType>
class DependenceGraphInfo { /* full declaration omitted */ };
Description
Encapsulate some common data and functionality needed for different variations of data dependence graphs.
Declared at: llvm/include/llvm/Analysis/DDG.h:255
Templates
- NodeType
Member Variables
- protected std::string Name
- protected const llvm::DependenceInfo DI
- protected NodeType* Root = nullptr
Method Overview
- public DependenceGraphInfo<NodeType>()
- public DependenceGraphInfo<NodeType>(const DependenceGraphInfo<NodeType> & G)
- public DependenceGraphInfo<NodeType>(const std::string & N, const llvm::DependenceInfo & DepInfo)
- public DependenceGraphInfo<NodeType>(DependenceGraphInfo<NodeType> && G)
- public std::string getDependenceString(const NodeType & Src, const NodeType & Dst) const
- public bool getDependencies(const NodeType & Src, const NodeType & Dst, llvm::DependenceGraphInfo::DependenceList & Deps) const
- public llvm::StringRef getName() const
- public NodeType & getRoot() const
- public virtual ~DependenceGraphInfo<NodeType>()
Methods
¶DependenceGraphInfo<NodeType>()
DependenceGraphInfo<NodeType>()
Declared at: llvm/include/llvm/Analysis/DDG.h:259
¶DependenceGraphInfo<NodeType>(
const DependenceGraphInfo<NodeType>& G)
DependenceGraphInfo<NodeType>(
const DependenceGraphInfo<NodeType>& G)
Declared at: llvm/include/llvm/Analysis/DDG.h:260
Parameters
- const DependenceGraphInfo<NodeType>& G
¶DependenceGraphInfo<NodeType>(
const std::string& N,
const llvm::DependenceInfo& DepInfo)
DependenceGraphInfo<NodeType>(
const std::string& N,
const llvm::DependenceInfo& DepInfo)
Declared at: llvm/include/llvm/Analysis/DDG.h:261
Parameters
- const std::string& N
- const llvm::DependenceInfo& DepInfo
¶DependenceGraphInfo<NodeType>(
DependenceGraphInfo<NodeType>&& G)
DependenceGraphInfo<NodeType>(
DependenceGraphInfo<NodeType>&& G)
Declared at: llvm/include/llvm/Analysis/DDG.h:263
Parameters
- DependenceGraphInfo<NodeType>&& G
¶std::string getDependenceString(
const NodeType& Src,
const NodeType& Dst) const
std::string getDependenceString(
const NodeType& Src,
const NodeType& Dst) const
Description
Return a string representing the type of dependence that the dependence analysis identified between the two given nodes. This function assumes that there is a memory dependence between the given two nodes.
Declared at: llvm/include/llvm/Analysis/DDG.h:286
Parameters
- const NodeType& Src
- const NodeType& Dst
¶bool getDependencies(
const NodeType& Src,
const NodeType& Dst,
llvm::DependenceGraphInfo::DependenceList&
Deps) const
bool getDependencies(
const NodeType& Src,
const NodeType& Dst,
llvm::DependenceGraphInfo::DependenceList&
Deps) const
Description
Collect all the data dependency infos coming from any pair of memory accesses from \p Src to \p Dst, and store them into \p Deps. Return true if a dependence exists, and false otherwise.
Declared at: llvm/include/llvm/Analysis/DDG.h:280
Parameters
- const NodeType& Src
- const NodeType& Dst
- llvm::DependenceGraphInfo::DependenceList& Deps
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Description
Return the label that is used to name this graph.
Declared at: llvm/include/llvm/Analysis/DDG.h:268
¶NodeType& getRoot() const
NodeType& getRoot() const
Description
Return the root node of the graph.
Declared at: llvm/include/llvm/Analysis/DDG.h:271
¶virtual ~DependenceGraphInfo<NodeType>()
virtual ~DependenceGraphInfo<NodeType>()
Declared at: llvm/include/llvm/Analysis/DDG.h:265