llvm::DDGEdge

Edge in a data dependence graph.

Synopsis

Declared in <llvm/Analysis/DDG.h>

class DDGEdge
    : public DDGEdgeBase

Description

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.

Base Classes

NameDescription
DDGEdgeBaseDirected-graph edge base type used by DDG edges.

Enums

NameDescription
EdgeKind The kind of edge in the DDG

Member Functions

NameDescription
DDGEdge [constructor]Copy-construct a DDG edge from E.
DDGEdge [constructor]Move-construct a DDG edge from E.
DDGEdge [constructor] [deleted]Deleted constructor; every edge must specify a kind.
DDGEdge [constructor]Construct an edge to N of kind K.
operator= Copy-assign this DDG edge from E.
operator= Move-assign this DDG edge from E.
getKind Get the edge kind.
isDefUse Return true if this is a def-use edge, and false otherwise.
isMemoryDependence Return true if this is a memory dependence edge, and false otherwise.
isRooted Return true if this is an edge stemming from the root node, and false otherwise.