class SimpleDDGNode

Declaration

class SimpleDDGNode : public DDGNode { /* full declaration omitted */ };

Description

Subclass of DDGNode representing single or multi-instruction nodes.

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

Inherits from: DDGNode

Member Variables

private SmallVector<llvm::Instruction*, 2> InstList
List of instructions associated with a single or multi-instruction node.

Method Overview

Inherited from DDGNode:

Methods

SimpleDDGNode()

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

SimpleDDGNode(llvm::Instruction& I)

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

Parameters

llvm::Instruction& I

SimpleDDGNode(const llvm::SimpleDDGNode& N)

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

Parameters

const llvm::SimpleDDGNode& N

SimpleDDGNode(llvm::SimpleDDGNode&& N)

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

Parameters

llvm::SimpleDDGNode&& N

void appendInstructions(
    const llvm::DDGNode::InstructionListType&
        Input)

Description

Append the list of instructions in \p Input to this node.

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

Parameters

const llvm::DDGNode::InstructionListType& Input

void appendInstructions(
    const llvm::SimpleDDGNode& Input)

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

Parameters

const llvm::SimpleDDGNode& Input

static bool classof(const llvm::DDGNode* N)

Description

Define classof to be able to use isa < >, cast < >, dyn_cast < >, etc.

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

Parameters

const llvm::DDGNode* N

static bool classof(const llvm::SimpleDDGNode* N)

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

Parameters

const llvm::SimpleDDGNode* N

llvm::Instruction* getFirstInstruction() const

Description

Get the first/last instruction in the node.

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

const llvm::DDGNode::InstructionListType&
getInstructions() const

Description

Get the list of instructions in this node.

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

llvm::DDGNode::InstructionListType&
getInstructions()

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

llvm::Instruction* getLastInstruction() const

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

~SimpleDDGNode()

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