LLVM 20.0.0git
|
Data Dependency Graph Edge. More...
#include "llvm/Analysis/DDG.h"
Public Types | |
enum class | EdgeKind { Unknown , RegisterDefUse , MemoryDependence , Rooted , Last = Rooted } |
The kind of edge in the DDG. More... | |
Public Member Functions | |
DDGEdge (DDGNode &N)=delete | |
DDGEdge (DDGNode &N, EdgeKind K) | |
DDGEdge (const DDGEdge &E) | |
DDGEdge (DDGEdge &&E) | |
DDGEdge & | operator= (const DDGEdge &E)=default |
DDGEdge & | operator= (DDGEdge &&E) |
EdgeKind | getKind () const |
Get the edge kind. | |
bool | isDefUse () const |
Return true if this is a def-use edge, and false otherwise. | |
bool | isMemoryDependence () const |
Return true if this is a memory dependence edge, and false otherwise. | |
bool | isRooted () const |
Return true if this is an edge stemming from the root node, and false otherwise. | |
Public Member Functions inherited from llvm::DGEdge< NodeType, EdgeType > | |
DGEdge ()=delete | |
DGEdge (NodeType &N) | |
Create an edge pointing to the given node N . | |
DGEdge (const DGEdge< NodeType, EdgeType > &E) | |
DGEdge< NodeType, EdgeType > & | operator= (const DGEdge< NodeType, EdgeType > &E) |
bool | operator== (const DGEdge &E) const |
Static polymorphism: delegate implementation (via isEqualTo) to the derived class. | |
bool | operator!= (const DGEdge &E) const |
const NodeType & | getTargetNode () const |
Retrieve the target node this edge connects to. | |
NodeType & | getTargetNode () |
void | setTargetNode (const NodeType &N) |
Set the target node this edge connects to. | |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::DGEdge< NodeType, EdgeType > | |
bool | isEqualTo (const EdgeType &E) const |
EdgeType & | getDerived () |
const EdgeType & | getDerived () const |
Protected Attributes inherited from llvm::DGEdge< NodeType, EdgeType > | |
NodeType & | TargetNode |
Data Dependency Graph Edge.
An edge in the DDG can represent a def-use relationship or a memory dependence based on the result of DependenceAnalysis. A rooted edge connects the root node to one of the components of the graph.
|
strong |
|
explicitdelete |
|
inline |
|
inline |
Return true if this is a def-use edge, and false otherwise.
Definition at line 240 of file DDG.h.
References RegisterDefUse.
|
inline |
Return true if this is a memory dependence edge, and false otherwise.
Definition at line 243 of file DDG.h.
References MemoryDependence.
|
inline |
Definition at line 230 of file DDG.h.
References E, and llvm::DGEdge< NodeType, EdgeType >::operator=().