class DDGEdge

Declaration

class DDGEdge : public DGEdge { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/Analysis/DDG.h:217

Inherits from: DGEdge

Method Overview

Methods

DDGEdge(llvm::DDGNode& N)

Declared at: llvm/include/llvm/Analysis/DDG.h:228

Parameters

llvm::DDGNode& N

DDGEdge(llvm::DDGNode& N,
        llvm::DDGEdge::EdgeKind K)

Declared at: llvm/include/llvm/Analysis/DDG.h:229

Parameters

llvm::DDGNode& N
llvm::DDGEdge::EdgeKind K

DDGEdge(const llvm::DDGEdge& E)

Declared at: llvm/include/llvm/Analysis/DDG.h:230

Parameters

const llvm::DDGEdge& E

DDGEdge(llvm::DDGEdge&& E)

Declared at: llvm/include/llvm/Analysis/DDG.h:231

Parameters

llvm::DDGEdge&& E

llvm::DDGEdge::EdgeKind getKind() const

Description

Get the edge kind

Declared at: llvm/include/llvm/Analysis/DDG.h:245

bool isDefUse() const

Description

Return true if this is a def-use edge, and false otherwise.

Declared at: llvm/include/llvm/Analysis/DDG.h:248

bool isMemoryDependence() const

Description

Return true if this is a memory dependence edge, and false otherwise.

Declared at: llvm/include/llvm/Analysis/DDG.h:251

bool isRooted() const

Description

Return true if this is an edge stemming from the root node, and false otherwise.

Declared at: llvm/include/llvm/Analysis/DDG.h:255