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
- public SimpleDDGNode()
- public SimpleDDGNode(llvm::Instruction & I)
- public SimpleDDGNode(const llvm::SimpleDDGNode & N)
- public SimpleDDGNode(llvm::SimpleDDGNode && N)
- private void appendInstructions(const llvm::DDGNode::InstructionListType & Input)
- private void appendInstructions(const llvm::SimpleDDGNode & Input)
- public static bool classof(const llvm::DDGNode * N)
- public static bool classof(const llvm::SimpleDDGNode * N)
- public llvm::Instruction * getFirstInstruction() const
- public const llvm::DDGNode::InstructionListType & getInstructions() const
- public llvm::DDGNode::InstructionListType & getInstructions()
- public llvm::Instruction * getLastInstruction() const
- public ~SimpleDDGNode()
Inherited from DDGNode:
Methods
¶SimpleDDGNode()
SimpleDDGNode()
Declared at: llvm/include/llvm/Analysis/DDG.h:112
¶SimpleDDGNode(llvm::Instruction& I)
SimpleDDGNode(llvm::Instruction& I)
Declared at: llvm/include/llvm/Analysis/DDG.h:113
Parameters
¶SimpleDDGNode(const llvm::SimpleDDGNode& N)
SimpleDDGNode(const llvm::SimpleDDGNode& N)
Declared at: llvm/include/llvm/Analysis/DDG.h:114
Parameters
- const llvm::SimpleDDGNode& N
¶SimpleDDGNode(llvm::SimpleDDGNode&& N)
SimpleDDGNode(llvm::SimpleDDGNode&& N)
Declared at: llvm/include/llvm/Analysis/DDG.h:115
Parameters
¶void appendInstructions(
const llvm::DDGNode::InstructionListType&
Input)
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)
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)
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)
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
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
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()
llvm::DDGNode::InstructionListType&
getInstructions()
Declared at: llvm/include/llvm/Analysis/DDG.h:131
¶llvm::Instruction* getLastInstruction() const
llvm::Instruction* getLastInstruction() const
Declared at: llvm/include/llvm/Analysis/DDG.h:138
¶~SimpleDDGNode()
~SimpleDDGNode()
Declared at: llvm/include/llvm/Analysis/DDG.h:116